Skip to content
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

Closed
sanjeethmallesh opened this issue Nov 9, 2018 · 6 comments

Comments

@sanjeethmallesh
Copy link

System

  • Version: 0.23.0
  • Platform: Windows
  • Firefox: 63.0.1
  • Selenium: 3.9.0
  • nodeJS: v8.9.4
  • webdriverio: 4.12.0

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 of implicit, pageLoad, script at line 1 column 5
Build 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.

@andreastt
Copy link
Contributor

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.

@whimboo
Copy link
Collaborator

whimboo commented Nov 9, 2018

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.

@whimboo
Copy link
Collaborator

whimboo commented Nov 14, 2018

Btw I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1507283 for a possible more relaxed deserialization.

@andreastt
Copy link
Contributor

See also #1422 (comment) that a specification change is required.

@whimboo
Copy link
Collaborator

whimboo commented Nov 16, 2018

This is actually a dupe of issue #1422. So lets continue the discussion on that other issue.

@lock
Copy link

lock bot commented Aug 16, 2019

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.

@lock lock bot locked and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants