Skip to content

SeleniumLibrary 3.0.0 Alpha 2.

Pre-release
Pre-release
Compare
Choose a tag to compare
@aaltat aaltat released this 25 Aug 13:20
· 1231 commits to master since this release

New features

Python support

The major new enhancements are for the SeleniumLibrary 3.0.0 alpha 2 are the Python 3 support. For Python 2 we have dropped 2.6 support in the SeleniumLibrary, but we will support Python 2.7 in the foreseen future. The SeleniumLibrary 3.0.0 alpha 2 has been tested with Python 3.3 and Python 3.6.

Project was renamed from Selenium2Library to SeleniumLibrary

Because Selenium version was updated to version three, the old name was not anymore describing what the library supports. Therefore is was decided to rename the Selenium2Library to SeleniumLibrary.

New architecture

The SeleniumLibrary has new architecture, which relies on the PythonLibCore. The old multi inheritance madness is gone and is replaced with cleaner and more separated modules. Also the previous releases used the Static library API from Robot Framework, but the new release uses Dynamic library API.

Required Robot Framework version

The minimum required Robot Framework version has been increased to 2.8.7 #703

New keyword: Element Should Be Focused

There is new keyword to check that element has a focus. #851

The Get List Items keyword to return labels or values

The keyword returns the labels or values in the select list identified by locator. #722

Support for Boolean arguments as strings.

Now the SeleniumLibrary support Boolean arguments also as strings. More details in the #719 and in the documentation Boolean arguments chapter.

Support for class strategy for locators

All selectors can not use class as strategy when selecting element with locator. #673

HTML5 specialized text fields not recognized as text fields

Support HTML5 specialized text fields where added to several keywords. #546

New keyword Get Log was implemented

There is not possibility to capture browser logs with Get Log keyword. #574

The Get Element Attribute keyword was enhanced to support WebElements as selectors

In earlier releases the Get Element Attribute keyword did not support WebElements as selectors. Now the keyword has been enhanced and the requested attribute can be given as separate argument. #404

Also there has been numerous smaller and bigger fixes since the 1.8.0 release. All the issue fixed in the release can be seen from the issue tracker