selenium-skill
selenium-skill enables you to create robust Selenium WebDriver test automation scripts in your preferred programming language through intelligent code synthesis. Streamline browser testing by leveraging AI to generate production-ready test logic, reducing manual scripting overhead and accelerating test suite development.
selenium-skill generates production-grade Selenium WebDriver test scripts tailored to your website's structure. You provide your site's details and desired test scenarios, and the skill synthesizes complete test automation code in your preferred programming language—whether Java, Python, C#, JavaScript, Ruby, or PHP. The generated tests include proper locator strategies, element interactions, and assertions ready for immediate execution.
AI-generated summary based on this skill's SKILL.md
Install
LambdaTest/agent-skills/selenium-skill · repository language: Python
git clone https://github.com/LambdaTest/agent-skills
cp -r agent-skills/selenium-skill ~/.claude/skills/selenium-skillFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I write a Selenium test for my website?
selenium-skill generates production-grade Selenium WebDriver test scripts tailored to your website's structure. You provide your site's details and desired test scenarios, and the skill synthesizes complete test automation code in your preferred programming language—whether Java, Python, C#, JavaScript, Ruby, or PHP. The generated tests include proper locator strategies, element interactions, and assertions ready for immediate execution.
What programming languages does selenium-skill support for test automation?
selenium-skill supports multiple programming languages for Selenium test generation, including Java, Python, C#, JavaScript (Node.js), Ruby, and PHP. This multi-language capability allows you to write Selenium automation scripts in whichever language aligns with your team's expertise and project requirements, whether you're using NUnit for C#, RSpec for Ruby, Codeception for PHP, or any other framework.
How can I set up cross-browser testing with Selenium Grid using selenium-skill?
selenium-skill helps you configure Selenium projects for cross-browser testing on cloud platforms like TestMu AI or Selenium Grid. The skill guides you through proper project setup, generates test scripts compatible with remote WebDriver configurations, and provides best practices for parallel test execution across multiple browsers and operating systems simultaneously.
What is the Page Object Model and how does selenium-skill implement it?
selenium-skill implements the Page Object Model (POM) as a maintainable test automation best practice. POM organizes your test code by creating separate classes for each page of your application, encapsulating locators and interactions within those page objects. This approach reduces code duplication, improves readability, and makes tests easier to maintain when UI elements change—selenium-skill generates POM-structured test suites automatically.
How do I fix flaky Selenium tests with proper wait strategies?
selenium-skill addresses flaky test issues by generating Selenium test scripts with robust wait strategies and error handling built in. The skill synthesizes code that uses explicit waits, proper timeout configurations, and conditional logic to handle dynamic page elements reliably. By implementing selenium-skill's best practices for wait handling and element synchronization, you can eliminate timing-related test failures and create stable, repeatable test automation.
Can selenium-skill help me run Selenium tests locally and on remote cloud platforms?
Yes, selenium-skill generates test scripts configured for both local execution and remote cloud execution. Whether you're running tests locally with ChromeDriver or another WebDriver, or executing them remotely on cloud platforms like LambdaTest or Selenium Grid, the skill provides the proper remote WebDriver configuration and cloud integration code needed for seamless cross-environment test execution.
SKILL.md
rendered from the published skill — quoted content, verbatim
Selenium Automation Skill
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
``` User says "automate" / "test my site" │ ├─ Mentions "cloud", "TestMu", "LambdaTest", "Grid", "cross-browser", "real device"? │ └─ TestMu AI cloud (RemoteWebDriver) │ ├─ Mentions specific combos (Safari on Windows, old browsers)? │ └─ Suggest TestMu AI
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 12 files
selenium-skill/SKILL.md
selenium-skill/reference/cloud-integration.md
selenium-skill/reference/csharp-patterns.md
selenium-skill/reference/debugging-common-issues.md
selenium-skill/reference/javascript-patterns.md
selenium-skill/reference/page-object-model.md
selenium-skill/reference/php-patterns.md
selenium-skill/reference/playbook.md
selenium-skill/reference/python-patterns.md
selenium-skill/reference/ruby-patterns.md
selenium-skill/scripts/scaffold-project.sh
selenium-skill/templates/pom.xml