Uses of Package
net.serenitybdd.screenplay.playwright.interactions
Packages that use net.serenitybdd.screenplay.playwright.interactions
Package
Description
-
Classes in net.serenitybdd.screenplay.playwright.interactions used by net.serenitybdd.screenplay.playwright.interactionsClassDescriptionBuilder for creating a cookie with various options.Start capturing browser console messages for later analysis.Start capturing network requests and responses for later analysis.This method clicks an element matching selector by performing the following steps: Find an element match matching selector.Check for console errors and warnings, optionally failing the test if any are found.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.Deselect options from a multi-select dropdown by text, value or index.Builder for deselecting all options.This method double clicks an element matching selector.Drag an element to another element (drag and drop).Emulate different devices by setting viewport size, user agent, and device characteristics.Enter a text value into an input field.Execute JavaScript on the current page.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.Press keyboard key(s).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.Element scrolling with alignment options.Scroll an element into view.Select an option from dropdown by text, value or index.Set the browser's geolocation for testing location-based features.Perform a tap (touch) action on an element.Uncheck a checkbox element.Upload file using file chooser.Wait for some element or state.Wait for a file download while performing an action that triggers it.Perform actions within an iframe.
-
Classes in net.serenitybdd.screenplay.playwright.interactions used by net.serenitybdd.screenplay.playwright.questionsClassDescriptionRepresents a captured console message with its type, text, and location.Represents a captured network request with its response.