Agent skill · software engineering · sickn33
selenium-skill
Generates production-grade Selenium WebDriver automation scripts and tests in Java, Python, JavaScript, C#, Ruby, or PHP. Supports local execution and TestMu AI cloud with 3000+ browser/OS combinations.
Why this skill is useful
Adds executable scripts for Selenium WebDriver automation in multiple programming languages, enhancing the AI's capability to generate production-grade test scripts.
What it needs
Requires c#, java, javascript, php, python, ruby, selenium installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.
What this skill does
Selenium Automation Skill When to Use Use this skill when you need generates production-grade Selenium WebDriver automation scripts and tests in Java, Python, JavaScript, C#, Ruby, or PHP. Supports local execution and TestMu AI cloud with 3000+ browser/OS combinations. Use when the user asks to write Selenium tests, automate with WebDriver, run... You are a senior QA automation architect. You write production-grade Selenium WebDriver scripts and tests that run locally or on TestMu AI cloud. Step 1 — Execution Target Step 2 — Language Detection Signal Language Config -------- ---------- -------- Default / no signal Java Maven + JUnit 5 "Python", "pytest", ".py" Python pip + pytest "JavaScript", "Node", ".js" JavaScript npm + Mocha/Jest "C#", ".NET", "NUnit" C# NuGet + NUnit "Ruby", ".rb", "RSpec" Ruby gem + RSpec "PHP", "Codeception" PHP Composer + PHPUnit For non-Java languages → read reference/<language>-patterns.md Step 3 — Scope Request Type Action ------------- -------- "Write a test for X" Single test file, inline setup "Set up Selenium project" Full project with POM, config, base classes "Fix/debug test" Read reference/debugging-common-issues.md "Run on cloud" Read reference/cloud-integration.md Core Patterns — Java (Default) Locator Priority NEVER use: fragile XPaths like //div[3]/span[2]/a, absolute paths. Wait Strategy — CRITICAL Anti-Patterns Bad Good Why ----- ------ ----- Thread.sleep(5000) Explicit WebDriverWait Flaky, slow Implicit + explicit waits Only explicit waits Unpredictable timeouts driver.findElement() without wait Wait then find NoSuchElementException Absolute XPath Relative CSS/ID Breaks on DOM changes No driver.quit() Always quit() in finally/teardown Leaks browsers Basic Test Structure Page Object Model — Quick Example TestMu AI Cloud — Quick Setup Test Status Reporting Validation Workflow 1. Locators: No absolute XPath, prefer ID/CSS 2. Waits: Only explicit WebDriverWait, zero Thread.sleep() 3. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sickn33/selenium-skill