browser_drag_and_drop
Drag and drop web elements between specified source and target locations using Selenium WebDriver for browser automation and testing workflows.
Instructions
Perform drag and drop between two elements
Input Schema
Name | Required | Description | Default |
---|---|---|---|
by | Yes | Locator strategy to find element | |
targetBy | Yes | Locator strategy to find target element | |
targetValue | Yes | Value for the target locator strategy | |
timeout | No | Maximum time to wait for element in milliseconds | |
value | Yes | Value for the locator strategy |
Input Schema (JSON Schema)
{
"properties": {
"by": {
"description": "Locator strategy to find element",
"enum": [
"id",
"css",
"xpath",
"name",
"tag",
"class",
"link",
"partialLink"
],
"type": "string"
},
"targetBy": {
"description": "Locator strategy to find target element",
"enum": [
"id",
"css",
"xpath",
"name",
"tag",
"class",
"link",
"partialLink"
],
"type": "string"
},
"targetValue": {
"description": "Value for the target locator strategy",
"type": "string"
},
"timeout": {
"description": "Maximum time to wait for element in milliseconds",
"type": "number"
},
"value": {
"description": "Value for the locator strategy",
"type": "string"
}
},
"required": [
"by",
"value",
"targetBy",
"targetValue"
],
"type": "object"
}