SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. SeleniumLibrary 6.2.0 is a new release with compatibility fixes for recent selenium versions and some bug fixes.
If you have pip installed, just run
pip install --upgrade robotframework-seleniumlibrary
to install the latest available release or use
pip install robotframework-seleniumlibrary==6.2.0
to install exactly this version. Alternatively you can download the source distribution from PyPI and install it manually.
SeleniumLibrary 6.2.0 was released on Friday November 24, 2023. SeleniumLibrary supports Python 3.8 through 3.11, Selenium 4.12.0 through 4.15.2 and Robot Framework 5.0.1 and 6.1.1.
- Remove deprecated headless option for chrome and firefox. (#1858)
If one specified either
headlesschrome
orheadlessfirefox
as the browser within the Open Browser keyword, then the library would handle setting this option with the underlying Selenium driver. But the methods to do so were depracted and then removed in Selenium v4.13.0. Thus one was not getting a headless browser in these instances. This resolves that issue. - Resolve issue with service log_path now log_output. (#1870) Selenium changed the arguments for the service log within v4.13.0. This change allows for a seamless usage across versions before and after v4.13.0.
- Execute JavaScript converts arguments to strings with robot==6.1 (#1843)
If any ARGUMENTS were passed into either the
Execute Javascript
orExecute Async Javascript
then they were converted to strings even if they were of some other type. This has been corrected within this release.
I want to thank the following for helping to get out this release,
- René Rohner for pointing out that Create Webdriver had a mutable default value (#1817)
- Kieran Trautwein for resolving the issue with deprecated headless option for chrome and firefox. (#1858)
- Nicholas Bollweg for assisting in resolving the issue with service log_path now log_output. (#1870)
- Igor Kozyrenko for reporting the argument issue with Execute JavaScript and `René Rohner <https://github.com/Snooz82>`_for resolving it. (`#1843`_)
- Robin Matz for improving the documentation on page load timeout (#1821)
- Dor Blayzer for reporting and fixing the SeleniumLibrary CI badge. ()
and Yuri Verweij, Lisa Crispin, and Tatu Aalto.
ID | Type | Priority | Summary |
---|---|---|---|
#1817 | bug | critical | Create Webdriver has mutable default value |
#1858 | bug | critical | Remove deprecated headless option for chrome and firefox. |
#1870 | bug | critical | Resolve issue with service log_path now log_output. |
#1843 | bug | high | Execute JavaScript converts arguments to strings with robot==6.1 |
#1821 | enhancement | medium | Improve documentation on page load timeout |
#1872 | --- | medium | fix: Selenium CI badge show wrong status |
Altogether 6 issues. View on the issue tracker.