whereismyai
Selenia
Selenia is a Python library that finds Selenium elements using plain English descriptions and a local model.
Selenia is a Python library that finds Selenium elements using plain English descriptions instead of brittle XPath or CSS selectors. It runs locally using a 24 MB int8 ONNX cross-encoder model that scores real page elements against your description. The tool requires no API keys, runs offline, has zero per-call costs, and executes in tens of milliseconds on a laptop CPU. It integrates with existing Selenium tests, waits, page objects, and open shadow DOMs. Designed for test automation engineers, it raises exceptions when matches are ambiguous or not confident to prevent incorrect element selection.
Selenia at a glance
- Best for: Software engineer
- Runs on: Python
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/penielny/selenia
Key features
- Finds elements with plain English descriptions
- Runs locally using a 24 MB int8 ONNX model
- Works offline without API keys
- Executes in tens of milliseconds per find
- Refuses ambiguous matches and low confidence
- Supports open shadow DOM elements
- Allows custom model training and tuning
Use it for
- Finding Selenium test elements using natural language
- Replacing brittle XPath and CSS locators
- Running automated UI tests offline and in CI
- Preventing flaky tests with ambiguous match refusal
Alternatives to Selenia
- Sgrep — Runs locally without accounts or hosted indexes using small CPU models.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- TestDriver — Runs pull requests in a real desktop sandbox and writes UI tests automatically.
- Vexus — It runs locally and cuts agent session costs by ten percent without spending tokens.
- Scrapling — It uses adaptive element tracking to maintain scrapers when websites change.
- Enzyme — It indexes markdown notes locally so AI coding agents can cite them.
- Semble — It indexes code in milliseconds on CPU with zero external services required.
- EasyCode — Answers questions and provides context-aware suggestions inside the integrated development environment.
- Enola — Generates a deterministic graph of system architecture locally without AI.
- E2e — Uses AI agents to drive app actions and replays recorded steps without model calls.
- elements.dev — Always-running project server and fast local testing.
- REA — It gives your coding agent the tools to inspect programs and explain their internal logic.
All Selenia alternatives