Skip to content

Latest commit

 

History

History
127 lines (101 loc) · 5.06 KB

SeleniumLibrary-6.4.0.rst

File metadata and controls

127 lines (101 loc) · 5.06 KB

SeleniumLibrary 6.4.0

SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. SeleniumLibrary 6.4.0 is a new release with enhancements around driver configuration and logging, printing pages as pdf, 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.4.0

to install exactly this version. Alternatively you can download the source distribution from PyPI and install it manually.

SeleniumLibrary 6.4.0 was released on Wednesday May 22, 2024. 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.

  • 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. (locator: Union[WebElement, None, str]) (#1880) Several type hints on locator arguments denoted the argument allowed for none when indeed they did not. This corrects those type hints.
  • 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.
  • 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)
ID Type Priority Summary
#1880 bug high Wrong Type Hint on some keywords. (locator: Union[WebElement, None, str])
#1824 enhancement high Add new selenium 4 print page as PDF functionality
#1894 enhancement high Add warning about frame deselection when using Page Should Contain keyword.
#1900 enhancement high Add driver Service Class into Open Browser
#1826 --- high Start Deprecation and Removal of Selenium2Library (deep) references/package
#1899 --- --- Make test run on Mac

Altogether 6 issues. View on the issue tracker.