Closed stof closed 5 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).
Refs #84
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).