headlessstage
v0.1.0Browser automation: navigate, click, fill, screenshot and evaluate in a headless browser.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
puppeteer_screenshot
Capture screenshots of the entire page or specific elements
| Parameter | Type | Description |
|---|---|---|
name * | string | The name to store the screenshot under |
encoded | boolean | Whether to return the screenshot as a base64 encoded data URL |
height | number | Optional viewport height in pixels for the screenshot |
selector | string | Optional CSS selector of the element to screenshot; the full page is captured when omitted |
width | number | Optional viewport width in pixels for the screenshot |
puppeteer_click
Click elements on the page
| Parameter | Type | Description |
|---|---|---|
selector * | string | The CSS selector of the element to click |
puppeteer_hover
Hover elements on the page
| Parameter | Type | Description |
|---|---|---|
selector * | string | The CSS selector of the element to hover over |
puppeteer_fill
Fill out input fields
| Parameter | Type | Description |
|---|---|---|
selector * | string | The CSS selector of the input field to fill |
value * | string | The value to enter into the field |
puppeteer_select
Select an element with a SELECT tag
| Parameter | Type | Description |
|---|---|---|
selector * | string | The CSS selector of the SELECT element |
value * | string | The option value to select |
puppeteer_evaluate
Execute JavaScript in the browser console
| Parameter | Type | Description |
|---|---|---|
script * | string | The JavaScript code to execute in the browser console |