Есть xvfb и последний стабильный Chrome
Операционная система Debian
wdio.conf.js настройки
desiredCapabilities: {
browserName: process.env.BROWSER || 'chrome',
chromeOptions: {
args: [
'--no-sandbox',
],
prefs: {
'download.default_directory': __dirname + '/tmp/test/download',
'download.prompt_for_download': false
}
}
},
[10:17:21] COMMAND POST "/wd/hub/session"
[10:17:21] DATA {"desiredCapabilities":{"browserName":"chrome","version":"","javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platform":"ANY","chromeOptions":{"args":["--no-sandbox"],"prefs":{"download.default_directory":"/app/tmp/test/download","download.prompt_for_download":false}},"loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"3.4.1","name":"webdriverio"}}}
Child Worker is ready 10022 id: 2
Master Worker is ready
Result of cron task "updating users online status" { online: 0, away: 0, offline: 0 }
[10:17:38] SET SESSION ID 4f7668a9-a8db-4662-b1f9-5f86bc496e59
[10:17:38] RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":true,"chrome":{"chromedriverVersion":"2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5)","userDataDir":"/tmp/.org.chromium.Chromium.BtrXAQ"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","unhandledPromptBehavior":"","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":true,"version":"58.0.3029.81","platform":"LINUX","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"4f7668a9-a8db-4662-b1f9-5f86bc496e59","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true,"unexpectedAlertBehaviour":""}
[10:17:38] COMMAND POST "/wd/hub/session/4f7668a9-a8db-4662-b1f9-5f86bc496e59/timeouts/async_script"
[10:17:38] DATA {"ms":240000}
[10:17:38] RESULT null
[10:17:38] COMMAND POST "/wd/hub/session"
[10:17:38] DATA {"desiredCapabilities":{"browserName":"chrome","version":"","javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platform":"ANY","chromeOptions":{"args":["--no-sandbox"],"prefs":{"download.default_directory":"/app/tmp/test/download","download.prompt_for_download":false}},"loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"3.4.1","name":"webdriverio"}}}
[10:17:39] SET SESSION ID 618305d0-22d2-44cc-bc70-6e7152a45efd
[10:17:39] RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":true,"chrome":{"chromedriverVersion":"2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5)","userDataDir":"/tmp/.org.chromium.Chromium.Yi7eOu"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","unhandledPromptBehavior":"","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":true,"version":"58.0.3029.81","platform":"LINUX","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"618305d0-22d2-44cc-bc70-6e7152a45efd","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true,"unexpectedAlertBehaviour":""}
[10:17:39] COMMAND POST "/wd/hub/session/618305d0-22d2-44cc-bc70-6e7152a45efd/timeouts/async_script"
[10:17:39] DATA {"ms":240000}
[10:17:39] RESULT null
В чем может быть проблема?