Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
robotframework-browser-tray
Advanced tools
Tray icon and REPL for trying out Browser Library keywords using Chromium or Edge
Tray icon and REPL for trying out Browser Library keywords using Chromium or Edge
Requirements
Execute tests incrementally using e.g. RobotCode
Test selectors in an open web page interactively
pip install robotframework-browser-tray
browser-tray
Hint: In case your environment does not allow executing browser-tray, call the Python module directly:
python -m BrowserTray
Click on the tray icon with the Chromium logo
Open a Terminal and execute ibrowser
Hint: In case your environment does not allow executing ibrowser, call the Python module directly:
python -m BrowserTray.Repl
ibrowser allows testing selectors in an open web page interactively.
To start it execute:
ibrowser
On start up it connects to a running Chromium (started using the tray icon) or Microsoft Edge (see below for instructions).
If you start a new browser while ibrowser is running, call the keyword "Connect" to connect ibrowser to it.
To exit ibrowser press Ctrl-D
.
Add these lines to the Settings section of the .robot file:
Library Browser playwright_process_port=4711
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
If Microsoft Edge is installed on your machine:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --remote-debugging-port=1234 --user-data-dir=C:\Users\YOUR_USER\RFEdgeProfile
Start Edge using this shortcut
Execute ibrowser
On start up browser-tray
checks whether rfbrowser init
has been executed.
If this requirement is met the Playwright wrapper is started with node site-packages/Browser/wrapper/index.js 4711
.
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
.
ibrowser
is a batteries-included irobot that saves time by importing Browser Library and connecting to a running Chromium or Edge.
FAQs
Tray icon and REPL for trying out Browser Library keywords using Chromium or Edge
We found that robotframework-browser-tray demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.