Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Log endpoints are not part of official Webdriver API #123

Open
johanbrandhorst opened this issue Sep 2, 2017 · 2 comments
Open

Log endpoints are not part of official Webdriver API #123

johanbrandhorst opened this issue Sep 2, 2017 · 2 comments
Labels

Comments

@johanbrandhorst
Copy link

Hi,

I was investigating an issue with not being able to get browser logs from a firefox session and discovered that the /session/<uid>/log API implemented by ChromeDriver (and others?) is not part of the official WebDriver API spec (yet?).

I found mozilla/geckodriver#330 while browsing around, which seems to indicate that the issue is being dealt with in w3c/webdriver#406, but it appears there's still no clear decision on what to do for the official spec.

So, since it's not supported by the official API, should it stay? It doesn't work with my firefox session and may well only be supported by ChromeDriver (and maybe PhantomJS?).

@sclevine
Copy link
Owner

sclevine commented Sep 5, 2017

Hi @johanbrandhorst,

This is because /session/:sessionId/log and /session/:sessionId/log/types were present in Selenium's initial draft for the the spec.

Let's not change the agouti/api package until there's an official decision. We can work around differences in the webdrivers in the agouti package.

@johanbrandhorst
Copy link
Author

Sounds good, would we return an error for firefox clients then? It currently spits out a 404 when I try to use the log call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants