Previously, I successfully ran automation tests on Firefox and Chrome locally. However, there seems to be an issue that has arisen when trying to run them on Chrome recently.
My system configurations:
- Operating System: Windows 10 (64-bit)
- Chrome Version: 58
- Node.js Version: 6.10.3
The specific error I'm encountering in the console while attempting to execute Chrome is:
ERROR: An unknown server-side error occurred while processing the command. (UnknownError:13) Chrome
.
Additionally, in the selenium-server console, I noticed this message:
os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: driver.version: unknown
Furthermore, the following details were logged:
Executing: [new session: Capabilities [{rotatable=true, seleniumProtocol=WebDriver, locationContextEnabled=true, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@8ac8f23, browserName=chrome, javascriptEnabled=true, chromeOptions={args=[--start-maximized, --start-fullscreen]}, handlesAlerts=true, maxInstances=1, requestOrigins={name**=webdriverio, version=4.6.2**, url=}}]]) INFO - Creating a new session for Capabilities [{rotatable=true, seleniumProtocol=WebDriver, locationContextEnabled=true, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@, browserName=chrome, javascriptEnabled=true, chromeOptions={args=[--start-maximized, --start-fullscreen]}, handlesAlerts=true, maxInstances=1, requestOrigins={name=webdriverio, version=4.6.2, url=}}] ERROR - org.apache.commons.exec.ExecuteException: Process exited with an error: -1073741819 (Exit value: -1073741819) WARN - Exception thrown
The testing framework being used is WebdriverIO, and the test scripts are authored in JavaScript.
Contents of package.json:
dependencies": {
"chai": "3.5.0",
"chai-as-promised": "6.0.0",
... (remaining content omitted for brevity)
After deleting the node_modules directory and reinstalling via npm locally, the problem persisted.
Interestingly, switching from Chrome to Firefox in the wdio.config.js file allows Firefox to run without issues. A colleague using the same Chrome version faced no such problems.
The console displays webdriverio, version=4.6.2
, which differs from the version specified in package.json. Should I opt for an alternative version or pursue another course of action?
Appreciate any insights or advice.
UPDATE: wdio config file
pastebin com/Jd9WrH7B