selenium
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- Write or maintain browser automation tests with Selenium WebDriver
- Locate elements using CSS selectors, IDs, or relative locators
- Implement explicit and implicit waits for robust test execution
- Run tests in headless mode or across browsers via Selenium Grid
- Integrate Selenium tests into CI/CD pipelines
How to use this skill
Workflow
- Set up the environment: install browser drivers (ChromeDriver/GeckoDriver) or use Selenium 4 Manager
- Write test scripts: navigate, find elements, interact, and assert
- Add waits and error handling: use explicit waits instead of
sleep - Run in CI: configure headless mode or Grid; generate reports