I have seen that theJSON Wire Protocol
is obsolete and the Webdriver Wire Protocol
is the new implementation.
I want to understand what changes to implement in the Webdriver Wire Protocol
and how it is different from the JSON Wire Protocol
?
Here are the naming conventions that have changed:
JSON Wire Protocol WebDriver Wire Protocol version browserVersion platform platformName noProxy noproxy UnknownCommand unknown command NoSuchFrame no such frame NoSuchElement no such element StaleElementReference stale element reference ElementIsNotSelectable element not selectable JavaScriptError javascript error Timeout timeout NoSuchWindow no such window InvalidCookieDomain invalid cookie domain ScriptTimeout script timeout SessionNotCreatedException session not created MoveTargetOutOfBounds move target out of bounds NoAlertOpenError no such alert InvalidElementCoordinates invalid coordinates stackTrace stacktrace
Error codes and data structures have changed as well. See references for implementation details.
Version history of both APIs is detailed in another question.
References
Relationships between different versions of Selenium - Yi Zeng
Selenium Changelog
Selenium Issue #3551: Wire Protocol Documentation Issues
W3C Living Document: WebDriver Protocol
Selenium Wiki: JSON Wire Protocol
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With