Skip to content
Skills Library
Programming · Testing

selenium-expert

/selenium-expert

Expert in Selenium WebDriver, Selenium Grid, page object model, waits, cross-browser testing, and test automation frameworks. Use when the user mentions testing, end-to-end tests, QA, automation, WebDriver, or Selenium grid, or when the task involves Selenium Components, Browser Support, Advanced Features, or Basic WebDriver Setup.

Repository
pcl ↗
Licence
Apache-2.0
Last repository change
10.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
16
Deprecation

No signals detected. Repository changed on 10.09.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Expert in Selenium WebDriver, Selenium Grid, page object model, waits, cross-browser testing, and test automation frameworks. Use when the user mentions testing, end-to-end tests, QA, automation, WebDriver, or Selenium grid, or when the task involves Selenium Components, Browser Support, Advanced Features, or Basic WebDriver Setup.

Original author description

Expert in Selenium WebDriver, Selenium Grid, page object model, waits, cross-browser testing, and test automation frameworks. Use when the user mentions testing, end-to-end tests, QA, automation, WebDriver, or Selenium grid, or when the task involves Selenium Components, Browser Support, Advanced Features, or Basic WebDriver Setup.

How it works

  1. Core Concepts
  2. Best Practices
  3. Anti-Patterns
  4. Reference Documentation
  5. Resources
Original SKILL.md headings · 135 lines, 496 words
SKILL.md preview
---
name: selenium-expert
version: 1.1.0
description: >-
  Expert in Selenium WebDriver, Selenium Grid, page object model, waits, cross-browser
  testing, and test automation frameworks. Use when the user mentions testing, end-to-end
  tests, QA, automation, WebDriver, or Selenium grid, or when the task involves Selenium
  Components, Browser Support, Advanced Features, or Basic WebDriver Setup.
category: qa
tags:
  [
    testing,
    e2e,
    selenium,
    qa,
    automation,
    webdriver,
    selenium-grid,
    page-object-model,
    cross-browser-testing,
    test-automation,
    selenium-python,
  ]
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Grep
  - Glob
metadata:
  author: PCL Standard Library
  complexity: expert
---

# Selenium Expert

## Core Concepts

### Selenium Components

- **WebDriver** - Browser automation API
- **Selenium Grid** - Distributed test execution
- **IDE** - Record and playback tool
- **Locator Strategies** - Find elements (ID, CSS, XPath)
- **Wait Mechanisms** - Explicit, implicit, fluent waits
- **Actions API** - Complex user interactions

### Browser Support

- **Chrome/Chromium** - ChromeDriver
- **Firefox** - GeckoDriver
- **Safari** - SafariDriver
- **Edge** - EdgeDriver
- **IE** - IEDriver (legacy)
- **Remote** - Selenium Grid execution

### Advanced Features

- **Page Object Model** - Design pattern
- **Test Frameworks** - TestNG, JUnit, pytest
- **Parallel Execution** - Grid and ThreadLocal
- **Screenshots** - Visual verification
- **JavaScript Execution** - Execute custom scripts
- **Mobile Testing** - Appium integration

## Best Practices

### Locator Strategy

- Prefer ID over other locators
- Use CSS selectors over XPath
- Add data-testid attributes
- Avoid fragile locators
- Use relative locators (Selenium 4+)
- Document locator choices

### Wait Strategy

- Use explicit waits over implicit
- Set appropriate timeouts
- Wait for specific conditions
- Avoid Thread.sleep()
- Handle stale elements
- Use fluent waits for complex conditions

### Test Design

- Implement Page Object Model
- Keep tests independent
- Use proper test data management
- Implement proper cleanup
- Handle flaky tests
- Log and screenshot failures

### Performance

- Reuse browser sessions when possible
- Use parallel execution
- Optimize wait times
- Close unused windows/tabs
- Clear cache between tests
- Monitor Grid performance

## Anti-Patterns

### Common Mistakes

- Using sleep instead of waits
- Hard-coded wait times
- Not handling stale elements
- Missing implicit wait configuration
- Too many XPath locators
- No error handling

### Locator Issues

- Brittle XPath expressions
- Using absolute XPath
- Relying on index positions
- No fallback locators
- Missing data-testid attributes
- Coupling to UI changes

### Test Design Problems

- Tests depending on order
- Shared state between tests
- No Page Object Model
- Testing too much at once
- Missing cleanup
- Poor error messages

## Reference Documentation

Detailed material lives alongside this skill and is read on demand:

- [Implementation Examples](references/EXAMPLES.md) — Basic WebDriver Setup (Python), Page Object Model (Python), Java WebDriver Example, Selenium Grid Configuration, Advanced Waits and Actions

## Resources

### Official Documentation

- [Selenium Documentation](https://www.selenium.dev/documentation/) - Complete guide
- [WebDriver API](https://www.selenium.dev/selenium/docs/api/py/) - Python API docs
- [Selenium Grid](https://www.selenium.dev/documentation/grid/) - Grid guide
- [Best Practices](https://www.selenium.dev/documentation/test_practices/) - Guidelines

### Learning Resources

- [Selenium YouTube](https://www.youtube.com/@SeleniumConference) - Conference talks
- [Test Automation University](https://testautomationu.applitools.com/) - Free courses
- [Selenium Blog](https://www.selenium.dev/blog/) - Updates and articles
- [Awesome Selenium](https://github.com/christian-bromann/awesome-selenium) - Resources

### Tools & Extensions

- [Selenium IDE](https://www.selenium.dev/selenium-ide/) - Record and playback
- [WebDriver Manager](https://github.com/bonigarcia/webdrivermanager) - Driver management
- [Selenoid](https://aerokube.com/selenoid/) - Alternative to Grid
- [Zalenium](https://github.com/zalando/zalenium) - Selenium Grid alternative

### Community Resources

- [Selenium Forum](https://groups.google.com/g/selenium-users) - Google Group
- [Stack Overflow](https://stackoverflow.com/questions/tagged/selenium) - Q&A
- [GitHub Selenium](https://github.com/SeleniumHQ/selenium) - Source code
- [Slack Selenium](https://selenium.dev/support/) - Community chat
Files in this package (2)
  • SKILL.md 5 KB
  • references/EXAMPLES.md 12 KB

Versions

The database has no other skills named selenium-expert.

Database snapshot: 13.11.2026 · package version 64eb99c93f08 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100selenium
    When the user wants to automate browser testing across multiple browsers using Selenium WebDriver. Also use when the user mentions "selenium," "WebDriver," "browser automation," "cross-browser testing," "browser testing," "headless Chrome testing," or "Selenium Grid." For mobile testing, see appium.
  • 100selenium
    Expert Selenium WebDriver automation covering multi-browser testing, explicit waits, and page objects. Use when automating web browsers, running legacy test automation, or interacting with web UIs.
  • 100selenium-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. Use when the user asks to write Selenium tests, automate with WebDriver, run…
  • 100webdriver
    Expert W3C WebDriver automation covering standard browser protocols, remote sessions, and grid management. Use when managing browser automation infrastructure, Selenium Grid, or remote drivers.
  • 100selenium
    When the user wants to design, implement, debug, or migrate Selenium WebDriver tests. Use when the user mentions "Selenium," "Selenium 4," "WebDriver," "Selenium Grid," "Selenium Manager," "BiDi," "By.id," "By.cssSelector," "WebDriverWait," "ExpectedConditions,"…
  • 100webapp-selenium-testing
    Author and maintain versioned Selenium WebDriver tests with Java and JUnit 5. Use for creating, debugging, or running Selenium specs, implementing Page Objects, handling explicit waits, capturing screenshots, or setting up Maven test projects. Supports Chrome, Firefox, and Edge.…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.