
selenium
Provides comprehensive guidance for Selenium WebDriver including browser automation, element location, waits, and test frameworks. Use when the user asks about Selenium, needs to automate web browsers, write Selenium tests, or work with Selenium WebDriver.
- Installs
- 64
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/full-stack-skills/testing-skills --skill selenium- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads selenium automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When to use this skill
Use this skill whenever the user wants to:
- 用 Selenium WebDriver 编写或维护浏览器自动化测试
- 定位元素、等待、多浏览器与 CI 集成(如 Grid)
How to use this skill
- 环境:安装浏览器驱动(ChromeDriver/GeckoDriver)或 Selenium 4 管理;对应语言绑定(Python/Java/JS 等)。
- 脚本:driver.get、find_element、click、send_keys;显式/隐式等待;截图与 cookie。
- CI:无头模式或 Grid;并行与报告(如 Allure)。
Best Practices
- 显式等待替代 sleep;优先 id、css、相对定位。
- 用例独立、可重复;失败时截图与日志。
- 敏感信息与 URL 用配置;Grid 与版本匹配。
Keywords
selenium, WebDriver, 浏览器自动化, E2E
FAQ
What does the selenium skill do?
Provides comprehensive guidance for Selenium WebDriver including browser automation, element location, waits, and test frameworks. Use when the user asks about Selenium, needs to automate web browsers, write Selenium tests, or work with Selenium WebDriver.
How do I install selenium?
Run npx skills add https://github.com/full-stack-skills/testing-skills --skill selenium in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/selenium/ (personal) or .claude/skills/selenium/ (project).
Which AI agents can use selenium?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is selenium safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains selenium?
It is published by full-stack-skills in full-stack-skills/testing-skills. It has 64 recorded installs.
More from full-stack-skills/testing-skills
playwright
full-stack-skills/testing-skills
Open the skill to read its SKILL.md instructions.
vitest
full-stack-skills/testing-skills
Open the skill to read its SKILL.md instructions.
pytest
full-stack-skills/testing-skills
Open the skill to read its SKILL.md instructions.
jest
full-stack-skills/testing-skills
Open the skill to read its SKILL.md instructions.
appium
full-stack-skills/testing-skills
Open the skill to read its SKILL.md instructions.
junit
full-stack-skills/testing-skills
Open the skill to read its SKILL.md instructions.
Popular testing & qa skills
tdd
mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
grilling
mattpocock/skills
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
migrate-to-shoehorn
mattpocock/skills
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
run-train
lllllllama/rigorpilot-skills
Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.
test-driven-development
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
finishing-a-development-branch
obra/superpowers
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work