Packages

playwright-chromium

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

Upgrading playwright-chromium From 0.10.0 to 0.11.0

1 release in betweenevery note read

Other targets from 0.10.0Newest 0.x0.18.0Latest1.65.1
  1. 0.10.0yours
  2. 0.11.0target
2
changes to make
0
advisories fixed
12
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.11.0
  • Breaking0.11.0

Release by release

  1. 0.11.0

    Migration needed14 Feb 202012 new
    • Breaking

      browserType.launch - default mode for testing. Each test should start with browser.newContext to obtain a clean environment. All new contexts are ephemeral, not persisted into the profile directory. It no longer accepts userDataDir option. There is no notion of the defaultContext anymore. (Note: you will still see an empty default context window when you run playwright in the headful mode. This is a side-effect of running the stock browsers. We are working on changing this behavior upstream so that clear Playwright run in this mode has no open windows on launch.)

    • Breaking

      Request interception

    • New

      New browser.newPage - convenience method that creates a new context and a page inside that context. Closing the page closes the context. Useful when you only run single-page tests in your contexts.

    • New

      New page.check() and page.uncheck() - toggle your checkboxes.

7 other lines we could not sort, mostly version bumps
  • Chromium 82.0.4057.0. Passes 99% (792/802) tests

    0.11.0
  • Webkit 13.0.4. Passes 99% (792/802) tests

    0.11.0
  • Firefox 73.0b13. Passes 95% (763/802) tests

    0.11.0
  • browserType.launchPersistent - default mode for headful operations and those reusing the user profile. Instead of returning the Browser, it returns the BrowserContext loaded from the user data dir right away. It requires userDataDir to be passed as the first parameter.

    0.11.0
  • browserType.launchServer - returns a BrowserServer (formerly known as BrowserApp) that can be connected to via the browserType.connect. Multiple clients can connect to the same server. Closing the Browser disconnects from the server. This mode is useful for certain test runner setups.

    0.11.0
  • page.setViewport is renamed to page.setViewportSize. It only allows resizing the viewport, does not allow changing it from mobile to desktop on the fly. Old method was making an implicit reload when switching device type and we did not want that to happen.

    0.11.0
  • page.viewport() is renamed to page.viewportSize()

    0.11.0

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.