playwright-webkit
1.65.1 · 13 Nov 2026Apache-2.0146.1k / weekRepositoryHomepagenpmAtom feed
1.65.1 is the newest release of 1.x.
In short
4 new8 changed
Release note
release 1.21
Playwright v1.21 updates
Highlights
New experimental role selectors that allow selecting elements by their ARIA role, ARIA attributes and accessible name.
// Click a button with accessible name "log in" await page.click('role=button[name="log in"]')To use role selectors, make sure to pass
PLAYWRIGHT_EXPERIMENTAL_FEATURES=1environment variable:// playwright.config.js process.env.PLAYWRIGHT_EXPERIMENTAL_FEATURES = '1'; module.exports = { /* ... */ };Read more in our documentation.
New
scaleoption inPage.screenshotfor smaller sized screenshots.New
caretoption inPage.screenshotto control text caret. Defaults to"hide".New method
expect.pollto wait for an arbitrary condition:// Poll the method until it returns an expected result. await expect.poll(async () => { const response = await page.request.get('https://api.example.com'); return response.status(); }).toBe(200);expect.pollsupports most synchronous matchers, like.toBe(),.toContain(), etc.
Read more in our documentation.
Behavior Changes
ESM support when running TypeScript tests is now enabled by default. The
PLAYWRIGHT_EXPERIMENTAL_TS_ESMenv variable is
no longer required.The
mcr.microsoft.com/playwrightdocker image no longer contains Python. Please usemcr.microsoft.com/playwright/python
as a Playwright-ready docker image with pre-installed Python.Playwright now supports large file uploads (100s of MBs) via
Locator.setInputFilesAPI.
Browser Versions
Chromium 101.0.4951.26
Mozilla Firefox 98.0.2
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 100
Microsoft Edge 100
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.