Tray icon to start the Chromium installed by Browser Library
Project description
robotframework-browser-tray
A tray icon for starting the Chromium installed by Browser Library
Requirements
- NodeJS >= 18
- Windows
Use Cases
-
Execute tests incrementally using e.g. RobotCode
-
Test selectors in an open web page interactively using irobot
How to use it
- Install the package
pip install robotframework-browser-tray
-
Execute
browser-tray
-
Click on the tray icon with the Chromium logo and select
Open Chromium
-
Add these lines to the top of the .robot file with your tests:
Library Browser playwright_process_port=55555
Test Setup Connect To Browser http://localhost:1234 chromium use_cdp=True
In order to use other ports execute:
browser-tray --pw-port=XXXX --cdp-port=XXXX
How it works
On start up it checks whether rfbrowser init chromium
has been executed in the current environment.
If this requirement is met the Playwright wrapper is started with node site-packages/Browser/wrapper/index.js 55555
.
Selecting "Open Chromium" in the tray icon executes site-packages/Browser/wrapper/node_modules/playwright-core/.local-browsers/chromium-XX/chrome-win/chrome.exe --remote-debugging-port=1234 --test-type
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for robotframework_browser_tray-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f079cc421554f840a406116efae3da1bee31ba29ec55abdb0ba8bf2ca38fa69d |
|
MD5 | e4c9e91607fb2bc73c1e155ac1edee86 |
|
BLAKE2b-256 | 967bc9c39280e1ad1c15d1bcdd362f9a6d02b5a185d3de5913fe8d50fd6172e0 |
Hashes for robotframework_browser_tray-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60bcd5b8637ad79bb990cafec5fc1940b916a3d2e0341f7e714964b0ea5482e9 |
|
MD5 | daa0022b6ae221b445e605fd731fc0e1 |
|
BLAKE2b-256 | d9b6c73cf640110077633afabe1fccfa69fb6da66a6d6be8ed7c5d50f6b24b14 |