# Selenium Standalone 6.7 issue This error occurs when running selenium-standalone@6.7.0 with the webdriverio's standalone service (most recent version). "wdio-selenium-standalone-service": "~0.0.9", ## To repro * install npm, node 01H5G8WPacclocal:test bills$ node -v v7.10.0 01H5G8WPacclocal:test bills$ npm -v 4.2.0 * cd test-selenium-standalone * npm install * node_modules/.bin/wdio * **Expect**: no errors * **Actual**: errors ``` 01H5G8WPacclocal:test bills$ npm install selenium-standalone test@1.0.1 /Users/bills/git/test └── selenium-standalone@6.7.0 npm WARN test@1.0.1 No repository field. 01H5G8WPacclocal:test bills$ wdio [12:42:42] COMMAND POST "/wd/hub/session" [12:42:42] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","chromeOptions":{"args":["disable-infobars","incognito"],"mobileEmulation":{"deviceMetrics":{"width":360,"height":640,"pixelRatio":3},"userAgent":"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36"}},"platform_tag":"","build":"defaultbuild 2017-8-18 13:00","tunnelIdentifier":"pandora.fciis.net","loggingPrefs":{"browser":"ALL","driver":"ALL"},"_":"1 more keys: [\"requestOrigins\"]"}} ERROR: unknown error: cannot parse capability: chromeOptions from unknown error: cannot parse mobileEmulation from unknown error: 'width' must be an integer (Driver info: chromedriver=2.31.488774 (7e15618d1bf16df8bf0ecf2914ed1964a387ba0b),platform=Mac OS X 10.11.6 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 32 milliseconds Build info: version: '3.5.0', revision: '8def36e068', time: '2017-08-10T23:00:22.093Z' System info: host: '01H5G8WPacclocal.local', ip: '207.66.231.212', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_111' Driver info: driver.version: unknown chrome Error ``` ## Prove it works in selenium-standalone@6.6.0 * edit package.json --- replace selenium-standalone@6.7.0 -> selenium-standalone@6.6.0 * npm install selenium-standalone * wdio * **Expect**: no errors * **Actual**: no errors ``` 01H5G8WPacclocal:test bills$ npm install selenium-standalone test@1.0.1 /Users/bills/git/test └── selenium-standalone@6.6.0 npm WARN test@1.0.1 No repository field. 01H5G8WPacclocal:test bills$ wdio [12:51:16] COMMAND POST "/wd/hub/session" [12:51:16] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","chromeOptions":{"args":["disable-infobars","incognito"],"mobileEmulation":{"deviceMetrics":{"width":360,"height":640,"pixelRatio":3},"userAgent":"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36"}},"platform_tag":"","build":"defaultbuild 2017-8-18 13:00","tunnelIdentifier":"pandora.fciis.net","loggingPrefs":{"browser":"ALL","driver":"ALL"},"_":"1 more keys: [\"requestOrigins\"]"}} [12:51:18] INFO SET SESSION ID 2292a059-a204-4f3d-a59e-ee99b977f3bd [12:51:18] RESULT {"mobileEmulationEnabled":true,"hasTouchScreen":true,"platform":"MAC","acceptSslCerts":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"setWindowRect":true,"unexpectedAlertBehaviour":"","applicationCacheEnabled":false,"rotatable":false,"networkConnectionEnabled":true,"chrome":{"chromedriverVersion":"2.31.488774 (7e15618d1bf16df8bf0ecf2914ed1964a387ba0b)","userDataDir":"/var/folders/4g/pkjhwt757jn5y18v5dsldw2r0000gp/T/.org.chromium.Chromium.R2MvnK"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","unhandledPromptBehavior":"","databaseEnabled":false,"handlesAlerts":true,"version":"60.0.3112.101","browserConnectionEnabled":false,"nativeEvents":true,"webdriver.remote.sessionid":"2292a059-a204-4f3d-a59e-ee99b977f3bd","locationContextEnabled":true,"cssSelectorsEnabled":true} [12:51:18] COMMAND POST "/wd/hub/session/2292a059-a204-4f3d-a59e-ee99b977f3bd/url" [12:51:18] DATA {"url":"http://www.google.com/"} [12:51:18] COMMAND DELETE "/wd/hub/session/2292a059-a204-4f3d-a59e-ee99b977f3bd" [12:51:18] DATA {} ```