rnw_click
Click elements in React Native Web apps using mouse events. Find elements by CSS selector, text, testID, or coordinates.
Instructions
Click on an element using React Native Web compatible mouse events. Can find element by CSS selector, text content, testID, or exact coordinates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rnw_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate (only used when findBy is 'coordinates') | |
| y | No | Y coordinate (only used when findBy is 'coordinates') | |
| findBy | No | How to find the element. Use 'coordinates' to click at exact x,y position. | |
| selector | No | CSS selector, text content, or testID to find the element |