|
| 1 | +===================== |
| 2 | +SeleniumLibrary 4.1.0 |
| 3 | +===================== |
| 4 | + |
| 5 | + |
| 6 | +.. default-role:: code |
| 7 | + |
| 8 | + |
| 9 | +SeleniumLibrary_ is a web testing library for `Robot Framework`_ that utilizes |
| 10 | +the Selenium_ tool internally. SeleniumLibrary 4.1.0 is a new release with |
| 11 | +making URL argument optional in Open Browser keyword and allowing configuring |
| 12 | +how Click Element keyword clicks the element. There are two major fixes in the |
| 13 | +release, Table related keywords did search elements also outside of the table |
| 14 | +and if output directory contained { and } characters the Open Browser and Capture * |
| 15 | +Screenshot keywords would fail. |
| 16 | + |
| 17 | + |
| 18 | +All issues targeted for SeleniumLibrary v4.1.0 can be found |
| 19 | +from the `issue tracker`_. |
| 20 | + |
| 21 | +If you have pip_ installed, just run |
| 22 | + |
| 23 | +:: |
| 24 | + |
| 25 | + pip install --upgrade robotframework-seleniumlibrary |
| 26 | + |
| 27 | +to install the latest available release or use |
| 28 | + |
| 29 | +:: |
| 30 | + |
| 31 | + pip install robotframework-seleniumlibrary==4.1.0 |
| 32 | + |
| 33 | +to install exactly this version. Alternatively you can download the source |
| 34 | +distribution from PyPI_ and install it manually. |
| 35 | + |
| 36 | +SeleniumLibrary 4.1.0 was released on Sunday October 20, 2019. SeleniumLibrary supports |
| 37 | +Python 2.7 and 3.5+, Selenium 3.8.2 and Robot Framework 3.0.4 and 3.1.2. |
| 38 | + |
| 39 | +.. _Robot Framework: http://robotframework.org |
| 40 | +.. _SeleniumLibrary: https://github.com/robotframework/SeleniumLibrary |
| 41 | +.. _Selenium: http://seleniumhq.org |
| 42 | +.. _pip: http://pip-installer.org |
| 43 | +.. _PyPI: https://pypi.python.org/pypi/robotframework-seleniumlibrary |
| 44 | +.. _issue tracker: https://github.com/robotframework/SeleniumLibrary/issues?q=milestone%3Av4.1.0 |
| 45 | + |
| 46 | + |
| 47 | +.. contents:: |
| 48 | + :depth: 2 |
| 49 | + :local: |
| 50 | + |
| 51 | +Most important enhancements |
| 52 | +=========================== |
| 53 | + |
| 54 | +"Table Should Contain" does not work properly (`#1482`_, rc 1) |
| 55 | +-------------------------------------------------------------- |
| 56 | +The Table Header Should Contain , Table Footer Should Contain and Table Should Contain |
| 57 | +keywords also searched from whole page and not only from the table. This also caused |
| 58 | +performance hit, if the page contained lots of elements. |
| 59 | + |
| 60 | +Many thanks for Pawci3oo spotting the problem. |
| 61 | + |
| 62 | +Drop Python 3.4 support in SeleniumLibrary 4.1 (`#1409`_, rc 1) |
| 63 | +--------------------------------------------------------------- |
| 64 | +SeleniumLibrary 4.1 has dropped support for Python 3.4, because Python 3.4 is in |
| 65 | +end of life. |
| 66 | + |
| 67 | +SeleniumLibrary aims to raise minimum supported Python 3.6 and it is likely next |
| 68 | +major release drops support for Python 3.5. At least Python 3.5 support is dropped |
| 69 | +when Python 3.5 reaches end of life in 2020. |
| 70 | + |
| 71 | +Acknowledgements |
| 72 | +================ |
| 73 | + |
| 74 | +Update Open Browser keyword documentation to better demonstrate how to use Selenium options (`#1461`_, rc 1) |
| 75 | +------------------------------------------------------------------------------------------------------------ |
| 76 | +Open Browser keyword documentation was updated to provide better examples how to use |
| 77 | +Selenium Options. Many thanks to JonKoser for providing the PR. |
| 78 | + |
| 79 | +Should have an ActionChain click for Click Element keyword (`#1463`_, rc 1) |
| 80 | +--------------------------------------------------------------------------- |
| 81 | +Click Element now also supports clicking element with ActionChain click. This is |
| 82 | +configurable option in the keyword and must be enabled with the action_chain argument. |
| 83 | + |
| 84 | +Many thanks to JonKoser for providing the PR. |
| 85 | + |
| 86 | +Users should not be required to define a URL to Open Browser keyword. (`#1464`_, rc 1) |
| 87 | +-------------------------------------------------------------------------------------- |
| 88 | +The url argument is not optional in the Open Browser keyword. This helps users who |
| 89 | +do not want to navigate browser when the browser is opened. |
| 90 | + |
| 91 | +Many thanks to JonKoser for providing the PR. |
| 92 | + |
| 93 | + |
| 94 | +Full list of fixes and enhancements |
| 95 | +=================================== |
| 96 | + |
| 97 | +.. list-table:: |
| 98 | + :header-rows: 1 |
| 99 | + |
| 100 | + * - ID |
| 101 | + - Type |
| 102 | + - Priority |
| 103 | + - Summary |
| 104 | + - Added |
| 105 | + * - `#1482`_ |
| 106 | + - bug |
| 107 | + - critical |
| 108 | + - "Table Should Contain" does not work properly |
| 109 | + - rc 1 |
| 110 | + * - `#1409`_ |
| 111 | + - enhancement |
| 112 | + - high |
| 113 | + - Drop Python 3.4 support in SeleniumLibrary 4.1 |
| 114 | + - rc 1 |
| 115 | + * - `#1452`_ |
| 116 | + - bug |
| 117 | + - medium |
| 118 | + - If output dir contains multiple { and } characters pairs, then opening browser with Firefox will fail. |
| 119 | + - rc 1 |
| 120 | + * - `#1461`_ |
| 121 | + - enhancement |
| 122 | + - medium |
| 123 | + - Update Open Browser keyword documentation to better demonstrate how to use Selenium options |
| 124 | + - rc 1 |
| 125 | + * - `#1463`_ |
| 126 | + - enhancement |
| 127 | + - medium |
| 128 | + - Should have an ActionChain click for Click Element keyword |
| 129 | + - rc 1 |
| 130 | + * - `#1464`_ |
| 131 | + - enhancement |
| 132 | + - medium |
| 133 | + - Users should not be required to define a URL to Open Browser keyword. |
| 134 | + - rc 1 |
| 135 | + |
| 136 | +Altogether 6 issues. View on the `issue tracker <https://github.com/robotframework/SeleniumLibrary/issues?q=milestone%3Av4.1.0>`__. |
| 137 | + |
| 138 | +.. _#1482: https://github.com/robotframework/SeleniumLibrary/issues/1482 |
| 139 | +.. _#1409: https://github.com/robotframework/SeleniumLibrary/issues/1409 |
| 140 | +.. _#1452: https://github.com/robotframework/SeleniumLibrary/issues/1452 |
| 141 | +.. _#1461: https://github.com/robotframework/SeleniumLibrary/issues/1461 |
| 142 | +.. _#1463: https://github.com/robotframework/SeleniumLibrary/issues/1463 |
| 143 | +.. _#1464: https://github.com/robotframework/SeleniumLibrary/issues/1464 |
0 commit comments