Selenium CLI tool
Los mantenedores suelen responder en 1 día
@AutomatedTester ya está trabajando en esto.
Desde el 9/4/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Product Requirements Document: Sel-CLI (v1.2 - 2026 Edition)
Project Focus: Hybrid Rust/TypeScript CLI for Agentic & Industrial-Grade Browser Automation.
1. Competitive Analysis & Gap Summary
- Playwright (2026): Dominates with the Speedboard Timeline (visualizing slow test bottlenecks) and AI Test Agents (autonomous healer loops).
- Cypress (2026): Leading in Quality Intelligence (AI identifying untested code gaps) and simplified Studio recording.
- Selenium (2026): Moving to WebDriver BiDi, allowing two-way communication (streaming console/network events natively).
- Sel-CLI Advantage: Uses Rust (Selenium Manager core) for raw speed and TypeScript (Oclif) for the best AI-agent integration (MCP support), while supporting legacy and cross-browser grids that competitors ignore.
2. Updated Functional Requirements
Module 1: Infrastructure & Performance (Rust Core)
| ID | Feature | Description | Priority |
|---|---|---|---|
| FR-1.1 | Universal Binary | Single Rust binary that replaces the need for local Java or Python environments. | P0 |
| FR-1.2 | Install Browsers and Grid | Download browsers and selenium grid and get them ready to run. | P0 |
| FR-1.3 | Speedboard Logs | Native profiling of every Selenium command to generate a Timeline of "Time to Interactive" (Playwright parity). | P1 |
| FR-1.4 | BiDi Streamer | Direct pipe to browser console and network events using WebDriver BiDi for real-time debugging. | P1 |
Module 2: Agentic Automation (AI-First)
| ID | Feature | Description | Priority |
|---|---|---|---|
| FR-2.1 | MCP Server Support | Integration with Model Context Protocol (MCP) to allow Cursor/Claude to control browsers natively. | P1 |
| FR-2.2 | Healer Loop | If a test fails due to a changed locator, the CLI autonomously attempts to find a new locator and suggests a PR. | P1 |
| FR-2.3 | YAML Snapshots | Converts DOM to ultra-compact YAML. Crucial for reducing LLM token costs by 70% (Firecrawl/Agent-native). | P1 |
Module 3: Advanced Observability
| ID | Feature | Description | Priority |
|---|---|---|---|
| FR-3.1 | Trace-Travel UI | A visual dashboard where you can scroll through every step of a test and see the DOM state (Time-traveling). | P1 |
| FR-3.2 | Shadow-Piercer | Automatically detects and interacts with Shadow DOMs and Iframes without manual "context switching." | P1 |
3. Technical Architecture Update
The "Core-to-Shell" Model
- Kernel (Rust): Extends selenium-manager. Handles browser/driver installation, YAML snapshotting logic, and high-speed BiDi event processing.
- Shell (TypeScript/Oclif): Handles the command-line interface, user prompts, and formatting JSON/YAML for AI agents.
- Bridge: Use a high-performance IPC (Inter-Process Communication) or shared library bindings to ensure zero latency between the TS CLI and the Rust automation core.
4. New "Google Workspace CLI" Style Command Patterns
Inspired by the gws (Google Workspace CLI) patterns of 2026:
- Command: sel list sessions --params '{"status": "active"}'
- Command: sel run ./tests --agent --json (Outputs purely machine-readable context for AI).
- Command: sel install --skills (Installs a specific capability profile like "Mobile Safari" or "Legacy IE11").
5. Deployment & Distribution
- Direct Installer: curl -fsSL https://sel.cli.dev/install.sh | bash.
- NPM Wrapper: npm install -g @sel-cli/core.
- Note: The NPM package will detect the OS and download the specific Rust binary for that platform.
- Docker-Ready: Native binary supports Alpine/Debian-slim for lightweight CI/CD runners.
6. User Journey: The AI Agent Flow
- AI: "I need to automate the login for this site."
- CLI: Agent runs sel open https://example.com --agent.
- CLI: Returns a YAML Snapshot (e.g., button @e1: 'Login').
- AI: Commands sel click @e1.
- CLI: Executes via Rust-core, verifies success via BiDi event, and returns a confirmation.
- Lenguaje dominante
- Java
- Estrellas
- 34.6k
- Forks
- 8.7k
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 107
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SeleniumHQ/selenium
-
C-py I-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
SeleniumHQ/selenium#18438 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
SeleniumHQ/selenium#18323 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
B-build C-py I-enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
SeleniumHQ/selenium#18435 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserPosiblemente ocupada @Liz-Lian la tomó hace 2 días. AbiertoC-dotnet C-java C-nodejs C-py C-rb I-defect
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
SeleniumHQ/selenium#18428 ·
Los mantenedores suelen responder en 1 día
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingPosiblemente ocupada @Liz-Lian la tomó hace 2 días. AbiertoC-rust I-defect
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
SeleniumHQ/selenium#18427 ·
Los mantenedores suelen responder en 1 día
Todos los issues de SeleniumHQ/selenium
Issues similares
-
area-integrations
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
? - Needs Triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NVIDIA/cudf-spark-jni#5598 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
oracle/graalvm-reachability-metadata#12264 ·
Los mantenedores suelen responder en 1 día
-
[source-facebook-pages] post stream never returns attachments.media_typePosiblemente ocupada @v-k-data la tomó hoy. Abiertoarea/connectors needs-triage type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
floci-io/floci#10107 · 1 comentario ·
Los mantenedores suelen responder en 1 día