instaclick / php-webdriver

W3C and Selenium 2 webdriver "thin client" for php 5.3+ and namespaces.
Other
436 stars 62 forks source link

Expose whether a session is using W3C or JsonWire #86

Closed stof closed 5 years ago

stof commented 6 years ago

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 https://github.com/facebook/php-webdriver/pull/560#issuecomment-420652231 and the next comment).

stof commented 5 years ago

Refs #84