Skip to content

SeleniumLibrary 6.4.0

Latest
Compare
Choose a tag to compare
@emanlove emanlove released this 22 May 12:39
· 52 commits to master since this release

SeleniumLibrary 6.4.0 is a new release with enhancements around driver configuration and logging, printing pages as pdf, and some bug fixes. SeleniumLibrary supports Python 3.8 through 3.11, Selenium 4.16.0 through 4.21.0 and
Robot Framework 5.0.1, 6.1.1 and 7.0.

Most important enhancements

Add new selenium 4 print page as PDF functionality (#1824)
The print page as pdf functionality within Selenium 4 has been added into SeleniumLibrary
with a new keyword. See the keyword documentation for usage.

Add driver Service Class into Open Browser (#1900)
Selenium has shifted from a couple arguments for configuring the driver settings into the new
Service class. As with the options argument these changes allows for service class to be set
using a simlar string format. More information can be found in the Open Browser keyword
documentation and newly rearranged Introduction.

Add warning about frame deselection when using Page Should Contain keyword. (#1894)
In searching through the page, the Page Should Contain keyword will select and search
through frames. Thus it silently changes the frame context. Added warning within the keyword
documentation noting as such.

Wrong Type Hint on some keywords. (#1880)
Several type hints on locator arguments denoted the argument allowed for none when indeed
they did not. This corrects those type hints.

Deprecated features

Start Deprecation and Removal of Selenium2Library (deep) references/package (#1826)
Removed references and instructions regarding Selenium2Library; moving some to an archived
VERSIONS.rst top level documentation.

Acknowledgements

  • We would like to thank René Rohner for discovering the incorrect type hints on some keywords. (locator: Union[WebElement, None, str]) (#1880)
  • SamMaksymyshyn, Yuri Verweij and Lisa Crispin for helping to model and design the new print page as PDF functionality (#1824)
  • Tatu Aalto for modeling and reviewing the added driver Service Class into Open Browser (#1900)
  • I want to thank Eman for pointing out that I wanted deprecate and not devalue the Selenium2Library. I also want to thank everyone in their persistence to push me to start deprecating the Selenium2Library package (#1826)
  • .. and Tatu for fixing the internal test run on Mac (#1899)

See full details in release notes