AI-powered Selenium test automation framework with MCP integration
pip install selenium-autopilot==0.1.0 Copy PIP instructions
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.
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.
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 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.
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.
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 Review the plan, then generate the tests:
uv run autopilot generate --plan artifacts/test-plan.json --output generated_tests 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.
All 2 files in this release have provenance metadata.
AI MCP browser-automation pytest selenium test-automation test-generation
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
All 2 files in this release have been uploaded with provenance metadata.
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.




