Selenium JSON Wire Protocol 与 Webdriver Wire Protocol 比较

9
1个回答

15
以下是已更改的命名约定:
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的版本历史在另一个问题中有详细说明。
参考资料

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接