Skip to content

v1.19.0

Compare
Choose a tag to compare
@aslushnikov aslushnikov released this 16 Feb 00:08
23ad371

Version 1.19

Locator Updates

Locator now supports a has option that makes sure it contains another locator inside:

page.locator("article", new Page.LocatorOptions().setHas(page.locator(".highlight"))).click();

The snippet above will select article that has highlight in it and will press the button in it.
Read more in locator documentation

Other Updates

Browser Versions

  • Chromium 100.0.4863.0
  • Mozilla Firefox 96.0.1
  • WebKit 15.4

This version was also tested against the following stable channels:

  • Google Chrome 98
  • Microsoft Edge 98