navigation_flow_validator
Validate multi-page user action sequences by simulating interactions, capturing screenshots, and analyzing console logs to ensure seamless navigation flow.
Instructions
Test a sequence of user actions across multiple pages
Input Schema
Name | Required | Description | Default |
---|---|---|---|
captureScreenshots | No | Whether to capture screenshots after each step. Default: true | |
device | No | Optional device to emulate (e.g., "iPhone 13", "Pixel 5") | |
includeConsole | No | Whether to include console logs. Default: true | |
startUrl | Yes | URL to start the navigation flow from | |
steps | Yes | Sequence of steps to perform |
Input Schema (JSON Schema)
{
"properties": {
"captureScreenshots": {
"description": "Whether to capture screenshots after each step. Default: true",
"type": "boolean"
},
"device": {
"description": "Optional device to emulate (e.g., \"iPhone 13\", \"Pixel 5\")",
"type": "string"
},
"includeConsole": {
"description": "Whether to include console logs. Default: true",
"type": "boolean"
},
"startUrl": {
"description": "URL to start the navigation flow from",
"type": "string"
},
"steps": {
"description": "Sequence of steps to perform",
"items": {
"properties": {
"action": {
"description": "Action to perform",
"enum": [
"click",
"fill",
"select",
"hover",
"wait",
"navigate",
"evaluate"
],
"type": "string"
},
"script": {
"description": "JavaScript to evaluate (for evaluate action)",
"type": "string"
},
"selector": {
"description": "CSS selector for the element to interact with",
"type": "string"
},
"url": {
"description": "URL to navigate to (for navigate action)",
"type": "string"
},
"value": {
"description": "Value to input (for fill or select action)",
"type": "string"
},
"waitTime": {
"description": "Time to wait in ms (for wait action)",
"type": "number"
}
},
"required": [
"action"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"startUrl",
"steps"
],
"type": "object"
}