github microsoft/playwright-dotnet v1.22.0

latest releases: v1.47.0, v1.46.0, v1.45.1...
2 years ago

Highlights

  • 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']")

    Read more in our documentation.

  • New Locator.Filter API to filter an existing locator

    var buttons = page.Locator("role=button");
    // ...
    var submitLocator = buttons.Filter(new LocatorFilterOptions { HasText = "Sign up" });
    await submitLocator.ClickAsync();

Don't miss a new playwright-dotnet release

NewReleases is sending notifications on new releases.