From 6a5275b5567b85ed337eaec0e1a473d9f6a89a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81?= Date: Mon, 6 Feb 2023 20:45:47 +0100 Subject: [PATCH] Release notes for 16.0.0 --- docs/releasenotes/Browser-16.0.0.rst | 110 +++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 docs/releasenotes/Browser-16.0.0.rst diff --git a/docs/releasenotes/Browser-16.0.0.rst b/docs/releasenotes/Browser-16.0.0.rst new file mode 100644 index 000000000..ea81ba6ca --- /dev/null +++ b/docs/releasenotes/Browser-16.0.0.rst @@ -0,0 +1,110 @@ +====================== +Browser library 16.0.0 +====================== + + +.. default-role:: code + + +Browser_ is a web testing library for `Robot Framework`_ that utilizes +the Playwright_ tool internally. Browser library 16.0.0 is a new release with +**UPDATE** enhancements and bug fixes. +All issues targeted for Browser library v16.0.0 can be found +from the `issue tracker`_. +For first time installation with pip_, just run +:: + pip install robotframework-browser + rfbrowser init +to install the latest available release. If you upgrading +from previous release with pip_, run +:: + pip install --upgrade robotframework-browser + rfbrowser clean-node + rfbrowser init +Alternatively you can download the source distribution from PyPI_ and +install it manually. Browser library 16.0.0 was released on Monday February 6, 2023. +Browser supports Python 3.7+, Node 14/16 LTS and Robot Framework 4.0+. +Library was tested with Playwright 1.30.0 + +.. _Robot Framework: http://robotframework.org +.. _Browser: https://github.com/MarketSquare/robotframework-browser +.. _Playwright: https://github.com/microsoft/playwright +.. _pip: http://pip-installer.org +.. _PyPI: https://pypi.python.org/pypi/robotframework-browser +.. _issue tracker: https://github.com/MarketSquare/robotframework-browser/milestones/v16.0.0 + + +.. contents:: + :depth: 2 + :local: + +Most important enhancements +=========================== + +New Browser to skip if exists and switch (`#1319`_) BWIC +-------------------------------------------------------- + +`New Browser`_ keyword does by default switch to an existing browser as long as it is configured the same way. +That has no affect on the "Contexts" you are using or independence of sessions, but should speedup your tests and save resources. +If you call the keyword again with different arguments, it still will open a new Browser with that new config. +This can be configured by the argument `reuse_existing=False` to always open a new browser. + +Get Browser Console Logs support (`#2176`_) +-------------------------------------------- +`Get Console Log`_ keyword and `Get Page Errors`_ keyword are new. +They do return a list of console messages and errors from the browser. +See their keyword documentation for more details. + +Take Screenshot keyword supports returning the image (`#2625`_) +--------------------------------------------------------------- +`Take Screenshot`_ keyword now supports returning the image as a variable and deactivate its logging. +This can be done by setting the argument `return_as=