webdriverio-boneyard / wdio-selenium-standalone-service

WebdriverIO v4 service to start & stop Selenium Standalone http://webdriver.io
MIT License
54 stars 28 forks source link

wdio-selenium-standalone-service v0.0.10 loads browserName phantomJS with chrome driver and fails #43

Closed jlchereau closed 6 years ago

jlchereau commented 6 years ago

Note: The issue might be with https://github.com/vvo/selenium-standalone v6.13.0 and is reported at https://github.com/vvo/selenium-standalone/issues/349

[09:22:28]  COMMAND POST     "/wd/hub/session"
[09:22:28]  DATA        {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":5,"browserName":"phantomjs","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.12.0","name":"webdriverio"}}}
ERROR: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.14.12-041412-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.12 seconds
Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:32.194Z'
System info: host: 'travis-job-memba-memba-blog-352740868', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.12-041412-generic', java.version: '1.8.0_151'
Driver info: driver.version: unknown
phantomjs
    at new RuntimeError (/home/travis/build/Memba/Memba-Blog/node_modules/webdriverio/build/lib/utils/ErrorHandler.js:144:12)
    at Request._callback (/home/travis/build/Memba/Memba-Blog/node_modules/webdriverio/build/lib/utils/RequestHandler.js:316:39)
    at Request.self.callback (/home/travis/build/Memba/Memba-Blog/node_modules/webdriverio/node_modules/request/request.js:186:22)
    at Request.emit (events.js:180:13)
    at Request.emit (domain.js:421:20)
    at Request.<anonymous> (/home/travis/build/Memba/Memba-Blog/node_modules/webdriverio/node_modules/request/request.js:1163:10)
    at Request.emit (events.js:180:13)
    at Request.emit (domain.js:421:20)
    at IncomingMessage.<anonymous> (/home/travis/build/Memba/Memba-Blog/node_modules/webdriverio/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:272:13)

Full log at https://travis-ci.org/Memba/Memba-Blog/jobs/352740868 Config at https://github.com/Memba/Memba-Blog/blob/master/wdio.conf.js