webapp-selenium-testing
This skill equips QA engineers with a practical framework for constructing and maintaining Selenium WebDriver tests using Java and JUnit 5. It provides tool-agnostic guidance and patterns designed for production environments, helping teams automate web application testing efficiently and reliably.
webapp-selenium-testing teaches you to create and maintain Selenium WebDriver tests using Java and JUnit 5. You'll learn to structure test classes with JUnit 5 annotations (@Test, @BeforeEach, @AfterEach), initialize WebDriver instances in setup methods, and organize assertions using frameworks like AssertJ. The skill covers test lifecycle management, parameterized tests, and integration patterns that work across production environments.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-26
webapp-selenium-testing teaches you to create and maintain Selenium WebDriver tests using Java and JUnit 5. You'll learn to structure test classes with JUnit 5 annotations (@Test, @BeforeEach, @AfterEach), initialize WebDriver instances in setup methods, and organize assertions using frameworks like AssertJ. The skill covers test lifecycle management, parameterized tests, and integration patterns that work across production environments.
Use it when
- webapp-selenium-testing provides comprehensive guidance on implementing Page Object Model architecture for browser test automation.
- webapp-selenium-testing covers handling element synchronization with explicit waits and verification of UI behavior.
Verify before relying
Read SKILL.md below before installing (8 files). Open directory: indexed for reading, not audited.
Install
fugazi/test-automation-skills-agents/webapp-selenium-testing · repository language: Java
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I write Selenium tests with JUnit 5?
webapp-selenium-testing teaches you to create and maintain Selenium WebDriver tests using Java and JUnit 5. You'll learn to structure test classes with JUnit 5 annotations (@Test, @BeforeEach, @AfterEach), initialize WebDriver instances in setup methods, and organize assertions using frameworks like AssertJ. The skill covers test lifecycle management, parameterized tests, and integration patterns that work across production environments.
What is the Page Object Model and how do I implement it in Selenium Java?
webapp-selenium-testing provides comprehensive guidance on implementing Page Object Model architecture for browser test automation. This pattern encapsulates page elements and interactions into reusable classes, reducing test maintenance overhead. You'll learn to create page objects that represent UI sections, define element locators as class fields, and expose high-level methods that abstract away implementation details—enabling tests that remain stable as the application evolves.
How can I handle element synchronization with explicit waits in Selenium?
webapp-selenium-testing covers handling element synchronization with explicit waits and verification of UI behavior. Rather than relying on implicit waits, you'll implement explicit wait conditions using WebDriverWait and ExpectedConditions to ensure elements are present, visible, or clickable before interaction. The skill teaches you to apply wait strategies that prevent flaky tests, handle stale element references, and verify dynamic content reliably in production test suites.
How do I debug Selenium test failures and troubleshoot browser automation issues?
webapp-selenium-testing equips you with practical debugging techniques for failing Selenium tests and browser automation issues. You'll learn to capture screenshots on failure, examine WebDriver logs, identify element-not-found errors, and diagnose timing problems. The skill provides patterns for troubleshooting common issues like stale element references, flaky tests, and synchronization failures—helping you resolve production test failures efficiently.
How do I set up a Selenium Maven project and configure WebDriver for multiple browsers?
webapp-selenium-testing guides you through setting up Maven test infrastructure and configuring WebDriver for multiple browsers including Chrome, Firefox, and Edge. You'll learn to manage dependencies in pom.xml, configure WebDriver instances for headless and headed execution, and implement browser-agnostic test suites. The skill also covers CI/CD integration patterns, enabling your tests to run reliably across different environments and browser combinations.
What are Selenium WebDriver best practices for production test automation?
webapp-selenium-testing provides tool-agnostic guidance and patterns designed for production environments, covering best practices for reliable web application testing. You'll learn to structure tests for maintainability, use explicit waits instead of sleeps, implement proper element locator strategies, handle dynamic content, and design test suites that scale. The skill emphasizes patterns that reduce flakiness, improve debugging, and ensure your test automation framework remains stable as your application grows.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Web Application Testing with Selenium WebDriver
This skill provides patterns and best practices for browser-based test automation using Selenium WebDriver within a Java/Maven environment.
> Activation: This skill is triggered when you need to create Selenium tests, debug browser automation, implement Page Objects, or set up Java test infrastructure.
When to Use This Skill
- Create Selenium WebDriver tests with JUnit 5
- Implement Page Object Model (POM) architecture
- Handle synchronization with Explicit Waits
- Verify UI behavior with AssertJ assertions
- Debug failing browser tests or DOM interactions
- Set up Maven test infrastructure for a new project
- Capture screenshots for debugging
- Validate complex user flows and form submissions
- Test across multiple browsers (Chrome, Firefox, Edge)
Prerequisites
| Component | Requirement
(truncated - see the full file via the links below)
File tree — 8 files
skills/webapp-selenium-testing/LICENSE.txt
skills/webapp-selenium-testing/SKILL.md
skills/webapp-selenium-testing/references/file-map-template.md
skills/webapp-selenium-testing/references/locator_strategies.md
skills/webapp-selenium-testing/references/page_object_model.md
skills/webapp-selenium-testing/references/wait_strategies.md
skills/webapp-selenium-testing/scripts/pom-template.xml
skills/webapp-selenium-testing/scripts/setup-maven-project.ps1
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Create and maintain Selenium WebDriver tests using Java and JUnit 5”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
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.
This skill equips QA engineers with practical patterns to integrate accessibility compliance checks into Selenium-based test automation workflows. Detect WCAG 2.1 and 2.2 violations programmatically, catching accessibility regressions before production. Built tool-agnostic for use with Copilot, Claude, Cursor, and other AI agents.
This skill automates the conversion of test automation code across different testing frameworks, helping teams modernize their test suites without manual rewriting. It intelligently maps test logic, assertions, and configurations from one framework to another, reducing migration overhead and maintaining test coverage during infrastructure transitions.
This skill equips you to write robust JUnit 5 tests in Java, from basic assertions and exception handling to parameterized test cases and Mockito-driven mocking. It covers lifecycle management, nested test organization, and anti-patterns to avoid, with quick reference commands for Maven and Gradle execution.
Build reliable unit tests for Java applications using JUnit 5, Mockito, and AssertJ with support for mocking, parameterized tests, and fluent assertions. Includes integration testing patterns with Testcontainers and Spring Boot Test, plus TDD and test coverage best practices to improve code quality.
This skill equips QA automation engineers with a structured approach to building robust end-to-end test suites using Playwright and TypeScript. It provides practical patterns and workflows tailored for production environments, helping teams establish reliable browser automation testing across web applications.