selenium-cucumber-expert

selenium-cucumber-expert is a skill for Claude Code, Codex from jmr85/e2e-agent-skills. It costs 201 tokens per session (1,630 once invoked), scanned A, original, MIT.

A guide for building end-to-end browser tests in Java with Selenium WebDriver and Cucumber. It covers Gherkin, a plain-text format for describing user behavior, plus reusable test structures and project setup.

In plain words
What is it for?
Use it to set up Maven or Gradle test projects, write Cucumber scenarios, implement their Java steps, configure page-based test patterns, run tests in parallel, and generate reports.
Why use it?
It helps organize browser tests so scenarios, Java test steps, and page interactions remain maintainable as the test suite grows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up Maven or Gradle test projects, write Cucumber scenarios, implement their Java steps, configure page-based test patterns, run tests in parallel, and generate reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmr85/e2e-agent-skills/selenium-cucumber-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jmr85/e2e-agent-skills --skill selenium-cucumber-expert
Clone the repo
git clone --depth 1 https://github.com/jmr85/e2e-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for selenium-cucumber-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmr85/e2e-agent-skills/selenium-cucumber-expert/github.svg)](https://agentmods.dev/skills/jmr85/e2e-agent-skills/selenium-cucumber-expert)
Your own site
<a href="https://agentmods.dev/skills/jmr85/e2e-agent-skills/selenium-cucumber-expert"><img src="https://agentmods.dev/badge/skills/jmr85/e2e-agent-skills/selenium-cucumber-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for selenium-cucumber-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmr85/e2e-agent-skills/selenium-cucumber-expert"><img src="https://agentmods.dev/badge/skills/jmr85/e2e-agent-skills/selenium-cucumber-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00201 $0.01630
Opus 5.5 $0.00080 $0.00652
Sonnet 5.5 $0.00040 $0.00326
Haiku 4.5 $0.00020 $0.00163

Measured 2mo ago against content hash 59356337882c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

selenium-cucumber-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scaffold-selenium-bdd.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/selenium-cucumber-expert/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role: Senior BDD automation engineer specializing in Selenium WebDriver 4 + Cucumber 7+ with Java. You design maintainable, scalable test frameworks that follow clean architecture principles and industry best practices.


When to Use Each Pattern

Choose the pattern based on project complexity and team size:

Project size Pattern Why
Small / solo Page Object Model Simple, well-known, low ceremony
Medium / team POM + Screenplay hybrid POM for pages, Screenplay for complex flows
Large / enterprise Screenplay Pattern Actor-centric, highly composable, testable

When in doubt, start with POM. Screenplay shines when scenarios involve multiple users, complex state machines, or when you need to reuse business-level tasks across many scenarios.


Core Workflow

Follow this sequence when building or extending a Selenium+Cucumber+Java project:

  1. Understand the scope — clarify which browsers, environments, and user flows need coverage before writing anything
  2. Set up the Maven project — see references/maven-setup.md for the correct dependency stack (Selenium 4, Cucumber 7, WebDriverManager, DI framework)
  3. Define project structure — choose a complexity level from references/project-structure.md and scaffold it (use scripts/scaffold-selenium-bdd.mjs)
  4. Write feature files — craft expressive Gherkin scenarios following the guidelines in references/feature-files.md
  5. Implement Page Objects or Screenplay — use references/page-object-model.md for POM or references/screenplay-pattern.md for Screenplay
  6. Wire up step definitions and hooks — see references/step-definitions.md and references/hooks-and-context.md for dependency injection patterns
  7. Configure reporting and CI/CD — set up ExtentReports + Cucumber native reporters (references/reporting.md), parallel execution (references/parallel-execution.md), and GitHub Actions / Docker Grid (references/ci-cd.md)

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 113 lines · 201 tokens per session scan A 59356337882c

Subscribe to this mod's changes

selenium-cucumber-expert is a skill published in the GitHub repository jmr85/e2e-agent-skills (14 stars, last pushed 4mo ago), licensed MIT. It adds 201 tokens to every session and 1,630 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright

Browser automation, web testing, dynamic scraping, and visual verification using Playwright and agent-browser CLI. Supports DOM snapshots with @eN element references, form interactions, and screenshot validations.

Sdinzsh/PowerHou53 · 40 tokens

browser-test-loop

Use to actually verify a web change in a real browser instead of assuming it works — click through a flow, catch console errors, check a form submits, confirm a fix on the page. Trigger when a UI change needs proof, a bug only reproduces in the browser, or the user asks to test, check, or screenshot the running app.

OneWave-AI/claude-skills · 74 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

qa

Exercise the delivered customer journey using real runtime or browser evidence. Use for functional acceptance testing after implementation, including failure paths.

suboss87/FDEOps · 26 tokens

playwright

Playwright end-to-end testing best practices for web applications, covering test design, locator strategies, and assertion patterns.

Mindrally/skills · 26 tokens

playwright-cursor-rules

Expert guidance for Playwright end-to-end testing with TypeScript and JavaScript best practices.

Mindrally/skills · 24 tokens