|
| 1 | +====================== |
| 2 | +Browser library 19.3.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 19.3.0 is a new release with |
| 11 | +enhancements to Browser library docker container and bug fixes Get Element |
| 12 | +States, Start/Stop Coverage keywords and fixes to rfbrowser entry point |
| 13 | +documentation. All issues targeted for Browser library v19.3.0 can be |
| 14 | +found from the `issue tracker`_. |
| 15 | +For first time installation with pip_, just run |
| 16 | +:: |
| 17 | + pip install robotframework-browser |
| 18 | + rfbrowser init |
| 19 | +to install the latest available release. If you upgrading |
| 20 | +from previous release with pip_, run |
| 21 | +:: |
| 22 | + pip install --upgrade robotframework-browser |
| 23 | + rfbrowser clean-node |
| 24 | + rfbrowser init |
| 25 | +Alternatively you can download the source distribution from PyPI_ and |
| 26 | +install it manually. Browser library 19.3.0 was released on Thursday January 30, 2025. |
| 27 | +Browser supports Python 3.9+, Node 18/20/22 LTS and Robot Framework 5.0+. |
| 28 | +Library was tested with Playwright 1.50.0 |
| 29 | + |
| 30 | +.. _Robot Framework: http://robotframework.org |
| 31 | +.. _Browser: https://github.com/MarketSquare/robotframework-browser |
| 32 | +.. _Playwright: https://github.com/microsoft/playwright |
| 33 | +.. _pip: http://pip-installer.org |
| 34 | +.. _PyPI: https://pypi.python.org/pypi/robotframework-browser |
| 35 | +.. _issue tracker: https://github.com/MarketSquare/robotframework-browser/milestones/v19.3.0 |
| 36 | + |
| 37 | + |
| 38 | +.. contents:: |
| 39 | + :depth: 2 |
| 40 | + :local: |
| 41 | + |
| 42 | +Most important enhancements |
| 43 | +=========================== |
| 44 | + |
| 45 | +Stop Coverage keyword should tell if it could not find file defined in config_file argument in Start Coverage keyword (`#3990`_) |
| 46 | +-------------------------------------------------------------------------------------------------------------------------------- |
| 47 | +Added better logging if the config_file argument file can not be found. Logging is enhanced in |
| 48 | +both Start Coverage and Stop Coverage keywords. |
| 49 | + |
| 50 | +Get Element States keyword returns incorrect state if elements is not input type (`#4037`_) |
| 51 | +-------------------------------------------------------------------------------------------- |
| 52 | +There was bug how readonly state was handled in Get Element States keyword. Playwright |
| 53 | +started raising an error if element is not input like and this handling was incorrectly |
| 54 | +fixes in Browser library side. Now Get Element States keyword returns correct state, also |
| 55 | +if element is disabled it is considered readonly. |
| 56 | + |
| 57 | +Issues during python package installation via pip in docker image v19.2.0 (`#4034`_) |
| 58 | +-------------------------------------------------------------------------------------- |
| 59 | +19.2.0 release updated docker base image to Unbuntu Noble, made by Playwright team. |
| 60 | +Because Noble prevents installation to system Python. In 19.2 release Browser library |
| 61 | +forced installation to system Python. This caused issues with pip installation for people |
| 62 | +using our container. Now Browser library is installed to Python virtual environent under |
| 63 | +the pwuser, in .venv folder. Virtual environment is activated for the pwuser and |
| 64 | +this should fix the installation issues for users. |
| 65 | + |
| 66 | +Acknowledgements |
| 67 | +================ |
| 68 | + |
| 69 | +**EXPLAIN** or remove these. |
| 70 | + |
| 71 | +- Fix entry point documentation (`#4017`_) |
| 72 | + |
| 73 | +Full list of fixes and enhancements |
| 74 | +=================================== |
| 75 | + |
| 76 | +.. list-table:: |
| 77 | + :header-rows: 1 |
| 78 | + |
| 79 | + * - ID |
| 80 | + - Type |
| 81 | + - Priority |
| 82 | + - Summary |
| 83 | + * - `#3990`_ |
| 84 | + - bug |
| 85 | + - high |
| 86 | + - Stop Coverage keyword should tell if it could not find file defined in config_file argument in Start Coverage keyword |
| 87 | + * - `#4037`_ |
| 88 | + - bug |
| 89 | + - high |
| 90 | + - Get Element States keyword returns incorrect state if elements is not input type |
| 91 | + * - `#4034`_ |
| 92 | + - enhancement |
| 93 | + - high |
| 94 | + - Issues during python package installation via pip in docker image v19.2.0 |
| 95 | + * - `#4017`_ |
| 96 | + - bug |
| 97 | + - medium |
| 98 | + - Fix entry point documentation |
| 99 | + |
| 100 | +Altogether 4 issues. View on the `issue tracker <https://github.com/MarketSquare/robotframework-browser/issues?q=milestone%3Av19.3.0>`__. |
| 101 | + |
| 102 | +.. _#3990: https://github.com/MarketSquare/robotframework-browser/issues/3990 |
| 103 | +.. _#4037: https://github.com/MarketSquare/robotframework-browser/issues/4037 |
| 104 | +.. _#4034: https://github.com/MarketSquare/robotframework-browser/issues/4034 |
| 105 | +.. _#4017: https://github.com/MarketSquare/robotframework-browser/issues/4017 |
0 commit comments