Next-gen browser and mobile automation framework.
## WebdriverIO MCP Server: Next-Gen Browser Automation The **WebdriverIO MCP Server** integrates the WebdriverIO testing framework into Google Antigravity, enabling modern browser and mobile automation with AI-assisted test development and execution. ### Why WebdriverIO MCP? - **Multi-Protocol**: Support for WebDriver, DevTools Protocol, and mobile automation protocols - **Modern JavaScript**: Write tests in modern JavaScript/TypeScript with async/await syntax - **Rich Ecosystem**: Extensive plugin ecosystem for reporters, services, and integrations - **Cross-Platform**: Test web, mobile web, and native mobile applications - **Parallel Execution**: Built-in parallel test execution for faster feedback ### Key Features #### 1. Test Execution ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Run WebdriverIO tests in Chrome with spec reporter and video recording" }] ) ``` #### 2. Test Generation ```python # Create tests response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Generate WebdriverIO page object and tests for the shopping cart flow" }] ) ``` #### 3. Configuration ```python # Configure WDIO response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Configure WebdriverIO for headless Chrome testing with Allure reporter" }] ) ``` #### 4. Mobile Testing ```python # Test mobile response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Set up WebdriverIO for Appium mobile testing on iOS and Android" }] ) ``` ### Configuration ```json { "mcpServers": { "webdriverio": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-webdriverio"], "env": { "WDIO_CONFIG_PATH": "wdio.conf.js", "WDIO_BASE_URL": "http://localhost:3000" } } } } ``` ### Use Cases **E2E Testing**: Comprehensive end-to-end testing for web applications. **Cross-Browser Testing**: Verify compatibility across multiple browsers and versions. **Mobile Automation**: Test mobile applications with Appium integration. **Visual Testing**: Integrate with visual testing tools for UI regression detection. The WebdriverIO MCP Server provides modern browser automation capabilities for comprehensive application testing.
{
"mcpServers": {
"webdriverio": {}
}
}