interact
Execute web page interactions like click, fill, or select using CSS selectors and browser/page IDs, enabling precise, undetected automation with Patchright Lite MCP Server.
Instructions
Perform simple interactions on a page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | The type of interaction to perform | |
browserId | Yes | Browser ID from a previous browse operation | |
pageId | Yes | Page ID from a previous browse operation | |
selector | Yes | CSS selector for the element to interact with | |
value | No | Value for fill/select actions |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"action": {
"description": "The type of interaction to perform",
"enum": [
"click",
"fill",
"select"
],
"type": "string"
},
"browserId": {
"description": "Browser ID from a previous browse operation",
"type": "string"
},
"pageId": {
"description": "Page ID from a previous browse operation",
"type": "string"
},
"selector": {
"description": "CSS selector for the element to interact with",
"type": "string"
},
"value": {
"description": "Value for fill/select actions",
"type": "string"
}
},
"required": [
"browserId",
"pageId",
"action",
"selector"
],
"type": "object"
}