Detailed Changelogs by Component
Java | Python | DotNet | Ruby | JavaScript | IEDriver
What's Changed
Click to see all the changes included in this release
- [dotnet] Add nullability annotations to print types by @RenderMichael in #14773
- [dotnet] Propagate
IWebDriver.GetAttribute
obsoletion toWebDriver
by @RenderMichael in #14802 - [py] Revert the Deprecation warnings of WebElement.get_attribute() by @VietND96 in #14808
- [py] Fix
pyproject.toml
for installable from sdist by @VietND96 in #14806 - [java]: encapsulate
additionalCommands
with getter method by @navin772 in #14816 - [dotnet] Add nullability annotations to
ShadowRoot
by @RenderMichael in #14812 - [dotnet] Fix
WebDriver.AuthenticatorId
by @RenderMichael in #14814 - [dotnet] Add future-proofing note on
Base64UrlEncoder
by @RenderMichael in #14821 - [java] SpotBugs exclude
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
from thefirefox.AddHasExtensions$1
by @mk868 in #14766 - [py] fix packaging by @benoit-pierre in #14823
- [bazel] Bump
rules_jvm_external
to 6.6 and use the maven resolver by @shs96c in #14829 - [dotnet] Add nullable reference annotations to
Platform
by @RenderMichael in #14834 - [dotnet] Fix Virtual Authenticator removal, annotate NRT by @RenderMichael in #14822
- [dotnet] Annotate Nullable Reference Types on
OpenQA.Selenium.Internal
by @RenderMichael in #14840 - [dotnet] Annotate nullable reference types in internal logging by @RenderMichael in #14819
- [rb] Add tests for the cookie named, and updates type by @aguspe in #14843
- [rb] Update note for return value of Hash by @luke-hill in #14845
- [rust] xz uncompressor for Firefox Linux nightlies by @bgermann in #14832
- [java] Enhance Null Check in Exception Handling by @iampopovich in #14810
- [py] Typing package import enhancement by @iampopovich in #14283
- [py] Moved Rust binary settings to
pyproject.toml
fromsetup.py
by @sandeepsuryaprasad in #14837 - [java] SpotBugs exclude
DMI_HARDCODED_ABSOLUTE_FILENAME
by @mk868 in #14597 - [java]Replace lambdas with method references by @iampopovich in #14857
- [ci] Update script pinned_browsers for changes in Edge API product fetch by @VietND96 in #14865
- [py] moved all getters in
fedcm/account.py
into descriptor object. by @sandeepsuryaprasad in #14858 - [dotnet] Migrate NUnit assertions to
Assert.That
syntax by @RenderMichael in #14853 - [dotnet] Address warnings with
ActionSequence.inputDevice
by @RenderMichael in #14848 - [dotnet] Migrate remaining NUnit assertions to
Assert.That
andHas.Count
by @RenderMichael in #14870 - [dotnet] Add nullability annotations to
Proxy
by @RenderMichael in #14861 - [dotnet] Modernize
Response
type by @RenderMichael in #14839 - [dotnet] Add nullability to Logs API by @RenderMichael in #14875
- [py] add execute_cdp_cmd to Remote by @Delta456 in #14809
- [java] SpotBugs exclude
IS2_INCONSISTENT_SYNC
form theSeleniumManager
by @mk868 in #14768 - [java] Enable SpotBugs for java_export by @mk868 in #14882
- [dotnet] Add nullability to
CookieJar
by @RenderMichael in #14874 - [dotnet] Refactor away private constructor from
Response
by @RenderMichael in #14877 - [dotnet] Add nullability to
Alert
s by @RenderMichael in #14669 - [selenium manager]: fix edge artifact deserialisation by @Delta456 in #14859
- [grid] decrement the connection per session counter on close #14842 by @joerg1985 in #14854
- [bazel]: Bump
rules_protobuf
to avoid warning aboutmaven
namespace by @shs96c in #14891 - [bazel]: Prepare for bump of
rules_closure
by @shs96c in #14890 - [bazel] Switch to rules_closure 0.12.0 by @shs96c in #14895
- [rb] BiDi Network: add_request_handler, remove_request_handler, clear_request_handlers by @aguspe in #14751
- [rust] Use file lock to protect concurrent accesses to cache by @bonigarcia in #14898
- [java]: better span name for
TracedCommandExecutor
by @navin772 in #14902 - Updated renovate.json to add correct commitMessagePrefix by @DineshKumarRA in #14709
- [dotnet] Correct assertion of struct type in internal tests by @RenderMichael in #14878
- [dotnet] Add nullability annotations to
SessionId
by @RenderMichael in #14841 - add
locators.html
file in static web pages by @navin772 in #14905 - [java] setter for flag JsonInput.readPerformed by @iampopovich in #14921
- [grid] Distributor listen and handle the NodeRestartedEvent by @VietND96 in #14938
- [grid] delay the newsessionqueue response by @joerg1985 in #14764
- [java] Fix FedCM command definition by @cbiesinger in #14070
- [grid] Improve SlotMatcher and SlotSelector on request browserVersion by @VietND96 in #14914
- [dotnet] Align webdriver errors with spec by @RenderMichael in #14936
- [dotnet] Add nullability to
IniFileReader
by @RenderMichael in #14929 - [java] for loop enhance and using of standard java 11 method writeString for tests by @iampopovich in #14889
- [java] reuse the classes created by the WebDriverDecorator #14789 by @joerg1985 in #14793
- Added more detailed docstrings to find_element() by @shbenzer in #14930
- [py] Refactored
remote/client_config.py
by movingproperties
intodescriptor
object by @sandeepsuryaprasad in #14899 - [dotnet] Annotate nullability on command repository by @RenderMichael in #14888
- [dotnet] Revert deprecation of GetAttribute method by @nvborisenko in #14956
- [dotnet] Annotate
DriverServiceCommandExecutor
for nullability by @RenderMichael in #14942 - py: Ensure DRIVER_PATH_ENV_KEY defaults to string by @lauromoura in #14862
- [dotnet] Do not intercept exceptions from
ICommandExecutor.ExecuteAsync
by @RenderMichael in #14892 - [py] remove xfail attr for firefox and safari for cookie tests by @Delta456 in #14794
- [java] Added a check for intentionally existing loggers by @JHeflinger in #14754
- [java] JSpecify annotations for immutable models and enums by @mk868 in #14395
- [java] JSpecify annotations for wrappers by @mk868 in #14396
- [grid] rework the retry of http requests #14917 by @joerg1985 in #14924
- [grid] ensure --drain-after-session-count is respected with a lot of sessions in the queue by @joerg1985 in #14987
- [py] add doc for driver_path_env_key by @Delta456 in #14997
- [grid] retry if no node does support the Capabilities by @joerg1985 in #14986
- [py] remove xfail_remote for cookie test by @Delta456 in #14995
- [js][grid] Fix dependency novnc v1.5.0 by @VietND96 in #15005
- [grid] stop the health check of a restarted node by @joerg1985 in #15011
- [grid-ui] Fix bazel build by @harsha509 in #15014
- [dotnet] Move
Response
constructors towards immutability by @RenderMichael in #14998 - [js] Add Federated Credential Management support by @pujagani in #15008
- Added rangeStrategy to renovate file by @DineshKumarRA in #15027
- [grid]: platformName is empty should be considered as enum ANY instead of WINDOWS by @VietND96 in #15036
- [dotnet] Switch DevTools response JSON parsing to
JsonElement
by @RenderMichael in #14990 - [py] Fix WebKitGTK driver name check by @lauromoura in #15046
- [java] rawtypes javac warning fix for AbstractDriverOptions by @iampopovich in #15048
- [dotnet] Fix current version of
IgnoreTargetAttribute
in test suite by @RenderMichael in #15051 - [dotnet] Utilize dedicated WebDriver Spec endpoint to get named cookie by @nvborisenko in #14957
- [java]: allow setting custom timeout for DevTools by @navin772 in #14931
- [dotnet] Tolerate invalid UTF-16 strings in DevTools JSON response by @RenderMichael in #14972
- [dotnet] Fix logging issue when log context level conflicts with logger already captured level by @nvborisenko in #15057
- [dotnet] Apply formatting on internal CDP generator by @RenderMichael in #15049
- [rb] Update Jruby to version 9.4.9.0 by @aguspe in #14791
- [grid] Dynamic Grid is able to trigger video record in browser node by @VietND96 in #15047
- [java] Nullness annotations for Cookie and Platform by @mk868 in #15062
- [dotnet] Move devtools generator to
System.Text.Json
, update to .NET 8 by @RenderMichael in #15061 - [dotnet] Safari driver supports /status endpoint by @nvborisenko in #15066
- [JS] Specify Node.js engine version as 22.x LTS in package.json by @harsha509 in #15058
- [py] Update supported Python versions 3.9+ by @VietND96 in #15018
- [dotnet] Guard for cookie deletion when name is empty by @nvborisenko in #15074
- [dotnet] Modernize code style in the devtools source generator by @RenderMichael in #15067
- [java] Replace anonymous types with lambdas by @iampopovich in #15043
- [py] Upgraded WebDriverWait Docstrings by @shbenzer in #15054
- [dotnet] Add nullability to
FirefoxExtension
by @RenderMichael in #14964 - [py] Added Docstrings to ActionBuilder by @shbenzer in #15065
- [py] Upgraded WebElement Docstrings by @shbenzer in #15056
- [py] Upgraded WebDriver Docstrings by @shbenzer in #15055
- [dotnet] Improve dependency update developer experience by @RenderMichael in #15086
- [dotnet] Start adding nullable reference type annotations to the
Support
package by @RenderMichael in #14779 - Allow sending DevTools command with custom timeout. by @dennisoelkers in #15059
- [java] Add nullness for Require by @mk868 in #15084
- [java] Add nullness for net by @mk868 in #15083
- [java] Add nullness for virtualauthenticator by @mk868 in #15082
- [dotnet] Finish nullability annotations on
Support
package by @RenderMichael in #15089 - [java] Add nullness for exceptions by @mk868 in #15081
- [java] Add nullness for interactions by @mk868 in #15095
- [dotnet] Finalize nullability in internal devtools generator by @RenderMichael in #15088
- [java][js][py] Straight relative-by locators by @AdamPDotty in #14482
- [java] Add nullness for Proxy and print by @mk868 in #15094
- [py] Added Docstrings to RelativeBy Class and Added Missing Deprecation Warning to with_tag_name() by @shbenzer in #15097
- Add NumberFormatException when the port isn't correctly formatted for Firefox, Edge and Chrome Drivers by @MustafaAgamy in #14946
- [py] Fixed Incorrect Tabbing in DocStrings by @shbenzer in #15096
- [dotnet] Annotate nullable reference types on
ActionBuilder
by @RenderMichael in #14844 - [dotnet] Remove extra/unnecessary binaries from git by @nvborisenko in #15063
- [dotnet] Annotate nullability on
HttpCommandExecutor
aside fromResponse
by @RenderMichael in #14871 - [dotnet] Obsolete setters and constructors on
Response
that are not conducive to immutability by @RenderMichael in #15107 - [dotnet] Fix generation of public static html documentation by @nvborisenko in #15111
- [py] Added Docstrings to ExpectedConditions Class by @shbenzer in #15077
- [py] Added Docstrings to By Class by @shbenzer in #15102
- Use tax.xz for Firefox package starting in version 135 in pinned browsers by @DineshKumarRA in #15115
- [java]: Fix the message from NumberFormatException by @VietND96 in #15116
- [java] Add nullness for enums by @mk868 in #15105
- [java] Add nullness for logging by @mk868 in #15108
- [java] Add nullness for interactions v2 by @mk868 in #15106
- [js] remove duplicate file by @harsha509 in #15103
New Contributors
- @benoit-pierre made their first contribution in #14823
- @DineshKumarRA made their first contribution in #14709
- @JHeflinger made their first contribution in #14754
Full Changelog: selenium-4.27.0...selenium-4.28.0