github microsoft/playwright-dotnet v1.21.0

latest releases: v1.45.0, v1.44.0, v1.43.0...
2 years ago

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.ClickAsync("role=button[name='log in']")

    To use role selectors, make sure to pass PLAYWRIGHT_EXPERIMENTAL_FEATURES=1 environment variable.

    Read more in our documentation.

  • New scale option in Page.ScreenshotAsync for smaller sized screenshots.

  • New caret option in Page.ScreenshotAsync to control text caret. Defaults to "hide".

  • We now ship a designated .NET docker image mcr.microsoft.com/playwright/dotnet. Read more in our documentation.

Behavior Changes

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

Don't miss a new playwright-dotnet release

NewReleases is sending notifications on new releases.