Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/feature/only-check-…
Browse files Browse the repository at this point in the history
…node-when-robot-is-running' into feature/only-check-node-when-robot-is-running
  • Loading branch information
Raphael SMADJA committed Sep 2, 2024
2 parents bd03ad5 + c2cbf5b commit 44f73fa
Show file tree
Hide file tree
Showing 11 changed files with 2,201 additions and 292 deletions.
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,15 @@
"contributions": [
"bug"
]
},
{
"login": "raphaelcamus",
"name": "Raphael CAMUS",
"avatar_url": "https://avatars.githubusercontent.com/u/164873162?v=4",
"profile": "https://github.com/raphaelcamus",
"contributions": [
"bug"
]
}
],
"contributorsPerLine": 7,
Expand Down
20 changes: 16 additions & 4 deletions Browser/entry/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,19 @@ def cli(ctx, silent):
)
@click.argument(
"browser",
type=click.Choice(["chromium", "firefox", "webkit"], case_sensitive=False),
type=click.Choice(
[
"chromium",
"chrome",
"chrome-beta",
"msedge",
"msedge-beta",
"msedge-dev",
"firefox",
"webkit",
],
case_sensitive=False,
),
nargs=-1,
)
def init(ctx, skip_browsers, with_deps, browser):
Expand All @@ -356,9 +368,9 @@ def init(ctx, skip_browsers, with_deps, browser):
to install browser binaries and use PLAYWRIGHT_BROWSERS_PATH environment variable to define where browser
binaries are located.
It is possible to install only selected browser binaries: chromium, firefox or webkit. Example:
`rfbrowser init webkit` will install only webkit binaries and `rfbrowser init chromium firefox` will
install both chromium firefox binaries.
It is possible to install only selected browser binaries: chromium, chrome, chrome-beta, msedge, msedge-beta,
msedge-dev, firefox or webkit. Example: `rfbrowser init webkit` will install only webkit binaries and
`rfbrowser init chromium firefox` will install both chromium firefox binaries.
"""
silent_mode = ctx.obj["SILENT"]
if browser and skip_browsers:
Expand Down
6 changes: 3 additions & 3 deletions Browser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
grpcio == 1.65.4
grpcio-tools == 1.65.4
protobuf == 5.27.3
grpcio == 1.66.1
grpcio-tools == 1.66.1
protobuf == 5.27.4
robotframework >= 5.0.1, < 8.0.0
robotframework-pythonlibcore >= 4.4.1, < 5.0.0
robotframework-assertion-engine >= 3.0.3, < 4.0.0
Expand Down
2 changes: 1 addition & 1 deletion Browser/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "18.7.0"
__version__ = "18.8.0"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# robotframework-browser
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-152-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-153-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
[![Version](https://img.shields.io/pypi/v/robotframework-browser.svg)](https://pypi.python.org/pypi/robotframework-browser)
[![Actions Status](https://github.com/MarketSquare/robotframework-browser/workflows/Continuous%20integration/badge.svg)](https://github.com/MarketSquare/robotframework-browser/actions)
Expand Down Expand Up @@ -372,6 +372,7 @@ Supported by [Robocorp](https://robocorp.com/) through [Robot Framework Foundati
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vmmattila"><img src="https://avatars.githubusercontent.com/u/135705333?v=4?s=100" width="100px;" alt="vmmattila"/><br /><sub><b>vmmattila</b></sub></a><br /><a href="https://github.com/MarketSquare/robotframework-browser/issues?q=author%3Avmmattila" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Andre-A-AtGithub"><img src="https://avatars.githubusercontent.com/u/172484553?v=4?s=100" width="100px;" alt="Andre-A-AtGithub"/><br /><sub><b>Andre-A-AtGithub</b></sub></a><br /><a href="https://github.com/MarketSquare/robotframework-browser/issues?q=author%3AAndre-A-AtGithub" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Pawci3oo"><img src="https://avatars.githubusercontent.com/u/26310305?v=4?s=100" width="100px;" alt="Paweł"/><br /><sub><b>Paweł</b></sub></a><br /><a href="https://github.com/MarketSquare/robotframework-browser/issues?q=author%3APawci3oo" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/raphaelcamus"><img src="https://avatars.githubusercontent.com/u/164873162?v=4?s=100" width="100px;" alt="Raphael CAMUS"/><br /><sub><b>Raphael CAMUS</b></sub></a><br /><a href="https://github.com/MarketSquare/robotframework-browser/issues?q=author%3Araphaelcamus" title="Bug reports">🐛</a></td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.latest_release
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ RUN pip3 install --no-cache-dir --upgrade pip wheel
USER pwuser
RUN pip3 --version
USER pwuser
RUN pip3 install --no-cache-dir --user --upgrade robotframework robotframework-browser==18.7.0
RUN pip3 install --no-cache-dir --user --upgrade robotframework robotframework-browser==18.8.0
USER pwuser
RUN python3 -m Browser.entry init
76 changes: 76 additions & 0 deletions docs/releasenotes/Browser-18.8.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
======================
Browser library 18.8.0
======================


.. default-role:: code


Browser_ is a web testing library for `Robot Framework`_ that utilizes
the Playwright_ tool internally. Browser library 18.8.0 is a new release with
enhancement to Playwright browser binary installation and better support for
localisation. Also noWaitAfter argument is deprecated by Playwright.
All issues targeted for Browser library v18.8.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 18.8.0 was released on Sunday August 18, 2024.
Browser supports Python 3.8+, Node 18/20 LTS and Robot Framework 5.0+.
Library was tested with Playwright 1.46.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/v18.8.0


.. contents::
:depth: 2
:local:

Most important enhancements
===========================
When loading translations support loading more than one translation from found Python plugins (`#3742`_)
----------------------------------------------------------------------------------------------------------------
When loading translations support loading more than one translation from found Python plugin.
Now one project or Python plugin can provide multiple translations.

Full list of fixes and enhancements
===================================

.. list-table::
:header-rows: 1

* - ID
- Type
- Priority
- Summary
* - `#3742`_
- enhancement
- critical
- When loading translations support loading more than one translation from found Python plugins
* - `#3740`_
- bug
- medium
- Tab and Click With Options keyword noWaitAfter argument is deprecated by Playwright
* - `#3547`_
- enhancement
- medium
- Add more browser types when run Browser.entry script for browser installation

Altogether 3 issues. View on the `issue tracker <https://github.com/MarketSquare/robotframework-browser/issues?q=milestone%3Av18.8.0>`__.

.. _#3742: https://github.com/MarketSquare/robotframework-browser/issues/3742
.. _#3740: https://github.com/MarketSquare/robotframework-browser/issues/3740
.. _#3547: https://github.com/MarketSquare/robotframework-browser/issues/3547
Loading

0 comments on commit 44f73fa

Please sign in to comment.