Skip to content

Update dependency robotframework-seleniumlibrary to v6.7.1 #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 4, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
robotframework-seleniumlibrary ==6.1.0 -> ==6.7.1 age adoption passing confidence

Release Notes

robotframework/SeleniumLibrary (robotframework-seleniumlibrary)

v6.7.1: SeleniumLibrary 6.7.1

Compare Source

SeleniumLibrary 6.7.1 is a new release minor change to downgrade requirments on the click dependency.
SeleniumLibrary supports Python 3.8 through 3.13, Selenium 4.21.0 through 4.24.0 and Robot Framework 6.1.1 and 7.1.1.

Changes
  • Downgrade the requirement on click to click>=8.0. (#​1932)
Acknowledgements

I want to thank Oliver Boehmer for raising up this issue and Pekka Klärck and Tatu Aalto for
consultation and review. (#​1932)

See full details in release notes

v6.7.0: SeleniumLibrary 6.7.0

Compare Source

SeleniumLibrary 6.7.0 is a new release which adds Python 3.13 support and a few other enhancements and bug fixes.
SeleniumLibrary supports Python 3.8 through 3.13, Selenium 4.21.0 through 4.24.0 and Robot Framework 6.1.1 and 7.1.1.
(This release was tested with Robot Framework v7.2rc1 and was deemed compatible. We will officially support v7.2 on
the next release.)

Most important enhancement
  • Fixed _find_by_data_locator when more than one colon was within the locator. If one
    used the data strategy and the locator had additional colon in it the locator parser
    would incorrectly parse the locator. This has been fixed in this release. (#​1924)
  • Make SeleniumLibrary support one or more translations from same localization project (#​1917)
  • Support for Python version 3.13
Acknowledgements

We want to thank

See full details in release notes

[Update 25 Jan, 2025 - Corrected supported Robot Framework version. It should have been 7.1.1 and not 7.0.1. This was an editorial issue. Also added note about our testing of this release against the release candidate for the yet to be released 7.2 final release.]

v6.6.1: SeleniumLibrary 6.6.1

Compare Source

SeleniumLibrary 6.6.1 is a new release which adds Python 3.12 support. SeleniumLibrary supports
Python 3.8 through 3.12, Selenium 4.24.0 through 4.27.1 and Robot Framework 6.1.1 and 7.1.1.

Most important enhancement (and only one)

Added support for Python 3.12 (#​1906)
Support for Python 3.12 was added in this release. In addition we added Robot Framework 7.0.1
while dropping 5.0.1 which did not officially support Python 3.12. In addition with the almost
monthly releases of Selenium we have caught up testing against and supporting Selenium versions
4.21.0, 4.22.0, 4.23.1, and 4.24.0.

Acknowledgements

See full details in release notes

v6.6.0

Compare Source

v6.5.0

Compare Source

v6.4.0: SeleniumLibrary 6.4.0

Compare Source

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

v6.3.0: SeleniumLibrary 6.3.0

Compare Source

SeleniumLibrary 6.3.0 is a new release with enhancements including minimizing browser window, waiting on expected conditions, getting element attribute or properties and bug fixes. 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.

Most important enhancements

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 (https://saucelabs.com/resources/blog/selenium-4-new-element-attribute-and-property-methods) 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.

Acknowledgements
  • Luciano Martorella for 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.

See full details in release notes

v6.2.0: SeleniumLibrary 6.2.0

Compare Source

SeleniumLibrary 6.2.0 is a new release with compatibility fixes for recent selenium versions and some bug fixes. 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.

Most important enhancements

Remove deprecated headless option for chrome and firefox. (#​1858)

If one specified either headlesschrome or headlessfirefox 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 deprecated 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. (#​1843)

If any ARGUMENTS were passed into either the Execute Javascript or Execute Async Javascript then they were converted to strings even if they were of some other type. This has been corrected within this release.

Acknowledgements

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 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.

See full details in release notes

v6.1.3: SeleniumLibrary 6.1.3

Compare Source

SeleniumLibrary 6.1.3 is a hotfix release that fixes an issue with remote browsers when options are not provided.

SeleniumLibrary 6.1.3 was released on Thursday October 12, 2023. SeleniumLibrary supports Python 3.8+, Selenium 4.3+ and Robot Framework 4.1.3 or higher.

Most important enhancements

Remote browser fails when no options provided (#​1855)

For several of the remote browsers we need to initialize the options if none are provided. In addition the deprecated and removed from selenium desired_capabilities have been removed from SeleniumLibrary v6.1.3.

Acknowledgements

I want to thank Tero Lempiäinen for pointing out this issue (#​1855)

See full details in release notes

v6.1.2: SeleniumLibrary 6.1.2

Compare Source

SeleniumLibrary 6.1.2 is a hotfix release focused on bug fixes for setting configuration options when using a remote Edge or Safari Browser. More information is given below.

SeleniumLibrary 6.1.2 was released on Saturday September 9, 2023. SeleniumLibrary supports Python 3.7+, Selenium 4.3+ and Robot Framework 4.1.3 or higher.

Most important enhancements

Missing "Options" setup in EDGE browser for remote url execution

The browser options if given within the Open Browser or Create WebDriver keyword were not being passed to either a remote Edge or remote Safari browser. This has been fixed within this release.

See full details in release notes

v6.1.1: SeleniumLibrary 6.1.1

Compare Source

SeleniumLibrary 6.1.1 is a hotfix release with one bug fix - the incompatablitilty with Selenium v4.10.0+. More information is given below.

SeleniumLibrary 6.1.1 was released on Friday August 4, 2023. SeleniumLibrary supports Python 3.7+, Selenium 4.3.0 or higher and Robot Framework 4.1.3 or higher.

Most important enhancements

Fixed Selenium v4.10.0+ Incompatibility
Selenium v4.10.0 removed code that was labeled as deprecated which we did not catch before the release. As such it broke code particular around how the Open Browser keyword calls into selenium. This release is a targeted change to resolve that conflict. In particular if one is using a few particular arguments with the Open Browser keyword then it is recommended you verify you get the same results as before. Some of these you should not need to make any changes as we make those internally. But others we completely removed and you with need to update to get the same functionality. Let me walk through those argument now ..

If you use the service_log_path and/or executable_path argument, these are now passed different to the webdriver creation. We have strong confidence this was done properly but still want to be transparent a change was made there. If you find something amiss please open a support ticket.

If you use Firefox and the ff_profile_dir argument, this is now attached first to the options structure and passed along to the webdriver creation via options. Again for most users you should not see any issues. If, by chance, you are already setting the profile via options (ie Open Browser None Firefox options=profile=/path/to/profile/dir) and through the ff_profile_dir then you will get unexpected operation. I suspect the ff_profile_dir will overwride the other; but that is just a guess. Don't try to set it in two places at once. I recognize the change of profile into the options structure complicates the argument structure here (for example what is you want to pass a profile object?). It is not my intention nor do I even attempt to address that here. If you do use Firefox profiles and have some thoughts on how we can improve this, please reach out.

If you use desired_capabilities they are deprecated and removed completely by Selenium. SeleniumLibrary just ignores that you passed them in. We will, most likely in the next release just remove that argument, but I wanted to ease you into this as best as I could. This is not the place for a tutorial on what has been the way to do this but you can find plenty about that on either Selenium Grid documentation or vendors like SauceLabs or BrowserStack.

Finally if you do do anything beyond the basic Open Browser someUrl someBrowser it would be worthwhile that with this release you get similar expected results as with the previous 6.1.0 release. If you see some browser configuration settings that are not resulting in previous usage and can prove this release has something in error please raise a ticket.

See full details in release notes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.1.1 Update dependency robotframework-seleniumlibrary to v6.1.2 Sep 9, 2023
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from e225f9d to c0165fe Compare September 9, 2023 23:25
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from c0165fe to ab59ec3 Compare October 12, 2023 15:44
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.1.2 Update dependency robotframework-seleniumlibrary to v6.1.3 Oct 12, 2023
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.1.3 Update dependency robotframework-seleniumlibrary to v6.2.0 Nov 25, 2023
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from ab59ec3 to c293e41 Compare November 25, 2023 04:06
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from c293e41 to 77f47f0 Compare April 19, 2024 14:07
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.2.0 Update dependency robotframework-seleniumlibrary to v6.3.0 Apr 19, 2024
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from 77f47f0 to 2a59fef Compare May 22, 2024 13:37
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.3.0 Update dependency robotframework-seleniumlibrary to v6.4.0 May 22, 2024
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from 2a59fef to ab37183 Compare June 15, 2024 21:20
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.4.0 Update dependency robotframework-seleniumlibrary to v6.5.0 Jun 15, 2024
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from ab37183 to 6cc9baa Compare September 6, 2024 21:03
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.5.0 Update dependency robotframework-seleniumlibrary to v6.6.1 Sep 6, 2024
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from 6cc9baa to a279668 Compare January 6, 2025 16:44
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.6.1 Update dependency robotframework-seleniumlibrary to v6.7.0 Jan 6, 2025
@renovate renovate bot force-pushed the renovate/robotframework-seleniumlibrary-6.x branch from a279668 to 0fdec15 Compare February 27, 2025 02:47
@renovate renovate bot changed the title Update dependency robotframework-seleniumlibrary to v6.7.0 Update dependency robotframework-seleniumlibrary to v6.7.1 Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants