All Classes and Interfaces

Class
Description
Check if an element is absent from the DOM.
Retrieve accessibility information from the page or a specific element.
 
Builder for creating a cookie with various options.
Get the text of all options in a select element.
Make API requests within the browser session context.
Get attribute of an element.
Get an attribute value from all matching elements.
Represents the bounding box of an element.
A Screenplay ability that wraps the Playwright Browser object.
Factory for locating button elements using Playwright selectors.
Start capturing browser console messages for later analysis.
Represents a captured console message with its type, text, and location.
Start capturing network requests and responses for later analysis.
Represents a captured network request with its response.
Exception thrown when an actor cannot be instantiated or configured during the injection process.
This method clicks an element matching selector by performing the following steps: Find an element match matching selector.
Factory for locating checkbox elements using Playwright selectors.
Check for console errors and warnings, optionally failing the test if any are found.
Exception thrown when console messages are found and reportOnly is false.
Check if a checkbox or radio button is checked.
Clear an input field.
Clear all previously granted browser permissions.
This method clicks an element matching selector by performing the following steps: Find an element match matching selector.
Perform visual regression testing by comparing screenshots to baseline images.
The actual screenshot comparison implementation.
Query captured browser console messages.
Control the browser's clock for testing time-dependent features.
Questions about browser cookies.
Get the count of matching elements.
Get CSS classes of an element or check if it has a specific class.
Get the computed CSS value of an element.
Deselect all options from a multi-select dropdown.
Deselect an option from a multi-select dropdown by its index (0-based).
Deselect options from a multi-select dropdown by their value attributes.
Deselect an option from a multi-select dropdown by its visible text.
Deselect options from a multi-select dropdown by text, value or index.
Builder for deselecting all options.
Check if an element is disabled.
This method double clicks an element matching selector.
Query information about the most recently downloaded file.
Drag an element to another element (drag and drop).
Factory for locating dropdown (select) elements using Playwright selectors.
Check if an element is editable.
Get the bounding box (position and size) of an element.
Emulate different devices by setting viewport size, user agent, and device characteristics.
Check if an element is enabled.
Perform assertions about the state of elements, pages, and URLs using Playwright's native assertion API with built-in auto-retry.
 
Enter a text value into an input field.
Execute JavaScript on the current page.
Focus on an element or blur (unfocus) the currently focused element.
Check if an element has focus.
Questions about content within an iframe.
Generate a PDF document from the current page.
Grant browser permissions for testing features that require user consent.
Handle JavaScript dialogs (alert, confirm, prompt).
Hover over an element.
Factory for locating image elements using Playwright selectors.
Get the inner HTML of an element.
Factory for locating input field elements using Playwright selectors.
Intercept network requests and modify their behavior.
 
Evaluate JavaScript and return the result.
Factory for locating label elements using Playwright selectors.
Query information about the most recent API response.
Factory for locating link (anchor) elements using Playwright selectors.
Manage browser cookies - add, remove, or clear cookies.
Manage browser storage (localStorage and sessionStorage).
Browser navigation interactions - back, forward, refresh.
Query captured network requests.
 
 
 
 
Get the outer HTML of an element (including the element itself).
Get the number of open pages (tabs) in the browser context.
 
Dependency injector that creates actors with Playwright browser capabilities based on the PlaywrightCastMember annotation.
A Cast implementation that automatically provides actors with the ability to browse the web using Playwright.
Annotation to inject an Actor with the BrowseTheWebWithPlaywright ability into a test.
 
Collects and attaches failure evidence to Serenity reports.
Check if an element is present in the DOM.
Press keyboard key(s).
Factory for locating radio button elements using Playwright selectors.
Event to record a Playwright API request/response to the Serenity test step.
Remove previously registered network route handlers.
Report captured console messages to the Serenity report as evidence.
Restore browser session state (cookies, localStorage, sessionStorage) from a previously saved file.
Right-click (context click) on an element.
Save the current browser session state (cookies, localStorage, sessionStorage) to a file.
Comprehensive scrolling operations for both page-level and element scrolling.
Element scrolling with alignment options.
Scroll an element into view.
 
 
 
Get the text of the currently selected option in a select element.
Select an option from dropdown by text, value or index.
Get a list of select options from a dropdown
Set the browser's geolocation for testing location-based features.
Start Playwright tracing to capture screenshots, snapshots, and network activity.
Stop Playwright tracing and save the trace file.
Questions about browser storage (localStorage and sessionStorage).
Switch between browser pages (tabs) or open new ones.
Capture screenshots of the page or specific elements.
Perform a tap (touch) action on an element.
Locate an element on the page using a Playwright selector.
Builder for creating Target instances.
Return the inner text value of an element.
Get the text content of all matching elements.
Questions about the current web page state.
Uncheck a checkbox element.
Upload file using file chooser.
Get the value of an input element.
 
Exception thrown when a visual comparison fails because the screenshot differs from the baseline by more than the allowed threshold.
Wait for some element or state.
Wait for a file download while performing an action that triggers it.
Wait for a network response matching a pattern while performing an action.
Wait for elements or page states using Playwright's native waiting mechanisms.
Perform actions within an iframe.