
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@robinpath/browser
Advanced tools
Headless browser automation with Puppeteer: launch, navigate, click, type, screenshot, PDF, scrape
Headless browser automation with Puppeteer: launch browsers, navigate pages, interact with elements, take screenshots, generate PDFs, and scrape data
The browser module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
robinpath add @robinpath/browser
No credentials needed — start using it right away:
browser.newPage "main" "page1"
| Function | Description |
|---|---|
browser.launch | Launch a headless browser instance |
browser.newPage | Open a new page in a browser instance |
browser.goto | Navigate a page to a URL |
browser.click | Click an element on the page |
browser.type | Type text into an input element |
browser.select | Select a dropdown option by value |
browser.screenshot | Take a screenshot of the page |
browser.pdf | Generate a PDF from the page |
browser.evaluate | Execute JavaScript in the page context |
browser.content | Get the full HTML content of the page |
browser.title | Get the page title |
browser.url | Get the current URL of the page |
browser.waitFor | Wait for a selector to appear on the page |
browser.querySelector | Get text content or attribute of an element |
browser.querySelectorAll | Get text content of all matching elements |
browser.cookies | Get all cookies for the current page |
browser.setCookie | Set a cookie on the page |
browser.close | Close a page |
browser.closeBrowser | Close a browser instance and all its pages |
browser.scrape | High-level scrape: navigate to URL and extract data by CSS selectors |
browser.newPage "main" "page1"
browser.goto "page1" "https://example.com" {"waitUntil": "networkidle2"}
browser.click "page1" "#submit-btn"
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/browser";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
browser.newPage "main" "page1"
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/json — JSON module for complementary functionalityMIT
FAQs
Headless browser automation with Puppeteer: launch, navigate, click, type, screenshot, PDF, scrape
We found that @robinpath/browser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.