[英]Selenium JSON Wire Protocol vs Webdriver Wire Protocol
我已經看到JSON Wire Protocol
已經過時, Webdriver Wire Protocol
是新的實現。
我想了解在Webdriver Wire Protocol
實現哪些更改以及它與JSON Wire Protocol
不同之處?
以下是已更改的命名約定:
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
錯誤代碼和數據結構也發生了變化。 有關實現細節,請參閱參考
兩個API的版本歷史記錄在另一個問題中詳述。
參考
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.