test_auth_flow
Automates web login by submitting credentials on a given URL using CSS selectors, and waits for specified conditions to confirm authentication success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"usernameSelector": "<usernameSelector>",
"usernameValue": "<usernameValue>",
"passwordSelector": "<passwordSelector>",
"passwordValue": "<passwordValue>",
"submitSelector": "<submitSelector>"
},
"name": "test_auth_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Login page URL | |
| waitForUrl | No | Wait for URL to match after login | |
| passwordValue | Yes | Password | |
| usernameValue | Yes | Username or email | |
| submitSelector | Yes | CSS selector for submit/login button | |
| waitForSelector | No | Wait for this element after login | |
| passwordSelector | Yes | CSS selector for password input | |
| usernameSelector | Yes | CSS selector for username/email input |