Closed silvenon closed 7 years ago
I'm aware that Selenium errors are next to impossible to figure out
not true š
in case someone has a similar problem or maybe even found a solution.
This is not an issue. This happens when a selenium server is already running on port 4444. It fails to start. All WebdriverIO hooks are designed to not break the test flow. So only an error is shown in the output but it didn't affect your test.
I often get this error message when running tests via the test runner (or programmatically) with
browserName: 'phantomjs'
:I didn't notice a pattern for this, but still tests run correctly anyway. If I change
browserName
tofirefox
, Firefox starts, does nothing for a longer while, then closes. WebdriverIO outputs nothing, no test report, error message or anything.Then (because I like breaking things) I tried uninstalling the selenium-standalone service and removing it from the config, now I didn't see the failure output, everything else was the same. I tried changing
browserName: 'phantomjs'
tofirefox
, same thing. Then triedbrowserName: 'foo'
and still the same. The output even saidRunning: foo
. šI'm aware that Selenium errors are next to impossible to figure out, I just wanted to have this issue on the GitHubs in case someone has a similar problem or maybe even found a solution.