





























WebDriver is a remote control interface that enables introspection and control of user agents. As such it can help developers to verify that their websites are working and performing well with all major browsers. The protocol is standardized by the W3C and consists of two separate specifications: WebDriver classic (HTTP) and the new WebDriver BiDi (Bi-Directional).
This newsletter gives an overview of the work we’ve done as part of the Firefox 146 release cycle.
Firefox is an open source project, and we are always happy to receive external code contributions to our WebDriver implementation. We want to give special thanks to everyone who filed issues, bugs and submitted patches.
In Firefox 146 Khalid AlHaddad, who had already contributed to the previous release, submitted two new bug fixes:
switch_to_parent_frame method to the WebDriver Classic Python client.switch_frame method to switch_to_frame for consistency with the WebDriver specification.WebDriver code is written in JavaScript, Python, and Rust so any web developer can contribute! Read how to setup the work environment and check the list of mentored issues for Marionette, or the list of mentored JavaScript bugs for WebDriver BiDi. Join our chatroom if you need any help to get started!
emulation.setLocaleOverride command to override the return value of navigator.language and navigator.languages alongside JS APIs.emulation.setLocaleOverride and emulation.setTimezoneOverride commands reset behavior to match recent specification changes. When calling this command to reset the override for a specific browsing context, overrides configured for a user context owning this browsing context will still apply.context locator to the browsingContext.locateNodes command, which allows to retrieve the container of non-top-level browsing contexts, such as iframe elements.network.setExtraHeaders command, which can be used to specify request headers which will be automatically added to requests triggered in the provided browsing contexts or user contexts.network.addDataCollector, network.getData and network.disownData) to support the request data type, which allows to collect and retrieve request post data.network.getData to also support requests using the data: scheme.network.getData which was not throwing the expected no such network data error for unsupported requests.WebDriver:GetElementText that caused text containing accented characters (e.g., “ó”) to be incorrectly capitalized.WebFrame JSON deserialization that incorrectly raised a no such window error instead of no such frame when handling invalid frames.此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。