|
| 1 | +# Browser library 19.13.0 |
| 2 | + |
| 3 | + |
| 4 | +[Browser](https://github.com/MarketSquare/robotframework-browser) is a web testing |
| 5 | +library for [Robot Framework](http://robotframework.org) that utilizes the |
| 6 | +[Playwright](https://github.com/microsoft/playwright) tool internally. Browser |
| 7 | +library 19.13.0 is a new release with new keyword to control presenter mode and changes |
| 8 | +to internal dependencies. This release enables creation of unit test in NodeJSside and |
| 9 | +changes NodeJS grpc protobuf creation. Both of these changes should not affect user, |
| 10 | +but there was quite a lot of changes, so lets be careful out there. |
| 11 | +All issues targeted for Browser library v19.13.0 can be found from the |
| 12 | +[issue tracker](https://github.com/MarketSquare/robotframework-browser/issues?q=state%3Aclosed%20milestone%3Av19.13.0). |
| 13 | +For first time installation with [pip](https://pip.pypa.io/en/stable/) and |
| 14 | +[BrowserBatteries](https://pypi.org/project/robotframework-browser-batteries/) |
| 15 | +just run |
| 16 | +```bash |
| 17 | + pip install robotframework-browser robotframework-browser-batteries |
| 18 | + rfbrowser install |
| 19 | +``` |
| 20 | +to install the latest available release. If you upgrading |
| 21 | +from previous release with [pip](http://pip-installer.org), run |
| 22 | +```bash |
| 23 | + pip install --upgrade robotframework-browser robotframework-browser-batteries |
| 24 | + rfbrowser clean-node |
| 25 | + rfbrowser install |
| 26 | +``` |
| 27 | +For first time installation with [pip](http://pip-installer.org) with Browser |
| 28 | +library only, just run |
| 29 | +```bash |
| 30 | + pip install robotframework-browser |
| 31 | + rfbrowser init |
| 32 | +``` |
| 33 | +If you upgrading from previous release with [pip](http://pip-installer.org), run |
| 34 | +```bash |
| 35 | + pip install --upgrade robotframework-browser |
| 36 | + rfbrowser clean-node |
| 37 | + rfbrowser init |
| 38 | +``` |
| 39 | +Alternatively you can download the source distribution from |
| 40 | +[PyPI](https://pypi.org/project/robotframework-browser/) and |
| 41 | +install it manually. Browser library 19.13.0 was released on Wednesday April 1, 2026. |
| 42 | +Browser supports Python 3.10+, Node 20/22/24 LTS and Robot Framework 6.1+. |
| 43 | +Library was tested with Playwright 1.59.0 |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +## Most important enhancements |
| 48 | + |
| 49 | +**EXPLAIN** or remove these. |
| 50 | + |
| 51 | +### Create unit test and coverage for NodeJS side ([#4767](https://github.com/MarketSquare/robotframework-browser/issues/4767)) |
| 52 | +Now, finaly Iwould say, it is possible to create unit test to the NodeJS side |
| 53 | +of the library. Also we support collecting coverage from the NodeJS side. Coverage |
| 54 | +collection needed small, controlled by an environment variable: |
| 55 | +ROBOT_FRAMEWORK_BROWSER_NODE_COVERAGE, code change. If users do not have that |
| 56 | +environment variable set, this change should not affect users. |
| 57 | + |
| 58 | +### grpc_tools_node_protoc_ts is having security issues ([#4778](https://github.com/MarketSquare/robotframework-browser/issues/4778)) |
| 59 | +The grpc_tools_node_protoc_ts was not updated for few years and it started to |
| 60 | +accumulate security issues. Therefore we changed this dependency to ts-proto. Also |
| 61 | +we switched google-protobuf to @bufbuild/protobuf in runtime dependencies. |
| 62 | + |
| 63 | +This change required quite a big refactoring in the NodeJS side, because |
| 64 | +grpc_tools_node_protoc_ts did sit pretty central place in out architecture. Although |
| 65 | +this change should be in theory invisible for the users, there was quite a lot of |
| 66 | +changes. I know that our test coverage is not bullet proof, so this change can cause |
| 67 | +unseen problems. So be careful out there and report any problems. |
| 68 | + |
| 69 | +## Acknowledgements |
| 70 | + |
| 71 | +## Feature request: Ability to enable/disable presenter mode during test execution ([#4772](https://github.com/MarketSquare/robotframework-browser/issues/4772)) |
| 72 | +Many thanks to Marko Rautiainen to suggesting and implement a keyword which |
| 73 | +allows to control presented mode during test execution. In previous version |
| 74 | +it was only possible to control it in the library import. |
| 75 | + |
| 76 | +## Full list of fixes and enhancements |
| 77 | + |
| 78 | +| ID | Type | Priority | Summary | |
| 79 | +|---|---|---|---| |
| 80 | +| [#4767](https://github.com/MarketSquare/robotframework-browser/issues/4767) | feature | critical | Create unit test and coverage for NodeJS side | |
| 81 | +| [#4778](https://github.com/MarketSquare/robotframework-browser/issues/4778) | feature | critical | grpc_tools_node_protoc_ts is having security issues | |
| 82 | +| [#4772](https://github.com/MarketSquare/robotframework-browser/issues/4772) | feature | medium | Feature request: Ability to enable/disable presenter mode during test execution | |
| 83 | + |
| 84 | +Altogether 3 issues. View on the [issue tracker](https://github.com/MarketSquare/robotframework-browser/issues?q=milestone%3Av19.13.0). |
0 commit comments