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

Expose whether a session is using W3C or JsonWire #86

Closed
stof opened this issue Sep 24, 2018 · 1 comment
Closed

Expose whether a session is using W3C or JsonWire #86

stof opened this issue Sep 24, 2018 · 1 comment

Comments

@stof
Copy link
Contributor

stof commented Sep 24, 2018

As this package does not abstract the differences between the W3C and JsonWire protocols, but instead relies on callers to use the right APIs, the session should expose whether it is using the W3C or JsonWire protocol.

The return value of the call opening a session allows to identify the protocol thanks to differences between them (see discussion in php-webdriver/php-webdriver#560 (comment) and the next comment).

@stof
Copy link
Contributor Author

stof commented Oct 3, 2018

Refs #84

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

No branches or pull requests

1 participant