action
Performs browser interactions such as navigating, clicking, filling forms, selecting options, pressing keys, and scrolling, with Playwright auto-waits blocking until each step completes.
Instructions
Perform an action on the page. Actions block until complete (Playwright auto-waits for elements).
Available actions:
navigate: Go to a URL (requires: url)
back: Navigate back in history
forward: Navigate forward in history
click: Click an element (requires: selector)
fill: Fill a text input (requires: selector, value)
select: Select an option in a dropdown (requires: selector, value)
check: Check a checkbox (requires: selector)
uncheck: Uncheck a checkbox (requires: selector)
press: Press a key (requires: selector or value for key name)
scroll: Scroll the page or element (optional: selector, value for direction)
highlight: Scroll to element and flash it with a colored border (requires: selector)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>",
"type": "<type>"
},
"name": "action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL for navigate action | |
| type | Yes | The action to perform | |
| value | No | Value for fill/select actions, key name for press, direction (up/down) for scroll | |
| session | Yes | The session name | |
| selector | No | CSS selector for the target element (required for most actions) |