Skip to content

Latest commit

 

History

History
136 lines (106 loc) · 5.2 KB

SeleniumLibrary-6.3.0.rst

File metadata and controls

136 lines (106 loc) · 5.2 KB

SeleniumLibrary 6.3.0

SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. SeleniumLibrary 6.3.0 is a new release with enhancements including minimizing browesr window, waiting on expected conditions, getting element attribute or properties and 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.3.0

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

SeleniumLibrary 6.3.0 was released on Friday April 19, 2024. SeleniumLibrary supports Python 3.8 through 3.11, Selenium 4.14.0 through 4.19.0 and Robot Framework 5.0.1, 6.1.1 and 7.0.

  • Added Minimize Browser Window keyword (#1741) New keyword which minimizes the current browser window.

  • Add keywords to fetch differentiated element Attribute or Property (#1822) The older Get Element Attribute keyword uses the Selenium getAttribute() method which, as this SauceLabs article describes "did not actually retrieve the Attribute value." Instead it "figured out what the user was most likely interested in between the Attribute value and the Property values and returned it." This would mean sometimes it might return an unexpected result. Selenium 4 introduced newer methods which returns either the attribute or the property as specifically asked for.

    It is recommend that one transition to these newer Get DOM Attribute and Get Property keywords.

  • Incorporate the expected conditions of Selenium (#1827) A new keyword that allows for one to wait on an expected condition.

  • Remove deprecation of Press Key keyword (#1892) The Press Keys keyword was introduced to replace Press Key. Press Key in turn was deprecated but I (Ed Manlove) failed to remove. Its been noted that both keywords use different underlying methods for sending or pressing keys and either one will work in differing situations. So instead of removing Press Key, it has been reinstated as a library keyword.

  • Luciano Martorella contributing the new minimize keyword (#1741)
  • Yuri Verweij and Lisa Crispin for reviewing changes and additions to Attribute or Property keywords (#1822)
  • Noam Manos for reporting the issues where the Open Browser 'Options' object has no attribute '' (#1877)
  • Yuri for helping update the contribution guide (#1881)
  • All those who have commented on the deprecation of Press Key keyword (#1892)
  • Yuri and Lisa for assisting with the addition of Wait For Expected Condition keyword and for the Robot Framework Foundation for the ecosystem support (#1827)

and Yuri Verweij, Lisa Crispin, and Tatu Aalto for their continued support of the library development.

ID Type Priority Summary
#1741 enhancement high Added minimize keyword
#1822 enhancement high Add keywords to fetch differentiated element Attribute or Property
#1827 enhancement high Incorporate the expected conditions of Selenium
#1892 --- high Remove deprecation of Press Key keyword
#1877 enhancement medium Open Browser 'Options' object has no attribute ''
#1881 --- medium Update contribution guide
#1841 --- --- Update maintainers and email within setup.py

Altogether 7 issues. View on the issue tracker.