$echo '{
< "userAgent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36",
< "maxRequestRetries": 0,
< "sessionConfig": {
< "storageName": "login-sessions",
< "maxAgeSecs": 3600,
< "maxUsageCount": 100,
< "maxPoolSize": 100
< },
< "steps": [
< {
< "username": {
< "selector": "input#email"
< },
< "password": {
< "selector": "input#pass"
< },
< "submit": {
< "selector": "input[type=\\"submit\\"]"
< },
< "failed": {
< "selector": "[role=\\"alert\\"]"
< },
< "waitForMillis": 5000
< }
< ],
< "cookieDomains": [],
< "gotoTimeout": 30,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "extraUrlPatterns": []
<}' |
<apify call pocesar/login-session --silent --output-dataset