10 Open Source Alternatives to Selenium

There are 10 open-source alternatives to Selenium in this directory. The most popular is Puppeteer with 94.1k GitHub stars, followed by Playwright(86.1k stars). All are open source, free to use, and many can be self-hosted.

Quick comparison

Open-source alternatives to Selenium, ranked by GitHub stars
#ToolStarsLanguageLicense
1Puppeteer

A Node library providing a high-level API to control headless Chrome or Firefox browsers over the DevTools Protocol.

94.1kTypeScriptApache License 2.0
2Playwright

A comprehensive framework for Web Testing and Automation, enabling robust testing of Chromium, Firefox, and WebKit through a unified API.

86.1kTypeScriptApache License 2.0
3Cypress

Cypress is a fast, easy, and reliable testing tool for anything that runs in a browser, built to make end-to-end testing enjoyable and efficient.

49.6kTypeScriptMIT License
4Neko

A self-hosted virtual browser that runs in Docker, leveraging WebRTC for video streaming and remote collaboration.

20.4kGoApache License 2.0
5Browserless

Deploy and manage headless browsers in Docker, easily run on our cloud or bring your own infrastructure. Ideal for automation and testing needs, with free options for non-commercial use.

12.9kTypeScriptOther
6Puppeteer-extra

Puppeteer Extra allows you to extend Puppeteer's functionality by using plugins to teach it new tricks. It's designed to make puppeteer more powerful and flexible through an easy plugin framework.

7.3kJavaScriptMIT License
7Scrapling

๐Ÿ•ท๏ธ An undetectable, powerful, flexible, high-performance Python library to make Web Scraping Easy and Effortless as it should be!

6.4kPythonBSD 3-Clause "New" or "Revised" License
8Cypress Realworld App

A demonstration payment application showcasing real-world Cypress testing methods, patterns, and workflows.

5.9kTypeScriptMIT License
9Mcp

Browser MCP is a Model Context Provider (MCP) server enabling AI applications to directly control and interact with your browser for advanced automation and integration tasks.

5.1kTypeScriptApache License 2.0
10AnyCrawl

AnyCrawl is a Node.js and TypeScript-powered web crawler that transforms websites into data suitable for large language models (LLMs) and extracts structured SERP results from search engines like Google, Bing, and Baidu. It features native multi-threading for efficient, bulk-scale processing.

2.5kTypeScriptMIT License

All open-source alternatives to Selenium

Frequently asked questions

What are the best open-source alternatives to Selenium?

The top three are Puppeteer(94.1k stars), Playwright(86.1k stars), Cypress(49.6k stars). All are open source and free to use.

Are these alternatives to Selenium free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to Selenium?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.