|
| 1 | +======================= |
| 2 | +SeleniumLibrary 3.1.0a1 |
| 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 3.1.0a1 is a new pre release with |
| 11 | +support for headless Chrome and Firefox and and allows to pass desired capabilities |
| 12 | +to local browsers also when using `Open Browser` keyword. |
| 13 | + |
| 14 | +All issues targeted for SeleniumLibrary v3.1.0 can be found |
| 15 | +from the `issue tracker`_. |
| 16 | + |
| 17 | + |
| 18 | +If you have pip_ installed, just run |
| 19 | + |
| 20 | +:: |
| 21 | + |
| 22 | + pip install --pre --upgrade robotframework-seleniumlibrary |
| 23 | + |
| 24 | +to install the latest available release or use |
| 25 | + |
| 26 | +:: |
| 27 | + |
| 28 | + pip install robotframework-seleniumlibrary==3.1.0a1 |
| 29 | + |
| 30 | +to install exactly this version. Alternatively you can download the source |
| 31 | +distribution from PyPI_ and install it manually. |
| 32 | + |
| 33 | +.. _Robot Framework: http://robotframework.org |
| 34 | +.. _SeleniumLibrary: https://github.com/robotframework/SeleniumLibrary |
| 35 | +.. _Selenium: http://seleniumhq.org |
| 36 | +.. _pip: http://pip-installer.org |
| 37 | +.. _PyPI: https://pypi.python.org/pypi/robotframework-seleniumlibrary |
| 38 | +.. _issue tracker: https://github.com/robotframework/SeleniumLibrary/issues?q=milestone%3Av3.1.0 |
| 39 | + |
| 40 | + |
| 41 | +.. contents:: |
| 42 | + :depth: 2 |
| 43 | + :local: |
| 44 | + |
| 45 | +Most important enhancements |
| 46 | +=========================== |
| 47 | + |
| 48 | +Add option to start browser headless in Open Browser keyword (`#1014`_, alpha 1) |
| 49 | +-------------------------------------------------------------------------------- |
| 50 | +The `Open Browser` keyword supports starting Chrome and Firefox browsers in headless |
| 51 | +mode. This can done be setting the `browser` argument to `headlessfirefox` or |
| 52 | +`headlesschrome` values. |
| 53 | + |
| 54 | + |
| 55 | +Backwards incompatible changes |
| 56 | +============================== |
| 57 | + |
| 58 | +Allow Open Browser keyword to pass capabilities also for local browsers (`#550`_, alpha 1) |
| 59 | +------------------------------------------------------------------------------------------ |
| 60 | +The `Open Browser` keyword `desired_capabilities` argument can now be used to configure |
| 61 | +a browser when starting a local browser. In the previous releases, the `desired_capabilities` |
| 62 | +argument was only used when also the `remote_url` argument was provided. Now this is changed |
| 63 | +and `desired_capabilities` argument can be also used configure the browser when running |
| 64 | +locally. |
| 65 | + |
| 66 | +Remove deprecated browser attribute from the library public API. (`#1036`_, alpha 1) |
| 67 | +------------------------------------------------------------------------------------- |
| 68 | +During the 3.0.0 pre release phase, we did changed some of the public API arguments names, |
| 69 | +but we wanted to provide backwards support for the early adopters be keeping some of the |
| 70 | +old public API attributes. This attribute was deprecated during pre releases and it |
| 71 | +should have been removed during the 3.0.0 final release, but that was forgotten. |
| 72 | +The `browser` public API attribute is now removed in this release. |
| 73 | + |
| 74 | + |
| 75 | +Acknowledgements |
| 76 | +================ |
| 77 | + |
| 78 | +Many thanks to rubygeek whi adding a `message` param to `Title Should Be` to display custom error message. |
| 79 | + |
| 80 | +Full list of fixes and enhancements |
| 81 | +=================================== |
| 82 | + |
| 83 | +.. list-table:: |
| 84 | + :header-rows: 1 |
| 85 | + |
| 86 | + * - ID |
| 87 | + - Type |
| 88 | + - Priority |
| 89 | + - Summary |
| 90 | + - Added |
| 91 | + * - `#1014`_ |
| 92 | + - enhancement |
| 93 | + - critical |
| 94 | + - Add option to start browser headless in Open Browser keyword |
| 95 | + - alpha 1 |
| 96 | + * - `#1007`_ |
| 97 | + - enhancement |
| 98 | + - high |
| 99 | + - Document how to extend the library |
| 100 | + - alpha 1 |
| 101 | + * - `#1042`_ |
| 102 | + - enhancement |
| 103 | + - medium |
| 104 | + - Add Message attribute to the Page Title Should Be function |
| 105 | + - alpha 1 |
| 106 | + * - `#550`_ |
| 107 | + - enhancement |
| 108 | + - medium |
| 109 | + - Allow Open Browser keyword to pass capabilities also for local browsers |
| 110 | + - alpha 1 |
| 111 | + * - `#1036`_ |
| 112 | + - enhancement |
| 113 | + - low |
| 114 | + - Remove deprecated browser attribute from the library public API. |
| 115 | + - alpha 1 |
| 116 | + * - `#1040`_ |
| 117 | + - enhancement |
| 118 | + - low |
| 119 | + - Move WebDriverCache and WebDriverCreator under same module |
| 120 | + - alpha 1 |
| 121 | + |
| 122 | +Altogether 6 issues. View on the `issue tracker <https://github.com/robotframework/SeleniumLibrary/issues?q=milestone%3Av3.1.0>`__. |
| 123 | + |
| 124 | +.. _#1014: https://github.com/robotframework/SeleniumLibrary/issues/1014 |
| 125 | +.. _#1007: https://github.com/robotframework/SeleniumLibrary/issues/1007 |
| 126 | +.. _#1042: https://github.com/robotframework/SeleniumLibrary/issues/1042 |
| 127 | +.. _#550: https://github.com/robotframework/SeleniumLibrary/issues/550 |
| 128 | +.. _#1036: https://github.com/robotframework/SeleniumLibrary/issues/1036 |
| 129 | +.. _#1040: https://github.com/robotframework/SeleniumLibrary/issues/1040 |
0 commit comments