Packages

playwright-chromium

1.65.1 · 13 Nov 2026Apache-2.0348.4k / weekRepositoryHomepagenpmAtom feed

Your version

175 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.65.1

    13 Nov 2026
    • Regression: Decorated class with a static field fails to load in 1.65 ("_initClass is not a function") with useDefineForClassFields: false

    • Bug: Test locations are one column off under Bun 1.4.4+

    • Chromium 159.0.8154.6

  2. 1.65.0

    5 Nov 2026
    • Breaking

      TypeScript class fields now follow useDefineForClassFields from your tsconfig.json, the same as tsc. It is enabled for ES2022 and later targets, and when target is not specified. A field initializer that reads a constructor parameter property now fails, because the initializer runs first:

      class LoginPage {
        // TypeError: Cannot read properties of undefined (reading 'getByRole')
        readonly submit = this.page.getByRole('button', { name: 'Submit' });
      
        constructor(private readonly page: Page) {}
      }

      Move the initialization to the constructor, or set "useDefineForClassFields": false in your tsconfig.json.

    • Breaking

      Actions such as locator.click(), locator.check(), locator.tap(), locator.fill(), locator.clear() and locator.selectOption() now wait for the element to be not inert. An action on an element with the inert attribute, or inside such an element, now times out if the element stays inert.

    • Breaking

      A sharded run now fails with "No tests found" when no tests match across all shards. Pass --pass-with-no-tests to allow this. An empty shard still passes when other shards have tests.

  3. 1.64.1

    14 Oct 2026
    • Bug: _electron.launch intermittently loses a packaged app's first window since 1.64.0

    • Regression: Chromium 155+ aborts a preflighted cross-origin redirect whenever any route is registered (net::ERR_ABORTED)

  4. 1.64.0

    7 Oct 2026
    • Breaking

      screen property is now forwarded from the device descriptors. If you use ...devices['Desktop Chrome'] and alike, window.screen and media queries now see the emulated screen size. You can opt-out by explicitly setting screen to undefined:

      // playwright.config.ts
      export default defineConfig({
        use: {
          ...devices['Desktop Chrome'],
          screen: undefined,
        },
      });
    • Breaking

      JSX in your test files now follows your tsconfig.json. Playwright compiles JSX in test files according to the jsx, jsxFactory, jsxFragmentFactory and jsxImportSource tsconfig options, and defaults to the automatic runtime from react/jsx-runtime.

    • Breaking

      --update-snapshots=missing now passes the test run. Tests that only create missing snapshots now pass in the 'missing' mode of testConfig.updateSnapshots, so that CI can generate new snapshots and verify the existing ones in a single run. The mode used when the option is not specified is now called 'default' and behaves as before: missing snapshots are written and the test fails.

  5. 1.63.0

    4 Sep 2026
  6. 1.62.1

    30 Jul 2026
    • Regression: Tsconfig "extends" bare specifier isn't resolved via node_modules walk-up like tsc (fatal since 1.62)

    • Regression: directory-form tsconfig project references ("path": "../pkg") fail to resolve (fatal since 1.62)

    • Accessibility snapshot drops button name when text is nested inside spans with aria-hidden SVG

  7. 1.62.0

    24 Jul 2026
    • Breaking

      ⚠️ Debian 11 is not supported anymore.

    • New option credentials includes the context's virtual WebAuthn Credentials (passkeys) in the storage state, so they can be persisted and re-seeded into later contexts.

    • New scroll option ("auto" | "none") on actions to opt out of Playwright's automatic scroll-into-view.

  8. 1.61.1

    23 Jun 2026
    • Bug: Expect.Extend matcher with same name as default matcher in same expect instance overrides default matchers implementation to custom matcher

    • Bug: Playwright UI mode: apiRequestContext._wrapApiCall reports unexpected number of bytes (same test passes in headed mode)

    • Bug: Trace viewer: message times in websockets are downscaled by 1000

  9. 1.61.0

    15 Jun 2026
  10. 1.60.0

    11 May 2026
  11. 1.59.1

    1 Apr 2026
    • [Windows] Reverted hiding console window when spawning browser processes, which caused regressions including broken codegen, --ui and show commands

  12. 1.59.0

    1 Apr 2026
    • Breaking

      Removed macOS 14 support for WebKit. We recommend upgrading your macOS version, or keeping an older Playwright version.

    • Breaking

      Removed @playwright/experimental-ct-svelte package.

    • Breaking

      junit test reporter now differentiates between types of errors, so some of the previous <failure>s are now reported as <error>s.

  13. 1.58.2

    6 Feb 2026
    • Chromium 145.0.7632.6

    • Mozilla Firefox 146.0.1

    • WebKit 26.0

  14. 1.58.1

    30 Jan 2026
    • Chromium 145.0.7632.6

    • Mozilla Firefox 146.0.1

    • WebKit 26.0

  15. 1.58.0

    23 Jan 2026
    • Breaking

      Removed _react and _vue selectors. See locators guide for alternatives.

    • Breaking

      Removed :light selector engine suffix. Use standard CSS selectors instead.

    • Breaking

      Option devtools from browserType.launch() has been removed. Use args: ['--auto-open-devtools-for-tabs'] instead.

  16. 1.57.0

    25 Nov 2025
  17. 1.56.1

    17 Oct 2025
    • Chromium 141.0.7390.37

    • Mozilla Firefox 142.0.1

    • WebKit 26.0

  18. 1.56.0

    6 Oct 2025
  19. 1.55.1

    23 Sep 2025
    • Chromium 140.0.7339.186

    • Mozilla Firefox 141.0

    • WebKit 26.0

  20. 1.55.0

    20 Aug 2025
    • Breaking

      ⚠️ Dropped support for Chromium extension manifest v2.

    • New Property testStepInfo.titlePath Returns the full title path starting from the test file, including test and step titles.

    • Automatic toBeVisible() assertions: Codegen can now generate automatic toBeVisible() assertions for common UI interactions. This feature can be enabled in the Codegen settings UI.

  21. 1.54.2

    1 Aug 2025
    • Chromium 139.0.7258.5

    • Mozilla Firefox 140.0.2

    • WebKit 26.0

  22. 1.54.1

    11 Jul 2025
    • Chromium 139.0.7258.5

    • Mozilla Firefox 140.0.2

    • WebKit 26.0

  23. 1.54.0

    10 Jul 2025
    • Deprecated

      Support for Node.js 18 has been deprecated, and will be removed in the future.

    • New cookie property partitionKey in browserContext.cookies() and browserContext.addCookies(). This property allows to save and restore partitioned cookies. See CHIPS MDN article for more information. Note that browsers have different support and defaults for cookie partitioning.

    • New option noSnippets to disable code snippets in the html report.

      import { defineConfig } from '@playwright/test';
      
      export default defineConfig({
        reporter: [['html', { noSnippets: true }]]
      });
  24. 1.53.2

    30 Jun 2025
    • Chromium 138.0.7204.23

    • Mozilla Firefox 139.0

    • WebKit 18.5

  25. 1.53.1

    18 Jun 2025
    • Chromium 138.0.7204.23

    • Mozilla Firefox 139.0

    • WebKit 18.5

  26. 1.53.0

    10 Jun 2025
    • New Steps in Trace Viewer and HTML reporter:

    • New option in 'html' reporter to set the title of a specific test run:

      import { defineConfig } from '@playwright/test';
      
      export default defineConfig({
        reporter: [['html', { title: 'Custom test run #1028' }]]
      });
    • New option kind in testInfo.snapshotPath() controls which snapshot path template is used.

  27. 1.52.0

    17 Apr 2025
    • Breaking

      Changes to glob URL patterns in methods like page.route():

    • Breaking

      Method route.continue() does not allow to override the Cookie header anymore. If a Cookie header is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use browserContext.addCookies().

    • Breaking

      macOS 13 is now deprecated and will no longer receive WebKit updates. Please upgrade to a more recent macOS version to continue benefiting from the latest WebKit improvements.

  28. 1.51.1

    17 Mar 2025
    • Chromium 134.0.6998.35

    • Mozilla Firefox 135.0

    • WebKit 18.4

  29. 1.51.0

    6 Mar 2025
    • New option indexedDB for browserContext.storageState() allows to save and restore IndexedDB contents. Useful when your application uses IndexedDB API to store authentication tokens, like Firebase Authentication.

      Here is an example following the authentication guide:

      // tests/auth.setup.ts
      import { test as setup, expect } from '@playwright/test';
      import path from 'path';
      
      const authFile = path.join(__dirname, '../playwright/.auth/user.json');
      
      setup('authenticate', async ({ page }) => {
        await page.goto('/');
        // ... perform authentication steps ...
      
        // make sure to save indexedDB
        await page.context().storageState({ path: authFile, indexedDB: true });
      });
    • New option contrast for methods page.emulateMedia() and browser.newContext() allows to emulate the prefers-contrast media feature.

    • New option failOnStatusCode makes all fetch requests made through the APIRequestContext throw on response codes other than 2xx and 3xx.

  30. 1.50.1

    31 Jan 2025
    • Chromium 133.0.6943.16

    • Mozilla Firefox 134.0

    • WebKit 18.2

  31. 1.50.0

    23 Jan 2025
    • Breaking

      expect(locator).toBeEditable() and locator.isEditable() now throw if the target element is not <input>, <select>, or a number of other editable elements.

    • Breaking

      Option testConfig.updateSnapshots now updates all snapshots when set to all, rather than only the failed/changed snapshots. Use the new enum changed to keep the old functionality of only updating the changed snapshots.

    • New option timeout allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test.

      test('some test', async ({ page }) => {
        await test.step('a step', async () => {
          // This step can time out separately from the test
        }, { timeout: 1000 });
      });
  32. 1.49.1

    10 Dec 2024
    • Chromium 131.0.6778.33

    • Mozilla Firefox 132.0

    • WebKit 18.2

  33. 1.49.0

    18 Nov 2024
    • Breaking

      chrome, chrome-dev, chrome-beta, or chrome-canary

    • Breaking

      msedge, msedge-dev, msedge-beta, or msedge-canary

    • Breaking

      There will be no more updates for WebKit on Ubuntu 20.04 and Debian 11. We recommend updating your OS to a later version.

  34. 1.48.2

    25 Oct 2024
    • Chromium 130.0.6723.19

    • Mozilla Firefox 130.0

    • WebKit 18.0

  35. 1.48.1

    16 Oct 2024
    • Chromium 130.0.6723.19

    • Mozilla Firefox 130.0

    • WebKit 18.0

  36. 1.48.0

    8 Oct 2024
    • New "copy" buttons for annotations and test location in the HTML report.

    • Route method calls like route.fulfill() are not shown in the report and trace viewer anymore. You can see which network requests were routed in the network tab instead.

    • New "Copy as cURL" and "Copy as fetch" buttons for requests in the network tab.

  37. 1.47.2

    20 Sep 2024
    • Chromium 129.0.6668.29

    • Mozilla Firefox 130.0

    • WebKit 18.0

  38. 1.47.1

    13 Sep 2024
    • Chromium 129.0.6668.29

    • Mozilla Firefox 130.0

    • WebKit 18.0

  39. 1.47.0

    5 Sep 2024
    • Filtering by asset type and URL

    • Better display of query string parameters

    • Preview of font assets

  40. 1.46.1

    16 Aug 2024
    • Chromium 128.0.6613.18

    • Mozilla Firefox 128.0

    • WebKit 18.0

  41. 1.46.0

    5 Aug 2024
    • Call router.route(url, handler) that behaves similarly to page.route().

    • Call router.use(handlers) and pass MSW library request handlers to it.

    • Test annotations are now shown in UI mode.

  42. 1.45.3

    22 Jul 2024
    • Chromium 127.0.6533.5

    • Mozilla Firefox 127.0

    • WebKit 17.4

  43. 1.45.2

    16 Jul 2024
    • Chromium 127.0.6533.5

    • Mozilla Firefox 127.0

    • WebKit 17.4

  44. 1.45.1

    2 Jul 2024
    • Chromium 127.0.6533.5

    • Mozilla Firefox 127.0

    • WebKit 17.4

  45. 1.45.0

    24 Jun 2024
    • Testing with predefined time;

    • Keeping consistent time and timers;

    • Monitoring inactivity;

  46. 1.44.1

    23 May 2024
    • Chromium 125.0.6422.14

    • Mozilla Firefox 125.0.1

    • WebKit 17.4

  47. 1.44.0

    6 May 2024
    • expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:

      const locator = page.getByRole('button');
      await expect(locator).toHaveAccessibleName('Submit');
    • expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:

      const locator = page.getByRole('button');
      await expect(locator).toHaveAccessibleDescription('Upload a photo');
    • expect(locator).toHaveRole() checks if the element has the specified ARIA role:

      const locator = page.getByTestId('save-button');
      await expect(locator).toHaveRole('button');
  48. 1.43.1

    12 Apr 2024
    • Chromium 124.0.6367.29

    • Mozilla Firefox 124.0

    • WebKit 17.4

  49. 1.43.0

    4 Apr 2024
    • Method browserContext.clearCookies() now supports filters to remove only some cookies.

      // Clear all cookies.
      await context.clearCookies();
      // New: clear cookies with a particular name.
      await context.clearCookies({ name: 'session-id' });
      // New: clear cookies for a particular domain.
      await context.clearCookies({ domain: 'my-origin.com' });
    • New mode retain-on-first-failure for testOptions.trace. In this mode, trace is recorded for the first run of each test, but not for retires. When test run fails, the trace file is retained, otherwise it is removed.

      import { defineConfig } from '@playwright/test';
      
      export default defineConfig({
        use: {
          trace: 'retain-on-first-failure',
        },
      });
    • New property testInfo.tags exposes test tags during test execution.

      test('example', async ({ page }) => {
        console.log(test.info().tags);
      });
  50. 1.42.1

    2 Mar 2024
    • Chromium 123.0.6312.4

    • Mozilla Firefox 123.0

    • WebKit 17.4

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.