Skip to content

Latest commit

 

History

History
126 lines (97 loc) · 4.58 KB

SeleniumLibrary-3.1.0.rst

File metadata and controls

126 lines (97 loc) · 4.58 KB

SeleniumLibrary 3.1.0

SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. SeleniumLibrary 3.1.0 is a new pre release with support for headless Chrome and Firefox and and allows to pass desired capabilities to local browsers also when using Open Browser keyword.

If you have pip installed, just run

pip install --upgrade robotframework-seleniumlibrary

to install the latest available release or use

pip install robotframework-seleniumlibrary==3.1.0

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

SeleniumLibrary 3.1.0 was released on Thursday February 15, 2018.

Add option to start browser headless in Open Browser keyword (#1014, alpha 1)

The Open Browser keyword supports starting Chrome and Firefox browsers in headless mode. This can done be setting the browser argument to headlessfirefox or headlesschrome values. Using the headless mode requires Selenium 3.8.0 or greater.

Allow Open Browser keyword to pass capabilities also for local browsers (#550, alpha 1)

The Open Browser keyword desired_capabilities argument can now be used to configure a browser when starting a local browser. In the previous releases, the desired_capabilities argument was used only when the remote_url argument was provided. Now this now is changed and desired_capabilities argument can be also used to configure browser running locally.

Remove deprecated browser attribute from the library public API. (#1036, alpha 1)

During the 3.0.0 prerelease phase, we did changed some of the public API arguments names. But we wanted to provide backwards support for the early adopters by keeping some of the old public API attributes in place. This attribute was deprecated during prereleases and it should have been removed during the 3.0.0 final release, but that was forgotten. The browser public API attribute is now removed in this release.

Many thanks to rubygeek for adding a message param to Title Should Be keyword to display custom error message.

Many thanks to rubygeek, for providing the PR for the ignore case enhancement.

ID Type Priority Summary
#1014 enhancement critical Add option to start browser headless in Open Browser keyword
#1007 enhancement high Document how to extend the library
#1042 enhancement medium Add Message attribute to the Page Title Should Be function
#550 enhancement medium Allow Open Browser keyword to pass capabilities also for local browsers
#849 enhancement medium Verify string regardless of case
#1036 enhancement low Remove deprecated browser attribute from the library public API.
#1040 enhancement low Move WebDriverCache and WebDriverCreator under same module

Altogether 7 issues. View on the issue tracker.