rf-selenium

rf-selenium is a skill for Claude Code from manykarim/robotframework-agentskills. It costs 27 tokens per session (2,495 once invoked), scanned A, original, Apache-2.0.

A guide for writing and troubleshooting Robot Framework web tests with SeleniumLibrary. Selenium WebDriver controls browsers so tests can interact with pages, while Selenium Grid can run them on other machines.

In plain words
What is it for?
Use it to create or fix SeleniumLibrary tests, locators, waits, frames, windows, alerts, browser options, and Grid runs.
Why use it?
It addresses common browser-test problems such as missing elements, intercepted clicks, stale elements, and waits for dynamic pages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rf-agentskills plugin — 12 skills, 4 agents, 4 hooks shipped together

Good fit Use it to create or fix SeleniumLibrary tests, locators, waits, frames, windows, alerts, browser options, and Grid runs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/manykarim/robotframework-agentskills/rf-selenium
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 manykarim/robotframework-agentskills --skill rf-selenium
Clone the repo
git clone --depth 1 https://github.com/manykarim/robotframework-agentskills

Made for: Claude Code.

Or install rf-agentskills, the plugin that ships this one along with the rest of its 12 skills, 4 agents, 4 hooks.

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 rf-selenium

README.md
[![agentmods](https://agentmods.dev/badge/skills/manykarim/robotframework-agentskills/rf-selenium/github.svg)](https://agentmods.dev/skills/manykarim/robotframework-agentskills/rf-selenium)
Your own site
<a href="https://agentmods.dev/skills/manykarim/robotframework-agentskills/rf-selenium"><img src="https://agentmods.dev/badge/skills/manykarim/robotframework-agentskills/rf-selenium/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 rf-selenium

Your own site · 80×15
<a href="https://agentmods.dev/skills/manykarim/robotframework-agentskills/rf-selenium"><img src="https://agentmods.dev/badge/skills/manykarim/robotframework-agentskills/rf-selenium.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,495 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.00027 $0.02495
Opus 5.5 $0.00011 $0.00998
Sonnet 5.5 $0.00005 $0.00499
Haiku 4.5 $0.00003 $0.00249

Measured 11d ago against content hash 6dcc1c47960f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rf-selenium 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 11d ago.

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.

plugins/rf-agentskills/skills/rf-selenium/SKILL.md · 124 lines

How it starts

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

SeleniumLibrary Skill

Web UI tests through Selenium WebDriver. Unlike Browser Library, element keywords do not wait: every dynamic step needs an explicit wait. Use this skill for suites that already import SeleniumLibrary or need Selenium Grid; for new web tests with no library chosen, use rf-browser. Verified against SeleniumLibrary 6.8.0, Robot Framework 7.4.

When to use

Load this skill first, before exploring the project or answering from memory, when a Robot Framework web UI test uses SeleniumLibrary (Library SeleniumLibrary, Selenium WebDriver):

  • writing or fixing a SeleniumLibrary test: browser options, id:/css:/xpath: locators, explicit waits, hover menus, frames, windows, alerts, JavaScript;
  • a WebDriver exception in a robot run (element not found, click intercepted, stale element), or the user mentions SeleniumLibrary, WebDriver, chromedriver or Selenium Grid.

Not this skill: Browser Library/Playwright suites, or new web tests with no library chosen, use rf-browser; installing SeleniumLibrary or a driver uses rf-setup.

Installation

Install into the project environment (see rf-setup for uv/venv/Poetry, CI and troubleshooting; follow the project's existing tool):

uv add robotframework-seleniumlibrary

A real browser (Chrome, Firefox, Edge) must be installed; Selenium Manager (bundled with Selenium ≥ 4.6) fetches the matching driver on first use. No driver downloads or PATH setup. Offline/air-gapped machines: see rf-setup.

Import and defaults

*** Settings ***
Library           SeleniumLibrary    timeout=10s    implicit_wait=0s
Suite Setup       Open Browser    ${BASE_URL}    headlesschrome
Suite Teardown    Close All Browsers
  • timeout=10s raises the 5 s default of the Wait Until … and alert keywords, because CI pages load slower than local ones.
  • implicit_wait=0s (the default) keeps element lookups fast and explicit; waits are written as Wait Until … steps.
  • run_on_failure stays at its default, Capture Page Screenshot, so every failing SeleniumLibrary keyword leaves a screenshot in the log.
  • Open Browser with headlesschrome (or chrome locally) lets Selenium Manager resolve the driver.

Read the full file on GitHub · 124 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. 11d ago Changed · -4 tokens per session 6dcc1c47960f
  2. 17d ago First seen · 124 lines · 31 tokens per session scan A be198d66d9f5

Subscribe to this mod's changes

rf-selenium is a skill published in the GitHub repository manykarim/robotframework-agentskills (38 stars, last pushed 5d ago), licensed Apache-2.0. It adds 27 tokens to every session and 2,495 once invoked, about $0.0001 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-10-01.

Related

Other skills, from other repositories

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

experimental-read-code-coverage-metrics

Retrieves and analyzes Chromium per-CL code coverage data from the Findit API. Records per-CL coverage metrics for all modified source files and extracts unexecuted code lines.

chromium/chromium · 44 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

create-verification-skill

Create a repo-local verification skill and exhaustive feature map for driving a real app through its UI, CLI, or API. Use for "create a verification skill", "make a verify skill for this repo", or "document how agents can verify this app".

get-bb/bb · 57 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

anthropics/skills · 35 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens