Selenium WebDriver
Testing & QualitySelenium WebDriver is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Selenium WebDriver expertise for cross-browser automation and legacy system testing
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/qa-testing-automation/skills/selenium-webdriver/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/selenium-webdriver, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Selenium WebDriver Skill
Overview
This skill provides expert-level capabilities for Selenium WebDriver-based automation, enabling cross-browser testing, grid configuration, and integration with mobile testing through Appium.
Capabilities
WebDriver Management
- WebDriver initialization and configuration
- Browser driver management (ChromeDriver, GeckoDriver, etc.)
- Session handling and cleanup
Cross-Browser Testing
- Chrome, Firefox, Safari, Edge support
- Handle browser-specific quirks and capabilities
- Configure browser options and preferences
Grid Configuration
- Selenium Grid setup for parallel execution
- Node registration and management
- Docker-based grid configuration
Element Interaction
- Handle dynamic waits and element location strategies
- Implement robust element locators
- Handle iframes, windows, and alerts
Page Object Model
- Generate Page Object Model patterns
- Implement reusable page components
- Create fluent APIs for test readability
Mobile Integration
- Mobile browser testing configuration
- Appium integration for native apps
Target Processes
e2e-test-suite.js- Full E2E test suite implementationcross-browser-testing.js- Cross-browser compatibility testingmobile-testing.js- Mobile web testing
Dependencies
selenium-webdriver- WebDriver client- Browser-specific drivers (chromedriver, geckodriver)
- Java (for Selenium Grid)
Usage Example
{
kind: 'skill',
skill: {
name: 'selenium-webdriver',
context: {
action: 'execute-tests',
browsers: ['chrome', 'firefox', 'edge'],
gridUrl: 'http://localhost:4444/wd/hub',
parallel: true
}
}
}
Configuration
The skill supports both local WebDriver execution and remote Selenium Grid connections.