test_dropdown_with_error_capture
Test dropdown functionality in web applications by capturing console errors and monitoring page state changes during interaction.
Instructions
Test dropdown interactions with comprehensive console error capture and page state monitoring
Input Schema
Name | Required | Description | Default |
---|---|---|---|
browser | No | Browser engine to use | chromium |
dropdownSelector | Yes | CSS selector, testID, or text content to identify the dropdown button | |
takeScreenshots | No | Take before/after screenshots | |
url | Yes | URL of the React app | |
waitAfterClick | No | Time to wait after clicking to capture errors (ms) |
Input Schema (JSON Schema)
{
"properties": {
"browser": {
"default": "chromium",
"description": "Browser engine to use",
"enum": [
"chromium",
"firefox",
"webkit"
],
"type": "string"
},
"dropdownSelector": {
"description": "CSS selector, testID, or text content to identify the dropdown button",
"type": "string"
},
"takeScreenshots": {
"default": true,
"description": "Take before/after screenshots",
"type": "boolean"
},
"url": {
"description": "URL of the React app",
"type": "string"
},
"waitAfterClick": {
"default": 3000,
"description": "Time to wait after clicking to capture errors (ms)",
"type": "number"
}
},
"required": [
"url",
"dropdownSelector"
],
"type": "object"
}