ConstChecks if a locator contains the given class.
Clicks a label to select its input and then types the given text.
Expects that all matches for the given locator are either visible or hidden (controlled
by isVisible).
Find the matching (or first) element with the "option" role.
Run the trigger and catch a new page or a new download (sometimes Playwright inconsistently chooses on or the other).
Navigate to a URL in Playwright via given paths.
Read from a page's local storage (using page.evaluate).
Screenshot methods.
Similar to Playwright's expect().toHaveScreenshot but allows images to have
different sizes and has default comparison threshold options that are wide enough to
allow testing between different operating systems without failure (usually).
Get the path to save the given screenshot file name to.
Take and immediately save a screenshot.
A suite of Playwright test helpers. This is only accessible within a Playwright test runtime. If accessed outside of a Playwright runtime, it'll be an Error instead of a collection of test helpers.