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.42.0

    27 Feb 2024
    • Breaking

      ⚠️ Ubuntu 18 is not supported anymore.

    • Test tags

      New tag syntax for adding tags to the tests (@-tokens in the test title are still supported).

      test('test customer login', { tag: ['@fast', '@login'] }, async ({ page }) => {
        // ...
      });

      Use --grep command line option to run only tests with certain tags.

      npx playwright test --grep @fast
    • Annotating skipped tests

      New annotation syntax for test annotations allows annotating the tests that do not run.

      test('test full report', {
        annotation: [
          { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/23180' },
          { type: 'docs', description: 'https://playwright.dev/docs/test-annotations#tag-tests' },
        ],
      }, async ({ page }) => {
        // ...
      });
  2. 1.41.2

    1 Feb 2024
    • Chromium 121.0.6167.57

    • Mozilla Firefox 121.0

    • WebKit 17.4

  3. 1.41.1

    19 Jan 2024
    • Chromium 121.0.6167.57

    • Mozilla Firefox 121.0

    • WebKit 17.4

  4. 1.41.0

    16 Jan 2024
  5. 1.40.1

    28 Nov 2023
    • Chromium 120.0.6099.28

    • Mozilla Firefox 119.0

    • WebKit 17.4

  6. 1.40.0

    16 Nov 2023
  7. 1.39.0

    11 Oct 2023
  8. 1.38.1

    21 Sep 2023
    • Chromium 117.0.5938.62

    • Mozilla Firefox 117.0

    • WebKit 17.0

  9. 1.38.0

    13 Sep 2023
  10. 1.37.1

    17 Aug 2023
    • Chromium 116.0.5845.82

    • Mozilla Firefox 115.0

    • WebKit 17.0

  11. 1.37.0

    10 Aug 2023
    • Adding a new "blob" reporter to the config when running on CI:

      export default defineConfig({
        testDir: './tests',
        reporter: process.env.CI ? 'blob' : 'html',
      });

      The "blob" reporter will produce ".zip" files that contain all the information
      about the test run.

    • Copying all "blob" reports in a single shared location and running npx playwright merge-reports:

      npx playwright merge-reports --reporter html ./all-blob-reports
    • UI Mode now respects project dependencies. You can control which dependencies to respect by checking/unchecking them in a projects list.

  12. 1.36.2

    25 Jul 2023
    • Chromium 115.0.5790.75

    • Mozilla Firefox 115.0

    • WebKit 17.0

  13. 1.36.1

    14 Jul 2023
    • Chromium 115.0.5790.75

    • Mozilla Firefox 115.0

    • WebKit 17.0

  14. 1.36.0

    11 Jul 2023
    • Chromium 115.0.5790.75

    • Mozilla Firefox 115.0

    • WebKit 17.0

  15. 1.35.1

    15 Jun 2023
    • Chromium 115.0.5790.13

    • Mozilla Firefox 113.0

    • WebKit 16.4

  16. 1.35.0

    8 Jun 2023
    • Breaking

      playwright-core binary got renamed from playwright to playwright-core. So if you use playwright-core CLI, make sure to update the name:

      $ npx playwright-core install # the new way to install browsers when using playwright-core

      This change does not affect @playwright/test and playwright package users.

    • UI mode is now available in VSCode Playwright extension via a new "Show trace viewer" button:

      Playwright UI Mode

    • UI mode and trace viewer mark network requests handled with page.route() and browserContext.route() handlers, as well as those issued via the API testing:

      Trace Viewer

  17. 1.34.3

    25 May 2023
    • Chromium 114.0.5735.26

    • Mozilla Firefox 113.0

    • WebKit 16.4

  18. 1.34.2

    23 May 2023
    • Chromium 114.0.5735.26

    • Mozilla Firefox 113.0

    • WebKit 16.4

  19. 1.34.1

    23 May 2023
    • Chromium 114.0.5735.26

    • Mozilla Firefox 113.0

    • WebKit 16.4

  20. 1.34.0

    20 May 2023
    • Breaking

      npx playwright test no longer works if you install both playwright and @playwright/test. There's no need
      to install both, since you can always import browser automation APIs from @playwright/test directly:

      // automation.ts
      import { chromium, firefox, webkit } from '@playwright/test';
      /* ... */
    • Breaking

      Node.js 14 is no longer supported since it reached its end-of-life on April 30, 2023.

    • UI Mode now shows steps, fixtures and attachments:

  21. 1.33.0

    27 Apr 2023
    • Breaking

      The mcr.microsoft.com/playwright:v1.33.0 now serves a Playwright image based on Ubuntu Jammy.
      To use the focal-based image, please use mcr.microsoft.com/playwright:v1.33.0-focal instead.

    • Use locator.or() to create a locator that matches either of the two locators.
      Consider a scenario where you'd like to click on a "New email" button, but sometimes a security settings dialog shows up instead.
      In this case, you can wait for either a "New email" button, or a dialog and act accordingly:

      const newEmail = page.getByRole('button', { name: 'New' });
      const dialog = page.getByText('Confirm security settings');
      await expect(newEmail.or(dialog)).toBeVisible();
      if (await dialog.isVisible())
        await page.getByRole('button', { name: 'Dismiss' }).click();
      await newEmail.click();
    • Use new options hasNot and hasNotText in locator.filter()
      to find elements that do not match certain conditions.

      const rowLocator = page.locator('tr');
      await rowLocator
          .filter({ hasNotText: 'text in column 1' })
          .filter({ hasNot: page.getByRole('button', { name: 'column 2 button' }) })
          .screenshot();
  22. 1.32.3

    11 Apr 2023
    • Chromium 112.0.5615.29

    • Mozilla Firefox 111.0

    • WebKit 16.4

  23. 1.32.2

    3 Apr 2023
    • Chromium 112.0.5615.29

    • Mozilla Firefox 111.0

    • WebKit 16.4

  24. 1.32.1

    25 Mar 2023
    • Chromium 112.0.5615.29

    • Mozilla Firefox 111.0

    • WebKit 16.4

  25. 1.32.0

    22 Mar 2023
  26. 1.31.2

    2 Mar 2023
    • Chromium 111.0.5563.19

    • Mozilla Firefox 109.0

    • WebKit 16.4

  27. 1.31.1

    23 Feb 2023
    • Chromium 111.0.5563.19

    • Mozilla Firefox 109.0

    • WebKit 16.4

  28. 1.31.0

    21 Feb 2023
    • New property TestProject.dependencies to configure dependencies between projects.

      Using dependencies allows global setup to produce traces and other artifacts,
      see the setup steps in the test report and more.

      // playwright.config.ts
      import { defineConfig } from '@playwright/test';
      
      export default defineConfig({
        projects: [
          {
            name: 'setup',
            testMatch: /global.setup\.ts/,
          },
          {
            name: 'chromium',
            use: devices['Desktop Chrome'],
            dependencies: ['setup'],
          },
          {
            name: 'firefox',
            use: devices['Desktop Firefox'],
            dependencies: ['setup'],
          },
          {
            name: 'webkit',
            use: devices['Desktop Safari'],
            dependencies: ['setup'],
          },
        ],
      });
    • New assertion expect(locator).toBeInViewport() ensures that locator points to an element that intersects viewport, according to the intersection observer API.

      const button = page.getByRole('button');
      
      // Make sure at least some part of element intersects viewport.
      await expect(button).toBeInViewport();
      
      // Make sure element is fully outside of viewport.
      await expect(button).not.toBeInViewport();
      
      // Make sure that at least half of the element intersects viewport.
      await expect(button).toBeInViewport({ ratio: 0.5 });
    • New method defineConfig to be used in playwright.config.

  29. 1.30.0

    25 Jan 2023
    • Chromium 110.0.5481.38

    • Mozilla Firefox 108.0.2

    • WebKit 16.4

  30. 1.29.2

    6 Jan 2023
    • Chromium 109.0.5414.46

    • Mozilla Firefox 107.0

    • WebKit 16.4

  31. 1.29.1

    21 Dec 2022
    • Chromium 109.0.5414.46

    • Mozilla Firefox 107.0

    • WebKit 16.4

  32. 1.29.0

    16 Dec 2022
    • New method route.fetch() and new option json for route.fulfill():

      await page.route('**/api/settings', async route => {
        // Fetch original settings.
        const response = await route.fetch();
      
        // Force settings theme to a predefined value.
        const json = await response.json();
        json.theme = 'Solorized';
      
        // Fulfill with modified data.
        await route.fulfill({ json });
      });
    • New method locator.all() to iterate over all matching elements:

      // Check all checkboxes!
      const checkboxes = page.getByRole('checkbox');
      for (const checkbox of await checkboxes.all())
        await checkbox.check();
    • Locator.selectOption matches now by value or label:

      <select multiple>
        <option value="red">Red</div>
        <option value="green">Green</div>
        <option value="blue">Blue</div>
      </select>
      await element.selectOption('Red');
  33. 1.28.1

    23 Nov 2022
    • Chromium 108.0.5359.29

    • Mozilla Firefox 106.0

    • WebKit 16.4

  34. 1.28.0

    16 Nov 2022
    • Record at Cursor in VSCode. You can run the test, position the cursor at the end of the test and continue generating the test.

    • Live Locators in VSCode. You can hover and edit locators in VSCode to get them highlighted in the opened browser.

    • Live Locators in CodeGen. Generate a locator for any element on the page using "Explore" tool.

  35. 1.27.1

    12 Oct 2022
    • Chromium 107.0.5304.18

    • Mozilla Firefox 105.0.1

    • WebKit 16.0

  36. 1.27.0

    7 Oct 2022
  37. 1.26.1

    27 Sep 2022
    • Chromium 106.0.5249.30

    • Mozilla Firefox 104.0

    • WebKit 16.0

  38. 1.26.0

    20 Sep 2022
  39. 1.25.2

    7 Sep 2022
    • Chromium 105.0.5195.19

    • Mozilla Firefox 103.0

    • WebKit 16.0

  40. 1.25.1

    23 Aug 2022
    • Chromium 105.0.5195.19

    • Mozilla Firefox 103.0

    • WebKit 16.0

  41. 1.25.0

    11 Aug 2022
    • Breaking

      ⚠️ Ubuntu 18 is now deprecated and will not be supported as of Dec 2022.

    • New Playwright actions view

    • Pick selector
      You can pick selector right from a live page, before or after running a test

  42. 1.24.2

    29 Jul 2022
    • Chromium 104.0.5112.48

    • Mozilla Firefox 102.0

    • WebKit 16.0

  43. 1.24.1

    26 Jul 2022
    • Chromium 104.0.5112.48

    • Mozilla Firefox 102.0

    • WebKit 16.0

  44. 1.24.0

    21 Jul 2022
    • Chromium 104.0.5112.48

    • Mozilla Firefox 102.0

    • WebKit 16.0

  45. 1.23.4

    16 Jul 2022
    • Chromium 104.0.5112.20

    • Mozilla Firefox 100.0.2

    • WebKit 15.4

  46. 1.23.3

    13 Jul 2022
    • Chromium 104.0.5112.20

    • Mozilla Firefox 100.0.2

    • WebKit 15.4

  47. 1.23.2

    7 Jul 2022
    • Chromium 104.0.5112.20

    • Mozilla Firefox 100.0.2

    • WebKit 15.4

  48. 1.23.1

    30 Jun 2022
    • Chromium 104.0.5112.20

    • Mozilla Firefox 100.0.2

    • WebKit 15.4

  49. 1.23.0

    27 Jun 2022
    • Breaking

      200-299

    • Breaking

      300-399 (new)

    • Breaking

      400, 401, 402, 403 (new)

  50. 1.22.2

    21 May 2022
    • Chromium 102.0.5005.40

    • Mozilla Firefox 99.0.1

    • WebKit 15.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.