New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webdriverio: timeouts('implicit', 5000) returns "Error: Remote end send an unknown status code" #1420
Comments
It’s hard to tell without an overview of the wire calls made by webdriverio (a trace-level log from geckodriver), but this is likely a problem in webdriverio and not geckodriver. |
The problem is that you are using the webdriverio timeouts API incorrectly. Two arguments only work for the non-spec variant of the driver, which geckodriver doesn't support. |
Btw I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1507283 for a possible more relaxed deserialization. |
See also #1422 (comment) that a specification change is required. |
This is actually a dupe of issue #1422. So lets continue the discussion on that other issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Testcase
On webdriverIO, for the statement
browser.timeouts('implicit', 5000);
the response is "Error: Remote end send an unknown status code"http://webdriver.io/guide/testrunner/timeouts.html
same goes to
browser.timeouts('script', 60000);
,browser.timeouts('pageLoad', 10000);
Stacktrace
[firefox #0-0] unknown field
ms
, expected one ofimplicit
,pageLoad
,script
at line 1 column 5Build info: version: '3.9.0', revision: '698b3178f0', time: '2018-02-05T14:56:13.134Z'
System info: host: 'XXXX', ip: 'XX.XX.XX.XX', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_181'
Driver info: driver.version: unknown
[firefox #0-0] Error: Remote end send an unknown status code.
[firefox #0-0] at timeouts("implicit", 5000) - at D:\XXX\node_modules\wdio-sync\build\index.js:316:3
[firefox #0-0]
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: