Skip to content

Latest commit

 

History

History
140 lines (109 loc) · 4.96 KB

SeleniumLibrary-3.1.0a2.rst

File metadata and controls

140 lines (109 loc) · 4.96 KB

SeleniumLibrary 3.1.0a2

SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. SeleniumLibrary 3.1.0a2 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. There is one difference compared to the Alpha 1 release, for many keywords that checks a text in element, it is now possible to ignore the text case.

All issues targeted for SeleniumLibrary v3.1.0 can be found from the issue tracker.

If you have pip installed, just run

pip install --pre --upgrade robotframework-seleniumlibrary

to install the latest available release or use

pip install robotframework-seleniumlibrary==3.1.0a2

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

SeleniumLibrary 3.1.0a2 was released on Tuesday February 13, 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 Added
#1014 enhancement critical Add option to start browser headless in Open Browser keyword alpha 1
#1007 enhancement high Document how to extend the library alpha 1
#1042 enhancement medium Add Message attribute to the Page Title Should Be function alpha 1
#550 enhancement medium Allow Open Browser keyword to pass capabilities also for local browsers alpha 1
#849 enhancement medium Verify string regardless of case alpha 2
#1036 enhancement low Remove deprecated browser attribute from the library public API. alpha 1
#1040 enhancement low Move WebDriverCache and WebDriverCreator under same module alpha 1

Altogether 7 issues. View on the issue tracker.