|
| 1 | +===================== |
| 2 | +Browser library 8.0.0 |
| 3 | +===================== |
| 4 | + |
| 5 | + |
| 6 | +.. default-role:: code |
| 7 | + |
| 8 | + |
| 9 | +Browser_ is a web testing library for `Robot Framework`_ that utilizes |
| 10 | +the Playwright_ tool internally. Browser library 8.0.0 is a new release with |
| 11 | +enables Playwright strict mode and other bug fixes. |
| 12 | +All issues targeted for Browser library v8.0.0 can be found |
| 13 | +from the `issue tracker`_. |
| 14 | +If you have pip_ installed, just run |
| 15 | +:: |
| 16 | + pip install --upgrade robotframework-browser |
| 17 | + rfbrowser init |
| 18 | +to install the latest available release or use |
| 19 | +:: |
| 20 | + pip install robotframework-browser==8.0.0 |
| 21 | + rfbrowser init |
| 22 | +to install exactly this version. Alternatively you can download the source |
| 23 | +distribution from PyPI_ and install it manually. |
| 24 | +Browser library 8.0.0 was released on Monday September 13, 2021. Browser supports |
| 25 | +Python 3.7+, Node 12/14 LTS and Robot Framework 3.2+. Library was |
| 26 | +tested with Playwright 1.14.1 |
| 27 | + |
| 28 | +.. _Robot Framework: http://robotframework.org |
| 29 | +.. _Browser: https://github.com/MarketSquare/robotframework-browser |
| 30 | +.. _Playwright: https://github.com/microsoft/playwright |
| 31 | +.. _pip: http://pip-installer.org |
| 32 | +.. _PyPI: https://pypi.python.org/pypi/robotframework-browser |
| 33 | +.. _issue tracker: https://github.com/MarketSquare/robotframework-browser/milestones%3Av8.0.0 |
| 34 | + |
| 35 | + |
| 36 | +.. contents:: |
| 37 | + :depth: 2 |
| 38 | + :local: |
| 39 | + |
| 40 | +Backwards incompatible and most important changes |
| 41 | +================================================= |
| 42 | + |
| 43 | +- Strict mode (`#1233`_) |
| 44 | +------------------------ |
| 45 | +This release enables Playwright strict mode for the browser library. Strict mode is enabled by default |
| 46 | +and strict mode can be controlled by library import or by Set Strict Mode keyword. When strict mode is |
| 47 | +enabled and if keyword selector points to multiple elements, keyword will fail. If strict mode is mode |
| 48 | +is disabled, keyword will not fail if selector does point to multiple elements. |
| 49 | + |
| 50 | +Keywords which should interact with single element, like Click and Get Text keyword uses strict mode. |
| 51 | +Keywords which should interact with multiple elements, like Get Elements are do not use strict mode. |
| 52 | + |
| 53 | +Full list of fixes and enhancements |
| 54 | +=================================== |
| 55 | + |
| 56 | +.. list-table:: |
| 57 | + :header-rows: 1 |
| 58 | + |
| 59 | + * - ID |
| 60 | + - Type |
| 61 | + - Priority |
| 62 | + - Summary |
| 63 | + * - `#1233`_ |
| 64 | + - enhancement |
| 65 | + - critical |
| 66 | + - Strict mode |
| 67 | + |
| 68 | +Altogether 1 issue. View on the `issue tracker <https://github.com/MarketSquare/robotframework-browser/issues?q=milestone%3Av8.0.0>`__. |
| 69 | + |
| 70 | +.. _#1233: https://github.com/MarketSquare/robotframework-browser/issues/1233 |
0 commit comments