Click Element or Coordinates
gpm_browser_clickClick webpage elements by CSS/Playwright selector or X/Y coordinates in GPMLogin anti-detect browsers, with optional mouse button, double-click, profile, and timeout settings.
Instructions
Click vào phần tử theo CSS/Playwright selector (vd "button.submit", "text=Đăng nhập") hoặc theo tọa độ x, y.
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": "gpm_browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Tọa độ X (dùng khi không truyền selector) | |
| y | No | Tọa độ Y (dùng khi không truyền selector) | |
| button | No | Nút chuột (mặc định left) | |
| selector | No | CSS hoặc Playwright selector | |
| profile_id | No | ID của profile GPM đang kết nối CDP (có thể bỏ trống nếu chỉ có 1 profile đang kết nối) | |
| timeout_ms | No | Timeout mili-giây (mặc định 15000) | |
| double_click | No | Double click nếu true |