drag-element
Simulate dragging a specified webpage element to a target location using element selectors. Part of AdsPower LocalAPI MCP Server, enabling precise browser interaction for automation.
Instructions
Drag the element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | The selector of the element to drag, find from the page source code | |
targetSelector | Yes | The selector of the element to drag to, find from the page source code |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"selector": {
"description": "The selector of the element to drag, find from the page source code",
"type": "string"
},
"targetSelector": {
"description": "The selector of the element to drag to, find from the page source code",
"type": "string"
}
},
"required": [
"selector",
"targetSelector"
],
"type": "object"
}