selenium v4.12正式版本發(fā)布!速看需要了解的內(nèi)容!

目前selenium的最新版本是v4.1.2(截止到2022年3月7日),看了一下v4.0.0到v4.1.2的升級變化,發(fā)現(xiàn)selenium4正式版與 rc版本相比,核心功能并沒有發(fā)生變化,主要變化的內(nèi)容總結(jié)出以下兩點(diǎn):

1. 對CDP協(xié)議高版本的不斷支持,關(guān)于cdp協(xié)議,可以參考文章

使用ChromeDevTools協(xié)議編寫自己的ChromeDriver

2. Selenium Grid的bug修復(fù) 以及穩(wěn)定性的提升

備注:關(guān)于v4.1.2中新增的功能Add new desktop cast command for Chromium,查了一下就是chrome的投屏功能,涉及的自動(dòng)化測試場景應(yīng)該非常有限。

如果大家想要了解Selenium4.0的重要功能變化情況,可以看一下我之前寫的文章:

重磅!自動(dòng)化測試工程師必看!selenium4 RC版本正式發(fā)布!

v4.0.0到v4.1.2的升級變化的詳細(xì)信息如下:

v4.1.2

======

* Supported CDP versions: 85, 95, 96, 97

* Add new desktop cast command for Chromium

* BugFix: Update toJson() method creationfor integer type in CdpClientGenerator

* Fix Javadocs FluentWait's sample usagewrt durations

* [grid] Throw ServerBindException whenserver cannot start due to network issues

* Add support for CDP Chrome 97

* Throw error when using custom clientconfig with local driver

* Adding a builder() to all drivers togenerate the correct default options instance

* Use class' class loader when looking up`HttpClient` factory

* Remove max duration value to allowretries during network connection failures

* allow setting a different keyboard orpointer for actions on input devices

* [grid] Guarding how the server readsparameters to keep it stable

* Remove connection timeout setter, astatic 10s value is used

* [grid] Getting session requests from thequeue faster

* [grid] Reworking how new session requestsare processed, querying queue only

?when Grid has availability

* [grid] Fix added missing quotation marksin examples (cli help)

* Replace deprecated OpenTelemetrySdk creationAPI

* [grid] Improving Node health checkexecution

* [grid] Adding back support for unixdomain sockets

* Allow disabling tracing inRemoteWebDriver

* Replace dynamic proxy with ByteBuddy forWebDriverDecorator

* Log Timestamp flag added


v4.1.1

======


* Supported CDP versions: 85, 94, 95, 96

* Allow custom tracing to integrate withexisting OpenTelemetry tracing

* Avoiding NoClassDefFoundError by waitingfor completion of already started tasks

* use addon parameter with base64 encodinginstead of path parameter

?that requires using file detector and upload

* support installing temporary addon inFirefox

* Remove references to opera_blink infavour of opera

* BugFix: Handle null parameters inTracedCommandExecutor

* BugFix: Following redirects by default inHttpClient

* BugFix: Forwarding CDP/BiDi connectionsto the container in Dynamic Grid

* BugFix: Do not log screenshots payload indebug mode

* BugFix: Mapping Slot fields properly forjson payloads

* BugFix: Configuring relay service via CLI

* BugFix: Adding a "bind-host"flag to start Grid properly when the

?server cannot bind to the host, fixes this for environments like Docker


v4.1.0

======


* Supported CDP versions: 85, 94, 95, 96

* Removed USE_CHROMIUM from EdgeOptions asnew Edge is the default

* [grid] Fixed command completion for ZSHwhen using the Selenium Server

* Pass WebDriver instead of Loggable toallow augmentation of HasLogEvents

* [grid] Using a random port when"-1" is set as port number for the Selenium Server

* Handle Json parsing error such thatfuture messages are not blocked

* [grid] Fix host option

* Changing type of extraInfo from HashMapto ConcurrentHasMap to avoid

?ConcurrentModificationException while reading exception message byparallel threads

* Add retry http request filter fortransient errors.

* Fix Javadoc code block formatting

* [grid] Using non-loopback address whendefault config is used

* Fix classloading error in host identifier

* Split OpenTelemetry command in order tofacilitate search by tags


v4.0.0

======


* Supported CDP versions: 85, 93, 94, 95

* Improved "relay" servicedescription in help

* Switch to different JCIP annotations forApache 2 license

* Deprecated USE_CHROMIUM so we can removeit after 4.0

* Add a --hub flag for the Node

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容