{
  "name": "Playwright vs Selenium: a sourced comparison table",
  "description": "Playwright and Selenium are both Apache-2.0 browser automation projects. Playwright gives one API over pinned Chromium, Firefox and WebKit builds with auto-waiting and its own runner; Selenium implements W3C WebDriver in six languages and scales out with Selenium Grid.",
  "url": "https://www.agentsandbox.host/p/playwright-vs-selenium/",
  "as_of": "2026-11-26",
  "method": "Every cell was read on the checked date from each project's own documentation, release notes or package registry, listed under the table; each row links the project's main page.",
  "columns": [
    {
      "key": "tool",
      "label": "Tool",
      "type": "text"
    },
    {
      "key": "license",
      "label": "License",
      "type": "text"
    },
    {
      "key": "version",
      "label": "Latest release checked",
      "type": "text"
    },
    {
      "key": "languages",
      "label": "Official languages",
      "type": "text"
    },
    {
      "key": "browsers",
      "label": "Browsers",
      "type": "text"
    },
    {
      "key": "standard",
      "label": "How it drives the browser",
      "type": "text"
    },
    {
      "key": "waiting",
      "label": "Waiting for the page",
      "type": "text"
    },
    {
      "key": "runner",
      "label": "Test runner",
      "type": "text"
    },
    {
      "key": "one_machine",
      "label": "Parallel on one machine",
      "type": "text"
    },
    {
      "key": "many_machines",
      "label": "Across machines",
      "type": "text"
    },
    {
      "key": "drivers",
      "label": "Browser and driver downloads",
      "type": "text"
    },
    {
      "key": "docker",
      "label": "Official Docker image",
      "type": "text"
    }
  ],
  "rows": [
    {
      "tool": "Playwright",
      "license": "Apache-2.0",
      "version": "1.65.1 (Node.js), 1.65.2 (Python)",
      "languages": "JavaScript and TypeScript, Python, Java, .NET",
      "browsers": "Chromium, Firefox and WebKit builds pinned to each release; Chrome and Edge through channels",
      "standard": "Its own library with one API for all three engines",
      "waiting": "Actions wait for actionability checks; web-first assertions retry for 5 seconds by default",
      "runner": "Playwright Test for Node.js; the pytest plugin for Python; JUnit, TestNG, MSTest, NUnit or xUnit elsewhere",
      "one_machine": "Worker processes, by default half the logical CPU cores, each with its own browser",
      "many_machines": "Sharding with --shard=x/y, then merge-reports to combine the results",
      "drivers": "npx playwright install downloads the browser builds a release needs",
      "docker": "mcr.microsoft.com/playwright, tags such as v1.65.1-noble",
      "source": "https://playwright.dev/docs/intro",
      "checked": "2026-11-26"
    },
    {
      "tool": "Selenium",
      "license": "Apache-2.0",
      "version": "4.54.0",
      "languages": "Java, Python, C#, Ruby, JavaScript, Kotlin",
      "browsers": "Chrome, Edge, Firefox, Safari and Internet Explorer through their drivers",
      "standard": "An implementation of the W3C WebDriver specification",
      "waiting": "Implicit wait defaults to 0; explicit waits poll for a condition you write",
      "runner": "Your language's runner; the docs show JUnit, pytest, MSTest, RSpec and Mocha",
      "one_machine": "Through your test framework, for example pytest-xdist",
      "many_machines": "Selenium Grid routes sessions to Nodes on many machines",
      "drivers": "Selenium Manager, a Rust command-line tool the bindings use by default",
      "docker": "selenium/standalone-chrome, selenium/hub and selenium/node-chrome, tags such as 4.54.0-20261124",
      "source": "https://www.selenium.dev/documentation/",
      "checked": "2026-11-26"
    }
  ]
}
