Selenium Python E2E
CommunityStabilize E2E tests with clean Page Objects
System Documentation
What problem does it solve?
E2E testing in a growing Python web project becomes slow and flaky when tests duplicate browser setup, sprinkle raw locators everywhere, and rely on fixed sleeps instead of reliable synchronization. This Skill standardizes Selenium + pytest structure so your coding agent can refactor tests safely while keeping interactions deterministic.
Core Features & Use Cases
- Page Object Model with explicit waits: Consolidates locators and user flows into
tests/pages/using a sharedBasePagewithWebDriverWaitand expected conditions, avoidingtime.sleep(). - Centralized driver lifecycle: Ensures
webdriver.Chrome()(or Remote) is created only inconftest.pyvia a single pytest fixture, enabling consistent local/CI behavior. - Failure diagnostics and maintainability: Captures screenshots on test failure using a pytest hook/fixture finalizer, and enforces conventions that keep tests free of raw
find_element()andByusage. - Auth and integration coverage: Encourages dedicated authentication test modules for redirects, login/logout/session handling, and protected-page access control.
Quick Start
Ask your agent to generate a Selenium + pytest E2E test suite skeleton that follows the required tests/pages/, conftest.py, and explicit-waits structure for your application.
Dependency Matrix
Required Modules
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Selenium Python E2E Download link: https://github.com/Levironexe/architect/archive/main.zip#selenium-python-e2e Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.