My environment:
- Mac OSX 10.12.6
- webdriverio(using the test runner i.e., wdio)(
"webdriverio": "^4.9.11"
) - Cucumber framework (
"wdio-cucumber-framework": "^1.0.3"
) - Using
WDIO Selenium Standalone Service
help to start the selenium service automatically.("wdio-selenium-standalone-service": "0.0.10"
) - firefox(version: 52)
I am able to successfully run the tests on chrome browser(version: 65) but when it comes to firefox i always get connection refused
error.
More details:
In the wdio config file i have mentioned firefox
as browserName. Once the test is started firefox launches and it stays on the "New Tab" page. It does not navigate to the URL.
After some time(like: 60 secs later), In the wdio logs i can see ERROR: connection refused
. Additionally the firefox also does not quit in the end.
NOTE: The same test works fine if change the browserName
to chrome
.
WDIO Config file capabilities part:
...capabilities: [{
maxInstances: 5,
//
browserName: 'firefox',
marionette: true,
}],...