Skip to content

Releases: robotframework/SeleniumLibrary

SeleniumLibrary 3.0.0 Beta 1

01 Sep 19:00
Compare
Choose a tag to compare
Pre-release

New features

This release beta release does not contain any new features compared to Alpha 2

Fixes

There was bug in package creation when the Alpha 2 release was created. The bug was created when the project was renamed from Selenium2Library to SeleniumLibrary and not properly changing the name in all places. In the Alpha 2 the Firefox profile was not included in the SeleniumLibrary package and this caused the error seen in the #878

SeleniumLibrary 3.0.0 Alpha 2.

25 Aug 13:20
Compare
Choose a tag to compare
Pre-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

v1.8.0

25 Aug 20:07
Compare
Choose a tag to compare
  • Moved keyword documentation to: http://robotframework.org/Selenium2Library/Selenium2Library.html
  • Library demo project was removed, users shoud use demo from: https://bitbucket.org/robotframework/webdemo
  • docutils was removed as installation dependency.
  • Edge browser support was added to Open Browser keyword [jfx].
  • Unselect From List keyword was updated because selenium 2.53.0 or greater raised an exception if item can not be unselected.
  • Get Element Size keyword was added [SergiuTudos]
  • Alert handling was improved to wait alert be present
  • Capture Page Screenshot keyword was enhanced to support custom index definition in the filename

v1.7.4

26 Aug 18:32
Compare
Choose a tag to compare

This release reverts the changes made in 1.7.3 for the Press Key keyword. People were depending on the ability to use Press Key to type a string of characters which was an undocumented and untested feature.

Tests and documentation have now been added for that feature. The named keys functionality which was release in 1.7.3 will be reworked and re-released in 1.8.

1.7.3 Release

11 Aug 20:08
Compare
Choose a tag to compare

This is a pretty small release that mostly fixes some backwards compatibility issues.

Changes

  • Added Get WebElement Keyword
  • Added named keys to Press Key
  • Fix an import error that caused a dependence on RF >= 2.8.5
  • Fixed an issue that caused screenshots to be improperly linked in the logs

1.7.2 Release

22 Jul 19:21
Compare
Choose a tag to compare

This release introduces a few new keywords and contains an important fix for the latest selenium release. As always, if you find any issues let us know.

Changes

  • Added an argument called screenshot_root_directory that can be passed into S2L's
    constructor to specify where to store screenshots.
  • Added new keyword set screenshot directory which can be used to set the output
    of screenshots.
  • Added new keyword Input Text Into Prompt
  • Modified get alert message to accept a parameter dismiss (defaults to True) which can be
    used to prevent closing the alert message and instead will just return the alerts text.
    Also created new keyword dismiss alert to dismiss (default) or confirm the alert without
    reading the text of the alert. Expect cleanup of alert keywords in the future.
  • Added new keyword Input Text Into Prompt
  • Fixed an error where regular functions were not able to be used as a custom locator
  • Changed all test files to have a '.robot' extension

Important Fixes

  • Fixed issue that caused tests to fail when selenium > 2.26

1.7.1 Release

18 Jun 23:12
Compare
Choose a tag to compare

This update is simply a hotfix to support RF 2.9a.

1.7 Release

05 Jun 21:55
Compare
Choose a tag to compare
Merge pull request #425 from zephraph/1.7-release

Update docs for 1.7 release