playwright-chromium
1.65.1 · 13 Nov 2026Apache-2.0348.4k / weekRepositoryHomepagenpmAtom feed
Upgrading playwright-chromium From 1.26.1 to 1.27.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 4
- new
- 0
- fixes
Release by release
- New
workersoption in theplaywright.config.tsnow accepts a percentage string to use some of the available CPUs. You can also pass it in the command line: - New
New options
hostandportfor the html reporter. - New
New field
FullConfig.configFileis available to test reporters, specifying the path to the config file if any. - New
As announced in v1.25, Ubuntu 18 will not be supported as of Dec 2022. In addition to that, there will be no WebKit updates on Ubuntu 18 starting from the next Playwright release.
- New
14 other lines we could not sort, mostly version bumps
- 1.27.0
page.getByText(text, options)to locate by text content. - 1.27.0
page.getByRole(role, options)to locate by ARIA role, ARIA attributes and accessible name. - 1.27.0
page.getByLabel(label, options)to locate a form control by associated label's text. - 1.27.0
page.getByPlaceholder(placeholder, options)to locate an input by placeholder. - 1.27.0
page.getByAltText(altText, options)to locate an element, usually image, by its text alternative. - 1.27.0
page.getByTitle(title, options)to locate an element by its title. - 1.27.0
expect(locator).toHaveAttribute(name, value, options)with an empty value does not match missing attribute anymore. For example, the following snippet will succeed whenbuttondoes not have adisabledattribute. - 1.27.0
Command line options
--grepand--grep-invertpreviously incorrectly ignoredgrepandgrepInvertoptions specified in the config. Now all of them are applied together. - 1.27.0
JSON reporter path resolution is performed relative to the config directory instead of the current working directory:
- 1.27.0
Chromium 107.0.5304.18
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.