Skip to main content

Selenium Autopilot

Selenium Autopilot helps you create and run browser tests for your web application. It creates a test plan from your written requirements, generates pytest tests, and runs them in Chrome. It does not host or change your application.

What you need

  • Windows, Visual Studio Code, and its Python extension
  • Python 3.10 or newer and Google Chrome
  • Git and uv
  • An OpenAI-compatible AI provider for creating plans and tests (a local provider is also supported)

Download and open in VS Code

Download the ZIP from the GitHub repository using Code > Download ZIP, then extract it. In VS Code, choose File > Open Folder and select the extracted project folder.

Or clone it in a terminal:

git clone https://github.com/adibkhaled/selenium-mcp-server.git
code selenium-mcp-server

In the VS Code terminal, install the project dependencies:

uv sync

Create and run tests for your web app

  1. Write down the page URL and the user actions and results you want to test. Include acceptance criteria and use a test environment, not production. Do not include real passwords or other secrets. You can start with the sample requirements.

  2. Create a local .env file from the example:

    Copy-Item .env.example .env
    

    Set AUTOPILOT_LLM_API_KEY in .env to your provider key and keep the file private; .env is excluded from Git. The default OpenAI-compatible provider uses https://api.openai.com/v1 and gpt-4o-mini. For a local provider, set AUTOPILOT_LLM_BASE_URL and AUTOPILOT_LLM_MODEL instead; for example, a local OpenAI-compatible service might use http://localhost:11434/v1. Existing process environment variables take precedence, which allows deployment and GitHub Actions settings to override local defaults.

  3. Create a test plan. Replace the sample path with your requirements file:

    uv run autopilot plan --requirements examples/requirements/login.md --output artifacts/test-plan.json
    
  4. Review the plan, then generate the tests:

    uv run autopilot generate --plan artifacts/test-plan.json --output generated_tests
    
  5. Review the generated tests. Update any example URLs and test data for your approved test environment, then run them:

    uv run --directory generated_tests pytest
    

Planning and generation require the configured provider. Review generated tests before running them; generation does not guarantee that they are correct. To rerun a command that would overwrite an existing output, first review the existing files and use its --overwrite option.

For the other available features and development phases, see FEATURES.txt.

Metadata

Release files for selenium-autopilot 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for selenium-autopilot 0.1.0
File Size Uploaded Provenance Actions
selenium_autopilot-0.1.0.tar.gz 37.5 kB With provenance Details for selenium_autopilot-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for selenium-autopilot 0.1.0
File Interpreter ABI Platform Actions
selenium_autopilot-0.1.0-py3-none-any.whl Python 3 none any Details for selenium_autopilot-0.1.0-py3-none-any.whl

Total release size: 71.2 kB

Release files / selenium_autopilot-0.1.0.tar.gz

Download URL selenium_autopilot-0.1.0.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8ff892027b7e5808bab825b32ba564900c5c56d57473c3a6845150df27e53609
BLAKE2b-256 checksum
How to use checksums
400eaa1e3cfb5bd7fbe49e26d42a43f5018dec2e6488ef25103d8dcbed5ca907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / selenium_autopilot-0.1.0-py3-none-any.whl

Download URL selenium_autopilot-0.1.0-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
547437e16c03249ccf562ea16ba1b2d3c1607e0156d33bd94b879142edd42140
BLAKE2b-256 checksum
How to use checksums
4c1fd687b4a6daad37811b4d72f3e58a827e835f7cb8d52ee65867b024d30f09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for selenium-autopilot 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for selenium_autopilot-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page