v1.34.0
Highlights
-
New
Locator.and_
to create a locator that matches both locators.button = page.get_by_role("button").and_(page.get_by_title("Subscribe"))
-
Its now possible to set a global expect timeout and change the 5 second default:
from playwright.sync_api import expect expect.set_options(timeout=10_000)
-
New events
BrowserContext.on("console")
andBrowserContext.on("dialog")
to subscribe to any dialogs
and console messages from any page from the given browser context. Use the new propertiesConsoleMessage.page
andDialog.page
to pin-point event source.
Browser Versions
- Chromium 114.0.5735.26
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 113
- Microsoft Edge 113