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

UnknownCommandError for Logs #370

Closed
gauntface opened this issue Nov 29, 2016 · 2 comments
Closed

UnknownCommandError for Logs #370

gauntface opened this issue Nov 29, 2016 · 2 comments

Comments

@gauntface
Copy link

In selenium-webdriver JavaScript SDK, accessing the logs like so:

seleniumDriver.manage().logs().get(webdriver.logging.Type.BROWSER);

Results in the following error:

UnknownCommandError: POST /session/17726311-462f-4d1e-935b-583fe421090a/log did not match a known command
      at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:477:11)
      at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:499:15)
      at doSend.then.response (node_modules/selenium-webdriver/lib/http.js:440:13)
      at process._tickCallback (internal/process/next_tick.js:103:7)
  From: Task: WebDriver.manage().logs().get(browser)
      at Driver.schedule (node_modules/selenium-webdriver/lib/webdriver.js:816:17)
      at Logs.get (node_modules/selenium-webdriver/lib/webdriver.js:1642:25)
@jgraham
Copy link
Member

jgraham commented Nov 30, 2016

#284

@jgraham jgraham closed this as completed Nov 30, 2016
@lock
Copy link

lock bot commented Aug 17, 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 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants