Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

Absence - Class in net.serenitybdd.screenplay.playwright.questions
Check if an element is absent from the DOM.
AccessibilitySnapshot - Class in net.serenitybdd.screenplay.playwright.questions
Retrieve accessibility information from the page or a specific element.
ActorCannotUsePlaywrightException - Exception in net.serenitybdd.screenplay.playwright.abilities
 
ActorCannotUsePlaywrightException(String) - Constructor for exception net.serenitybdd.screenplay.playwright.abilities.ActorCannotUsePlaywrightException
 
actorNamed(String, Ability...) - Method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
 
addCookie(Cookie) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Add a cookie to the current context.
addCookie(String, String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ManageCookies
Add a cookie with the given name and value.
AddCookieBuilder - Class in net.serenitybdd.screenplay.playwright.interactions
Builder for creating a cookie with various options.
addCookies(List<Cookie>) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Add multiple cookies to the current context.
addCookies(List<Cookie>) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ManageCookies
Add multiple cookies at once.
all() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ClearPermissions
Clear all granted permissions.
all() - Static method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
Deselect all currently selected options.
all() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ReportConsoleMessages
Report all captured console messages to the Serenity report.
all() - Static method in class net.serenitybdd.screenplay.playwright.network.RemoveRoutes
Remove all registered route handlers.
all() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get all captured console message texts.
all() - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get all captured network requests.
allCaptured() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get all captured console messages as full objects.
allCookies() - Static method in class net.serenitybdd.screenplay.playwright.questions.CookieValue
Get all cookies.
allLocalStorageItems() - Static method in class net.serenitybdd.screenplay.playwright.questions.StorageValue
Get all items from localStorage as a Map.
AllOptionTexts - Class in net.serenitybdd.screenplay.playwright.questions
Get the text of all options in a select element.
allResourcesToLoad() - Static method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for the page to fully load (including all resources).
allSessionStorageItems() - Static method in class net.serenitybdd.screenplay.playwright.questions.StorageValue
Get all items from sessionStorage as a Map.
allTextsOf(String) - Method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Get text from all matching elements within the frame.
allWithRole(AriaRole) - Static method in class net.serenitybdd.screenplay.playwright.questions.AccessibilitySnapshot
Get all elements with the specified ARIA role.
andAbort() - Method in class net.serenitybdd.screenplay.playwright.network.InterceptNetwork
Abort matching requests (useful for blocking resources).
andAlignToBottom() - Method in class net.serenitybdd.screenplay.playwright.interactions.Scroll.ScrollToElement
Align the element to the bottom of the viewport after scrolling.
andAlignToCenter() - Method in class net.serenitybdd.screenplay.playwright.interactions.Scroll.ScrollToElement
Align the element to the center of the viewport after scrolling.
andAlignToTop() - Method in class net.serenitybdd.screenplay.playwright.interactions.Scroll.ScrollToElement
Align the element to the top of the viewport after scrolling.
andContinueWithHeader(String, String) - Method in class net.serenitybdd.screenplay.playwright.network.InterceptNetwork
Continue the request with an additional header.
andHandle(Consumer<Route>) - Method in class net.serenitybdd.screenplay.playwright.network.InterceptNetwork
Handle requests with a custom route handler.
andReportOnly() - Method in class net.serenitybdd.screenplay.playwright.interactions.CheckConsole
Report any found messages to Serenity but don't fail the test.
andRespondWith(String) - Method in class net.serenitybdd.screenplay.playwright.network.InterceptNetwork
Respond with a custom body.
andRespondWithJson(Object) - Method in class net.serenitybdd.screenplay.playwright.network.InterceptNetwork
Respond with a JSON body (automatically serialized and content-type set).
andSaveAs(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Generate PDF and save with the specified filename in the default output directory.
andSaveAs(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StopTracing
Stop tracing and save with the given name to the default traces directory.
andSaveAs(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitForDownload
Save the downloaded file with the specified filename in the default downloads directory.
andSaveTo(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Generate PDF and save to the specified path.
andSaveTo(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StopTracing
Stop tracing and save to the specified path.
andSaveTo(Path) - Static method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Generate PDF and save to the specified path.
andSaveTo(Path) - Static method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StopTracing
Stop tracing and save to the specified path.
andSaveTo(Path) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitForDownload
Save the downloaded file to the specified path.
andThen(Consumer<Locator>) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitFor
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Absence
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.AccessibilitySnapshot
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.AllOptionTexts
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.AttributeOfAll
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Checked
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Count
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.CSSClasses
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.CSSValue
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Disabled
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Editable
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.ElementBounds
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Enabled
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Focused
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.InnerHTML
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.JavaScript
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.OuterHTML
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.PageCount
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Presence
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.SelectedOptionText
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.TextOfAll
 
answeredBy(Actor) - Method in class net.serenitybdd.screenplay.playwright.questions.Value
 
APIRequest - Class in net.serenitybdd.screenplay.playwright.interactions.api
Make API requests within the browser session context.
as(Actor) - Static method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
asActor(Actor) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
asBooleanFrom(EnvironmentVariables) - Method in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
 
asDoubleFrom(EnvironmentVariables) - Method in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
 
asMobile() - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Mark as a mobile device (enables mobile-specific behaviors).
asSelector() - Method in class net.serenitybdd.screenplay.playwright.Target
Get the raw selector string.
asStringFrom(EnvironmentVariables) - Method in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
 
async(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ExecuteJavaScript
Execute JavaScript asynchronously.
Attribute - Class in net.serenitybdd.screenplay.playwright.questions
Get attribute of an element.
Attribute() - Constructor for class net.serenitybdd.screenplay.playwright.questions.Attribute
 
attributeOf(String, String) - Method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Get the attribute value of an element within the frame.
AttributeOfAll - Class in net.serenitybdd.screenplay.playwright.questions
Get an attribute value from all matching elements.

B

back() - Static method in class net.serenitybdd.screenplay.playwright.interactions.Navigate
Navigate back in browser history.
BASE_URL - Enum constant in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Base URL used to construct full URLs via page.navigate("/path").
beginPerformance(ActorBeginsPerformanceEvent) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
blur() - Static method in class net.serenitybdd.screenplay.playwright.interactions.Focus
Remove focus from the currently focused element.
blurElement(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Focus
Remove focus from a specific element.
body() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the response body as a string.
bodyAsBytes() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the response body as bytes.
BoundingBox - Class in net.serenitybdd.screenplay.playwright.questions
Represents the bounding box of an element.
BoundingBox(double, double, double, double) - Constructor for class net.serenitybdd.screenplay.playwright.questions.BoundingBox
 
BROWSER_TYPE - Enum constant in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
 
browserType() - Element in annotation interface net.serenitybdd.screenplay.playwright.annotations.PlaywrightCastMember
The browser type to use.
BrowseTheWebWithPlaywright - Class in net.serenitybdd.screenplay.playwright.abilities
A Screenplay ability that wraps the Playwright Browser object.
BrowseTheWebWithPlaywright(EnvironmentVariables) - Constructor for class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
BrowseTheWebWithPlaywright(EnvironmentVariables, BrowserType.LaunchOptions) - Constructor for class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
BrowseTheWebWithPlaywright(EnvironmentVariables, BrowserType.LaunchOptions, Browser.NewContextOptions, String) - Constructor for class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
BrowseTheWebWithPlaywright(EnvironmentVariables, BrowserType.LaunchOptions, String) - Constructor for class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
Button - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating button elements using Playwright selectors.
by(int, int) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Scroll
Scroll by the specified delta amounts.
byAccepting() - Static method in class net.serenitybdd.screenplay.playwright.interactions.HandleDialog
Accept the next dialog (clicks OK/Accept).
byDismissing() - Static method in class net.serenitybdd.screenplay.playwright.interactions.HandleDialog
Dismiss the next dialog (clicks Cancel/Dismiss).
byEntering(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.HandleDialog
Enter text into the next prompt dialog and accept it.
byIndex(int) - Static method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
Deselect an option by its index (0-based).
byIndex(int) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SelectFromOptions
 
byValue(String...) - Static method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
Deselect options by their value attributes.
byValue(String...) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SelectFromOptions
 
byVisibleText(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
Deselect an option by its visible text.
byVisibleText(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SelectFromOptions
 

C

captureAndAttach(Actor, Page) - Static method in class net.serenitybdd.screenplay.playwright.evidence.PlaywrightFailureEvidence
Collect and attach failure evidence from the actor's session.
CaptureConsoleMessages - Class in net.serenitybdd.screenplay.playwright.interactions
Start capturing browser console messages for later analysis.
CaptureConsoleMessages.CapturedConsoleMessage - Class in net.serenitybdd.screenplay.playwright.interactions
Represents a captured console message with its type, text, and location.
CapturedConsoleMessage(String, String, String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
 
CapturedRequest(String, String, String, Map<String, String>) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
CaptureNetworkRequests - Class in net.serenitybdd.screenplay.playwright.interactions
Start capturing network requests and responses for later analysis.
CaptureNetworkRequests.CapturedRequest - Class in net.serenitybdd.screenplay.playwright.interactions
Represents a captured network request with its response.
CastingException - Exception in net.serenitybdd.screenplay.playwright.injectors
Exception thrown when an actor cannot be instantiated or configured during the injection process.
CastingException(String) - Constructor for exception net.serenitybdd.screenplay.playwright.injectors.CastingException
 
CastingException(String, Throwable) - Constructor for exception net.serenitybdd.screenplay.playwright.injectors.CastingException
 
CHANNEL - Enum constant in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Browser channel to use (e.g.
Check - Class in net.serenitybdd.screenplay.playwright.interactions
This method clicks an element matching selector by performing the following steps: Find an element match matching selector.
Check() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Check
Default constructor required by Screenplay
Check(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Check
 
checkbox(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Uncheck
Uncheck a checkbox identified by a selector.
checkbox(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Uncheck
Uncheck a Target checkbox.
Checkbox - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating checkbox elements using Playwright selectors.
CheckConsole - Class in net.serenitybdd.screenplay.playwright.interactions
Check for console errors and warnings, optionally failing the test if any are found.
CheckConsole.ConsoleMessagesFoundException - Exception in net.serenitybdd.screenplay.playwright.interactions
Exception thrown when console messages are found and reportOnly is false.
Checked - Class in net.serenitybdd.screenplay.playwright.questions
Check if a checkbox or radio button is checked.
clear() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages
Clear all previously captured console messages.
clear() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests
Clear all previously captured network requests.
clear() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Clear the geolocation override.
clear(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.WithinFrame
Clear an input within the frame.
Clear - Class in net.serenitybdd.screenplay.playwright.interactions
Clear an input field.
Clear(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Clear
 
clearAll() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ManageCookies
Clear all cookies from the browser context.
clearCookies() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Clear all cookies from the current context.
ClearPermissions - Class in net.serenitybdd.screenplay.playwright.interactions
Clear all previously granted browser permissions.
click(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.WithinFrame
Click on an element within the frame.
Click - Class in net.serenitybdd.screenplay.playwright.interactions
This method clicks an element matching selector by performing the following steps: Find an element match matching selector.
Click() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Click
Default constructor required by Screenplay
Click(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Click
 
clientErrors() - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get all requests with client errors (4xx status codes).
closeCurrentPage() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Close the current page and switch to the previous one if available.
com.serenitybdd.serenityscreenplayplaywright - module com.serenitybdd.serenityscreenplayplaywright
 
CompareScreenshot - Class in net.serenitybdd.screenplay.playwright.assertions.visual
Perform visual regression testing by comparing screenshots to baseline images.
CompareScreenshot.ScreenshotComparison - Class in net.serenitybdd.screenplay.playwright.assertions.visual
The actual screenshot comparison implementation.
ConsoleMessages - Class in net.serenitybdd.screenplay.playwright.questions
Query captured browser console messages.
ConsoleMessagesFoundException(String) - Constructor for exception net.serenitybdd.screenplay.playwright.interactions.CheckConsole.ConsoleMessagesFoundException
 
containing(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get messages containing the specified text.
containingText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Button
Locate a button containing the specified text (partial match).
containingText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Link
Locate a link containing the specified text (partial match).
containingUrl(String) - Static method in class net.serenitybdd.screenplay.playwright.network.WaitForResponse
Wait for a response where the URL contains the substring.
contains(String) - Method in class net.serenitybdd.screenplay.playwright.questions.CSSClasses
Check if the element has a specific class.
containsText(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element contains the specified text.
containsText(String) - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to contain specific text.
ControlClock - Class in net.serenitybdd.screenplay.playwright.interactions
Control the browser's clock for testing time-dependent features.
CookieValue - Class in net.serenitybdd.screenplay.playwright.questions
Questions about browser cookies.
CookieValue() - Constructor for class net.serenitybdd.screenplay.playwright.questions.CookieValue
 
count() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get the count of captured messages.
count() - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get the count of all captured requests.
Count - Class in net.serenitybdd.screenplay.playwright.questions
Get the count of matching elements.
countOf(String) - Method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Get the count of matching elements within the frame.
CSSClasses - Class in net.serenitybdd.screenplay.playwright.questions
Get CSS classes of an element or check if it has a specific class.
CSSValue - Class in net.serenitybdd.screenplay.playwright.questions
Get the computed CSS value of an element.
currentUrl() - Static method in class net.serenitybdd.screenplay.playwright.questions.TheWebPage
Returns the current page URL.
currentValue(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the input element has the expected value.

D

delete(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a DELETE request.
description() - Element in annotation interface net.serenitybdd.screenplay.playwright.annotations.PlaywrightCastMember
A description of the actor, which will appear alongside the actor name in reports.
DeselectAll() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions.DeselectAll
 
DeselectAllFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.deselectactions
Deselect all options from a multi-select dropdown.
DeselectAllFromTarget(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectAllFromTarget
 
DeselectByIndexFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.deselectactions
Deselect an option from a multi-select dropdown by its index (0-based).
DeselectByIndexFromTarget(Target, int) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectByIndexFromTarget
 
DeselectByValueFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.deselectactions
Deselect options from a multi-select dropdown by their value attributes.
DeselectByValueFromTarget(Target, String...) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectByValueFromTarget
 
DeselectByVisibleTextFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.deselectactions
Deselect an option from a multi-select dropdown by its visible text.
DeselectByVisibleTextFromTarget(Target, String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectByVisibleTextFromTarget
 
DeselectFromOptions - Class in net.serenitybdd.screenplay.playwright.interactions
Deselect options from a multi-select dropdown by text, value or index.
DeselectFromOptions(DeselectStrategy) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
 
DeselectFromOptions.DeselectAll - Class in net.serenitybdd.screenplay.playwright.interactions
Builder for deselecting all options.
desktop() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Standard desktop viewport (1280x720).
desktop4K() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
4K desktop viewport (3840x2160).
desktopHD() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
HD desktop viewport (1920x1080).
Disabled - Class in net.serenitybdd.screenplay.playwright.questions
Check if an element is disabled.
DoubleClick - Class in net.serenitybdd.screenplay.playwright.interactions
This method double clicks an element matching selector.
DoubleClick(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.DoubleClick
 
download() - Static method in class net.serenitybdd.screenplay.playwright.questions.DownloadedFile
Get the Download object for advanced operations.
DownloadedFile - Class in net.serenitybdd.screenplay.playwright.questions
Query information about the most recently downloaded file.
Drag - Class in net.serenitybdd.screenplay.playwright.interactions
Drag an element to another element (drag and drop).
Dropdown - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating dropdown (select) elements using Playwright selectors.
duringTest() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages
Start capturing console messages during the test.
duringTest() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests
Start capturing network requests during the test.

E

Editable - Class in net.serenitybdd.screenplay.playwright.questions
Check if an element is editable.
element(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ScrollIntoView
Scroll an element identified by a selector into view.
element(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ScrollIntoView
Scroll a Target element into view.
ElementBounds - Class in net.serenitybdd.screenplay.playwright.questions
Get the bounding box (position and size) of an element.
EmulateDevice - Class in net.serenitybdd.screenplay.playwright.interactions
Emulate different devices by setting viewport size, user agent, and device characteristics.
Enabled - Class in net.serenitybdd.screenplay.playwright.questions
Check if an element is enabled.
endPerformance(ActorEndsPerformanceEvent) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
Ensure - Class in net.serenitybdd.screenplay.playwright.assertions
Perform assertions about the state of elements, pages, and URLs using Playwright's native assertion API with built-in auto-retry.
Ensure(Target, Double) - Constructor for class net.serenitybdd.screenplay.playwright.assertions.Ensure
 
EnsureWithTimeout - Class in net.serenitybdd.screenplay.playwright.assertions
 
EnsureWithTimeout(String, Consumer<Actor>, Double) - Constructor for class net.serenitybdd.screenplay.playwright.assertions.EnsureWithTimeout
 
Enter - Class in net.serenitybdd.screenplay.playwright.interactions
Enter a text value into an input field.
Enter() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Enter
Default constructor required by Screenplay
Enter(String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Enter
 
errorCount() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get the count of error messages.
errors() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ReportConsoleMessages
Report only console errors to the Serenity report.
errors() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get all captured error message texts.
errorsAndWarnings() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ReportConsoleMessages
Report console errors and warnings to the Serenity report.
evaluate(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.JavaScript
Evaluate JavaScript and return the result.
ExecuteJavaScript - Class in net.serenitybdd.screenplay.playwright.interactions
Execute JavaScript on the current page.
exists(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.CookieValue
Check if a cookie exists.
expiresAt(double) - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Set the expiration time as Unix timestamp in seconds.

F

failed() - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get all failed requests (network errors or 4xx/5xx status codes).
failedCount() - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get the count of failed requests.
failOnStatusCode(boolean) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Configure whether to throw an exception on non-2xx status codes.
failure() - Static method in class net.serenitybdd.screenplay.playwright.questions.DownloadedFile
Get the failure reason if the download failed, or null if successful.
fastForward(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Advance time by the specified number of milliseconds.
fastForwardHours(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Advance time by the specified number of hours.
fastForwardMinutes(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Advance time by the specified number of minutes.
fastForwardSeconds(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Advance time by the specified number of seconds.
field(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Clear
Clear an input field identified by a selector.
field(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Clear
Clear a Target input field.
file(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Upload
 
fill(String, String) - Method in class net.serenitybdd.screenplay.playwright.interactions.WithinFrame
Fill a value into an input within the frame.
find(Target) - Method in class net.serenitybdd.screenplay.playwright.Target
Create a target that chains this locator with a child locator.
Focus - Class in net.serenitybdd.screenplay.playwright.interactions
Focus on an element or blur (unfocus) the currently focused element.
Focus() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Focus
 
Focused - Class in net.serenitybdd.screenplay.playwright.questions
Check if an element has focus.
for_(String...) - Static method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
Grant the specified permissions.
forClipboard() - Static method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
Grant clipboard read and write permissions.
forDomain(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Set the domain for the cookie.
forErrors() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CheckConsole
Check for console errors.
forErrorsAndWarnings() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CheckConsole
Check for both console errors and warnings.
forFieldId(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Label
Locate a label by its 'for' attribute (field association).
forGeolocation() - Static method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
Grant geolocation permission.
forMediaDevices() - Static method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
Grant camera and microphone permissions for media access.
forNotifications() - Static method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
Grant notifications permission.
forUrl(String) - Static method in class net.serenitybdd.screenplay.playwright.network.InterceptNetwork
Start intercepting requests matching the URL pattern.
forUrl(String) - Static method in class net.serenitybdd.screenplay.playwright.network.RemoveRoutes
Remove route handlers matching the specified URL pattern.
forward() - Static method in class net.serenitybdd.screenplay.playwright.interactions.Navigate
Navigate forward in browser history.
forWarnings() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CheckConsole
Check for console warnings.
FrameContent - Class in net.serenitybdd.screenplay.playwright.questions
Questions about content within an iframe.
freezeAt(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Install fake timers and freeze time at the specified timestamp.
freezeAt(LocalDateTime) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Install fake timers and freeze time at the specified instant.
freezeAt(Date) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Install fake timers and freeze time at the specified date.
from(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions.DeselectAll
Specify the dropdown to deselect all options from using a selector.
from(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
Specify the dropdown to deselect from using a CSS or XPath selector.
from(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Start a drag operation from the specified selector.
from(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.SelectFromOptions
 
from(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions.DeselectAll
Specify the dropdown to deselect all options from using a Target.
from(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.DeselectFromOptions
Specify the dropdown to deselect from using a Target.
from(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Start a drag operation from the specified Target.
from(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.SelectFromOptions
 
fromFile(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.RestoreSessionState
Restore session state from a file with the given name in the default directory.
fromLocalStorage(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.StorageValue
Get a value from localStorage.
fromPath(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.RestoreSessionState
Restore session state from the specified path.
fromPath(Path) - Static method in class net.serenitybdd.screenplay.playwright.interactions.RestoreSessionState
Restore session state from the specified path.
fromSessionStorage(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.StorageValue
Get a value from sessionStorage.

G

galaxyS21() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate Samsung Galaxy S21 viewport.
galaxyTabS7() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate Samsung Galaxy Tab S7 viewport.
GeneratePDF - Class in net.serenitybdd.screenplay.playwright.interactions
Generate a PDF document from the current page.
get(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a GET request.
getAllPages() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Get all pages (tabs) in the current browser context.
getAPIRequestContext() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Get the APIRequestContext for making API calls within the browser session.
getBrowser() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
getConsoleErrors(Actor) - Static method in class net.serenitybdd.screenplay.playwright.evidence.PlaywrightFailureEvidence
Get a summary of captured console errors.
getConsoleMessagesKey() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages
Get the key used to store console messages in actor's memory.
getContainer() - Method in class net.serenitybdd.screenplay.playwright.Target
Get the container target (if any).
getCookies() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Get all cookies from the current context.
getCurrentPage() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
getDeviceScaleFactor() - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Get the device scale factor (if set).
getFailedRequests(Actor) - Static method in class net.serenitybdd.screenplay.playwright.evidence.PlaywrightFailureEvidence
Get a summary of failed network requests.
getFailureText() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getFramePath() - Method in class net.serenitybdd.screenplay.playwright.Target
Get the frame path for this target.
getHeight() - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Get the viewport height.
getHeight() - Method in class net.serenitybdd.screenplay.playwright.questions.BoundingBox
 
getInputPath() - Method in class net.serenitybdd.screenplay.playwright.interactions.RestoreSessionState
Get the path from which the session state will be restored.
getLastApiResponseKey() - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Get the key used to store the last API response in actor's memory.
getLastDownloadKey() - Static method in class net.serenitybdd.screenplay.playwright.interactions.WaitForDownload
Get the key used to store the last download in actor's memory.
getLocation() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Get the source location (URL and line number).
getMessageTypeDescription_forStep() - Method in class net.serenitybdd.screenplay.playwright.interactions.CheckConsole
 
getMethod() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getNetworkRequestsKey() - Static method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests
Get the key used to store network requests in actor's memory.
getOutputPath() - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Get the output path for the PDF.
getOutputPath() - Method in class net.serenitybdd.screenplay.playwright.interactions.SaveSessionState
Get the path where the session state will be saved.
getPhotographer() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
getRequestHeaders() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getResourceType() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getStatus() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getStatusText() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getText() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Get the message text.
getType() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Get the message type (e.g., "log", "error", "warning", "info").
getUrl() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
getWidth() - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Get the viewport width.
getWidth() - Method in class net.serenitybdd.screenplay.playwright.questions.BoundingBox
 
getX() - Method in class net.serenitybdd.screenplay.playwright.questions.BoundingBox
 
getY() - Method in class net.serenitybdd.screenplay.playwright.questions.BoundingBox
 
GrantPermissions - Class in net.serenitybdd.screenplay.playwright.interactions
Grant browser permissions for testing features that require user consent.

H

HandleDialog - Class in net.serenitybdd.screenplay.playwright.interactions
Handle JavaScript dialogs (alert, confirm, prompt).
hasAttribute(String, String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element has an attribute with the expected value.
hasAttributeContaining(String, String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element has an attribute containing the expected substring.
hasClass(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element has the specified CSS class.
hasCount(int) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check that the locator resolves to the expected number of elements.
hasCSSValue(String, String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element has the expected CSS property value.
hasText(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element has the exact text.
hasText(String) - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to have specific text (exact match).
hasTextMatching(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element text matches a regex pattern (as string).
hasTextMatching(Pattern) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element text matches a regex pattern.
hasValue(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Alias for currentValue.
head(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a HEAD request.
header(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get a specific header value from the response.
headers() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get all headers from the response.
headless() - Element in annotation interface net.serenitybdd.screenplay.playwright.annotations.PlaywrightCastMember
Whether to run the browser in headless mode.
HEADLESS - Enum constant in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Whether to run browser in headless mode.
Hover - Class in net.serenitybdd.screenplay.playwright.interactions
Hover over an element.
Hover(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Hover
 
httpOnly() - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Mark the cookie as HTTP-only.

I

Image - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating image elements using Playwright selectors.
info() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get all captured info message texts.
inFrame(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Access content within the specified frame.
inFrame(String) - Method in class net.serenitybdd.screenplay.playwright.Target
Specify that this target is inside an iframe.
inFrame(String) - Method in class net.serenitybdd.screenplay.playwright.Target.TargetBuilder
Specify that this target is inside an iframe.
injectDependenciesInto(Object) - Method in class net.serenitybdd.screenplay.playwright.injectors.PlaywrightCapableActorInjector
 
inLandscape() - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Generate PDF in landscape orientation.
InnerHTML - Class in net.serenitybdd.screenplay.playwright.questions
Get the inner HTML of an element.
inPortrait() - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Generate PDF in portrait orientation (default).
InputField - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating input field elements using Playwright selectors.
inside(Target) - Method in class net.serenitybdd.screenplay.playwright.Target
Create a target that locates this element inside a container element.
installAt(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Install fake timers starting at the specified timestamp.
installAt(LocalDateTime) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Install fake timers starting at the specified time.
InterceptNetwork - Class in net.serenitybdd.screenplay.playwright.network
Intercept network requests and modify their behavior.
inTheBrowser() - Static method in class net.serenitybdd.screenplay.playwright.questions.PageCount
 
into(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.Enter
 
into(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.Enter
 
InvalidPlaywrightBrowserType - Exception in net.serenitybdd.screenplay.playwright.abilities
 
InvalidPlaywrightBrowserType(String) - Constructor for exception net.serenitybdd.screenplay.playwright.abilities.InvalidPlaywrightBrowserType
 
iPad() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate iPad viewport.
iPadPro() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate iPad Pro 11" viewport.
iPhone12() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate iPhone 12 / 12 Pro viewport.
iPhone14Pro() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate iPhone 14 Pro viewport.
iPhoneSE() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate iPhone SE viewport.
isAttached() - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to be attached to DOM.
isChecked() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is checked (for checkbox/radio).
isClientError() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
Check if this is a client error (4xx status).
isDetached() - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to be detached from DOM.
isDisabled() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is disabled.
isDisabled() - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to be disabled.
isEditable() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is editable.
isEmpty() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the input element is empty.
isEnabled() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is enabled.
isEnabled() - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to be enabled.
isError() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Check if this is an error message.
isFailed() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
Check if this request failed (network error or 4xx/5xx status).
isFocused() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element has focus.
isHidden() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is not visible.
isHidden() - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to be hidden (not visible or not attached).
isInfo() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Check if this is an info message.
isInFrame() - Method in class net.serenitybdd.screenplay.playwright.Target
Check if this target is inside an iframe.
isLog() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Check if this is a log message.
isMobile() - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Check if this is configured as a mobile device.
isNotChecked() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is NOT checked.
isNotEmpty() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is not empty.
isServerError() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
Check if this is a server error (5xx status).
isVisible() - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Check whether the element is visible.
isVisible() - Method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for element to be visible.
isVisible(String) - Method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Check if an element is visible within the frame.
isWarning() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
Check if this is a warning message.

J

JavaScript<T> - Class in net.serenitybdd.screenplay.playwright.questions
Evaluate JavaScript and return the result.
jsonBody() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the response body parsed as a JSON object (Map).
jsonBodyAsList() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the response body parsed as a JSON array (List of Maps).

K

keys(String...) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Press
 

L

Label - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating label elements using Playwright selectors.
laptop() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Laptop viewport (1366x768).
LastAPIResponse - Class in net.serenitybdd.screenplay.playwright.questions.api
Query information about the most recent API response.
Link - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating link (anchor) elements using Playwright selectors.
localStorage() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ManageStorage
Manage localStorage.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.WithinFrame
Locate an iframe by its selector.
locatedBy(String) - Method in class net.serenitybdd.screenplay.playwright.Target.TargetBuilder
Specify the selector for the target element.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Button
Locate a button using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Checkbox
Locate a checkbox using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Dropdown
Locate a dropdown using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Image
Locate an image using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.InputField
Locate an input field using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Label
Locate a label using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Link
Locate a link using a custom Playwright selector.
locatedBy(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.RadioButton
Locate a radio button using a custom Playwright selector.
logs() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get all captured log message texts.

M

macBookPro14() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
MacBook Pro 14" viewport (1512x982).
ManageCookies - Class in net.serenitybdd.screenplay.playwright.interactions
Manage browser cookies - add, remove, or clear cookies.
ManageCookies() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.ManageCookies
 
ManageStorage - Class in net.serenitybdd.screenplay.playwright.interactions
Manage browser storage (localStorage and sessionStorage).
ManageStorage() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.ManageStorage
 
matching(String) - Static method in class net.serenitybdd.screenplay.playwright.network.WaitForResponse
Wait for a response where the URL matches the glob pattern.
matching(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get requests to URLs matching the specified glob pattern.
matching(Pattern) - Static method in class net.serenitybdd.screenplay.playwright.network.WaitForResponse
Wait for a response where the URL matches the regex pattern.

N

name() - Element in annotation interface net.serenitybdd.screenplay.playwright.annotations.PlaywrightCastMember
The name of the actor.
named(String) - Method in class net.serenitybdd.screenplay.playwright.questions.AttributeOfAll
Specify the attribute name to retrieve.
named(String) - Method in class net.serenitybdd.screenplay.playwright.questions.CSSValue
Specify the CSS property name to retrieve.
Navigate - Class in net.serenitybdd.screenplay.playwright.interactions
Browser navigation interactions - back, forward, refresh.
Navigate() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Navigate
 
net.serenitybdd.screenplay.playwright - package net.serenitybdd.screenplay.playwright
 
net.serenitybdd.screenplay.playwright.abilities - package net.serenitybdd.screenplay.playwright.abilities
 
net.serenitybdd.screenplay.playwright.actors - package net.serenitybdd.screenplay.playwright.actors
 
net.serenitybdd.screenplay.playwright.annotations - package net.serenitybdd.screenplay.playwright.annotations
 
net.serenitybdd.screenplay.playwright.assertions - package net.serenitybdd.screenplay.playwright.assertions
 
net.serenitybdd.screenplay.playwright.assertions.visual - package net.serenitybdd.screenplay.playwright.assertions.visual
 
net.serenitybdd.screenplay.playwright.evidence - package net.serenitybdd.screenplay.playwright.evidence
 
net.serenitybdd.screenplay.playwright.injectors - package net.serenitybdd.screenplay.playwright.injectors
 
net.serenitybdd.screenplay.playwright.interactions - package net.serenitybdd.screenplay.playwright.interactions
 
net.serenitybdd.screenplay.playwright.interactions.api - package net.serenitybdd.screenplay.playwright.interactions.api
 
net.serenitybdd.screenplay.playwright.interactions.deselectactions - package net.serenitybdd.screenplay.playwright.interactions.deselectactions
 
net.serenitybdd.screenplay.playwright.interactions.selectactions - package net.serenitybdd.screenplay.playwright.interactions.selectactions
 
net.serenitybdd.screenplay.playwright.interactions.tracing - package net.serenitybdd.screenplay.playwright.interactions.tracing
 
net.serenitybdd.screenplay.playwright.network - package net.serenitybdd.screenplay.playwright.network
 
net.serenitybdd.screenplay.playwright.questions - package net.serenitybdd.screenplay.playwright.questions
 
net.serenitybdd.screenplay.playwright.questions.api - package net.serenitybdd.screenplay.playwright.questions.api
 
net.serenitybdd.screenplay.playwright.ui - package net.serenitybdd.screenplay.playwright.ui
 
net.serenitybdd.screenplay.playwright.waits - package net.serenitybdd.screenplay.playwright.waits
 
networkIsIdle() - Static method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for network to be idle (no pending requests for 500ms).
NetworkRequests - Class in net.serenitybdd.screenplay.playwright.questions
Query captured network requests.
newPage() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
Open a new browser page (tab).
newPageAt(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
Open a new page and navigate to the given URL.
notifyScreenChange() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 

O

of(String) - Static method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot
Compare a screenshot of a specific element.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Absence
Check if an element identified by a selector is absent.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.AccessibilitySnapshot
Get the accessibility snapshot of a specific element.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.AllOptionTexts
Get all option texts from a select element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.AttributeOfAll
Get attribute values from elements matching a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Checked
Check if an element identified by a selector is checked.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.CookieValue
Get the value of a cookie by name.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Count
Count elements matching a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.CSSClasses
Get CSS classes for an element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.CSSValue
Get CSS value for an element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Disabled
Check if an element identified by a selector is disabled.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Editable
Check if an element identified by a selector is editable.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.ElementBounds
Get bounds for an element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Enabled
Check if an element identified by a selector is enabled.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Focused
Check if an element identified by a selector has focus.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.InnerHTML
Get inner HTML for an element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.OuterHTML
Get outer HTML for an element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Presence
Check if an element identified by a selector is present.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.SelectedOptionText
Get selected option text from a select element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.SelectOptions
 
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Text
 
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.TextOfAll
Get text of all elements matching a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Value
Get value for an input element identified by a selector.
of(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Visibility
 
of(String...) - Method in class net.serenitybdd.screenplay.playwright.Target
Create a parameterized version of this target by substituting placeholders.
of(String, String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Attribute
 
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot
Compare a screenshot of a specific Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Absence
Check if a Target element is absent.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.AccessibilitySnapshot
Get the accessibility snapshot of a specific Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.AllOptionTexts
Get all option texts from a Target select element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.AttributeOfAll
Get attribute values from elements matching a Target.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Checked
Check if a Target element is checked.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Count
Count elements matching a Target.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.CSSClasses
Get CSS classes for a Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.CSSValue
Get CSS value for a Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Disabled
Check if a Target element is disabled.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Editable
Check if a Target element is editable.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.ElementBounds
Get bounds for a Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Enabled
Check if a Target element is enabled.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Focused
Check if a Target element has focus.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.InnerHTML
Get inner HTML for a Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.OuterHTML
Get outer HTML for a Target element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Presence
Check if a Target element is present.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.SelectedOptionText
Get selected option text from a Target select element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.SelectOptions
 
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Text
 
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.TextOfAll
Get text of all elements matching a Target.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Value
Get value for a Target input element.
of(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Visibility
 
of(Target, String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Attribute
 
ofEach(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.Text
 
ofEach(Target) - Static method in class net.serenitybdd.screenplay.playwright.questions.Text
 
ofElement(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.TakeScreenshot
Take a screenshot of a specific element.
ofPage() - Static method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot
Compare a full page screenshot.
ofPage() - Static method in class net.serenitybdd.screenplay.playwright.interactions.TakeScreenshot
Take a screenshot of the full page and save to the specified path.
ofThePage() - Static method in class net.serenitybdd.screenplay.playwright.questions.AccessibilitySnapshot
Get the accessibility snapshot of the entire page.
ok() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Check if the response was successful (status 200-299).
on(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Click
 
on(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.DoubleClick
 
on(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Focus
Focus on the specified element.
on(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.RightClick
Right-click on an element identified by a selector.
on(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Tap
Tap on the specified element.
on(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Click
 
on(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.DoubleClick
 
on(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.RightClick
Right-click on a Target element.
onOrigin(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
Restrict the permissions to a specific origin.
onto(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Complete the drag operation by dropping onto the specified selector.
onto(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Complete the drag operation by dropping onto the specified Target.
Open - Class in net.serenitybdd.screenplay.playwright.interactions
 
Open() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Open
 
openNewPage() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Open a new page (tab) in the current context.
OpenPageFromClass - Class in net.serenitybdd.screenplay.playwright.interactions
 
OpenPageFromClass(Class<? extends PageObject>) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.OpenPageFromClass
 
OpenPageFromClassWithParameters - Class in net.serenitybdd.screenplay.playwright.interactions
 
OpenPageFromClassWithParameters(Class<? extends PageObject>, String, String...) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.OpenPageFromClassWithParameters
 
OpenUrl - Class in net.serenitybdd.screenplay.playwright.interactions
 
OpenUrl(String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.OpenUrl
 
OuterHTML - Class in net.serenitybdd.screenplay.playwright.questions
Get the outer HTML of an element (including the element itself).
over(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Hover
Hover over an element identified by a selector.
over(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Hover
Hover over a Target element.

P

page(Class<? extends PageObject>) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Open
 
PageCount - Class in net.serenitybdd.screenplay.playwright.questions
Get the number of open pages (tabs) in the browser context.
PageCount() - Constructor for class net.serenitybdd.screenplay.playwright.questions.PageCount
 
pageNumber(int) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
Switch to the page at the given index (0-based).
pageWithTitle(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
Switch to the page with the given title (partial match).
pageWithUrl(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
Switch to the page with the given URL (partial match).
patch(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a PATCH request.
path() - Static method in class net.serenitybdd.screenplay.playwright.questions.DownloadedFile
Get the path to the downloaded file.
pause() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Pause the clock.
perform(Consumer<FrameLocator>) - Method in class net.serenitybdd.screenplay.playwright.interactions.WithinFrame
Perform custom actions within the frame using the FrameLocator.
perform(ActorPerforms) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.assertions.EnsureWithTimeout
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot.ScreenshotComparison
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Check
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.CheckConsole
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Clear
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.ClearPermissions
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Click
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectAllFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectByIndexFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectByValueFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.deselectactions.DeselectByVisibleTextFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.DoubleClick
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Enter
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.ExecuteJavaScript
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.GrantPermissions
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.HandleDialog
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Hover
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.OpenPageFromClass
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.OpenPageFromClassWithParameters
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.OpenUrl
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Press
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.ReportConsoleMessages
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.RestoreSessionState
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.RightClick
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.SaveSessionState
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Scroll.ScrollToElement
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.ScrollIntoView
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.selectactions.SelectByIndexFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.selectactions.SelectByValueFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.selectactions.SelectByVisibleTextFromTarget
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Tap
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StopTracing
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Uncheck
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.Upload
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitFor
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitForDownload
 
performAs(T) - Method in class net.serenitybdd.screenplay.playwright.network.WaitForResponse
 
Photographer - Class in net.serenitybdd.screenplay.playwright
 
Photographer() - Constructor for class net.serenitybdd.screenplay.playwright.Photographer
 
pixel5() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate Google Pixel 5 viewport.
pixel7() - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Emulate Google Pixel 7 viewport.
play() - Method in class net.serenitybdd.screenplay.playwright.interactions.api.RecordPlaywrightRestQueryEvent
 
PlaywrightCapableActorInjector - Class in net.serenitybdd.screenplay.playwright.injectors
Dependency injector that creates actors with Playwright browser capabilities based on the PlaywrightCastMember annotation.
PlaywrightCapableActorInjector() - Constructor for class net.serenitybdd.screenplay.playwright.injectors.PlaywrightCapableActorInjector
 
PlaywrightCast - Class in net.serenitybdd.screenplay.playwright.actors
A Cast implementation that automatically provides actors with the ability to browse the web using Playwright.
PlaywrightCast() - Constructor for class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
 
PlaywrightCast(Consumer<Actor>...) - Constructor for class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
 
PlaywrightCast(Ability[]) - Constructor for class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
 
PlaywrightCastMember - Annotation Interface in net.serenitybdd.screenplay.playwright.annotations
Annotation to inject an Actor with the BrowseTheWebWithPlaywright ability into a test.
PlayWrightConfigurationProperties - Enum Class in net.serenitybdd.screenplay.playwright
 
PlaywrightFailureEvidence - Class in net.serenitybdd.screenplay.playwright.evidence
Collects and attaches failure evidence to Serenity reports.
post(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a POST request.
prepareQuestion(ActorAsksQuestion) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
Presence - Class in net.serenitybdd.screenplay.playwright.questions
Check if an element is present in the DOM.
Press - Class in net.serenitybdd.screenplay.playwright.interactions
Press keyboard key(s).
Press(String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Press
 
previousPageAfterClosingCurrent() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
Close the current page and switch to the previous one.
put(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a PUT request.

R

RadioButton - Class in net.serenitybdd.screenplay.playwright.ui
Factory for locating radio button elements using Playwright selectors.
RecordPlaywrightRestQueryEvent - Class in net.serenitybdd.screenplay.playwright.interactions.api
Event to record a Playwright API request/response to the Serenity test step.
RecordPlaywrightRestQueryEvent(RestQuery) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.api.RecordPlaywrightRestQueryEvent
 
refresh() - Static method in class net.serenitybdd.screenplay.playwright.interactions.Navigate
Refresh the current page.
RemoveRoutes - Class in net.serenitybdd.screenplay.playwright.network
Remove previously registered network route handlers.
ReportConsoleMessages - Class in net.serenitybdd.screenplay.playwright.interactions
Report captured console messages to the Serenity report as evidence.
reset() - Method in class net.serenitybdd.screenplay.playwright.injectors.PlaywrightCapableActorInjector
 
resolveFor(Page) - Method in class net.serenitybdd.screenplay.playwright.Target
Resolve this target to a Playwright Locator.
response() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the raw APIResponse object for advanced operations.
RestoreSessionState - Class in net.serenitybdd.screenplay.playwright.interactions
Restore browser session state (cookies, localStorage, sessionStorage) from a previously saved file.
resume() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Resume the clock after pausing.
RightClick - Class in net.serenitybdd.screenplay.playwright.interactions
Right-click (context click) on an element.
RightClick(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.RightClick
 

S

sameSite(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Set the SameSite attribute (Strict, Lax, or None).
SaveSessionState - Class in net.serenitybdd.screenplay.playwright.interactions
Save the current browser session state (cookies, localStorage, sessionStorage) to a file.
Scroll - Class in net.serenitybdd.screenplay.playwright.interactions
Comprehensive scrolling operations for both page-level and element scrolling.
Scroll.ScrollToElement - Class in net.serenitybdd.screenplay.playwright.interactions
Element scrolling with alignment options.
ScrollIntoView - Class in net.serenitybdd.screenplay.playwright.interactions
Scroll an element into view.
ScrollIntoView(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.ScrollIntoView
 
secure() - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Mark the cookie as secure.
SelectByIndexFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.selectactions
 
SelectByIndexFromTarget(Target, int) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.selectactions.SelectByIndexFromTarget
 
SelectByValueFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.selectactions
 
SelectByValueFromTarget(Target, String...) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.selectactions.SelectByValueFromTarget
 
SelectByVisibleTextFromTarget - Class in net.serenitybdd.screenplay.playwright.interactions.selectactions
 
SelectByVisibleTextFromTarget(Target, String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.selectactions.SelectByVisibleTextFromTarget
 
SelectedOptionText - Class in net.serenitybdd.screenplay.playwright.questions
Get the text of the currently selected option in a select element.
SelectFromOptions - Class in net.serenitybdd.screenplay.playwright.interactions
Select an option from dropdown by text, value or index.
SelectFromOptions(SelectStrategy) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.SelectFromOptions
 
SelectOptions - Class in net.serenitybdd.screenplay.playwright.questions
Get a list of select options from a dropdown
SelectOptions() - Constructor for class net.serenitybdd.screenplay.playwright.questions.SelectOptions
 
selector(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.WaitFor
 
selector(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.WaitFor
Wait for an element to be in a given state.
serverErrors() - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get all requests with server errors (5xx status codes).
sessionStorage() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ManageStorage
Manage sessionStorage.
SetGeolocation - Class in net.serenitybdd.screenplay.playwright.interactions
Set the browser's geolocation for testing location-based features.
setRestoredContext(BrowserContext, Page) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Set a restored browser context and page.
setSystemTimeTo(long) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Set the system time without installing fake timers.
setSystemTimeTo(LocalDateTime) - Static method in class net.serenitybdd.screenplay.playwright.interactions.ControlClock
Set the system time without installing fake timers.
SLOW_MO - Enum constant in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Slows down Playwright operations by the specified amount of milliseconds.
source() - Static method in class net.serenitybdd.screenplay.playwright.questions.TheWebPage
Returns the page's HTML source.
StartTracing - Class in net.serenitybdd.screenplay.playwright.interactions.tracing
Start Playwright tracing to capture screenshots, snapshots, and network activity.
statusCode() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the HTTP status code of the response.
statusText() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the HTTP status text of the response.
StopTracing - Class in net.serenitybdd.screenplay.playwright.interactions.tracing
Stop Playwright tracing and save the trace file.
StorageValue - Class in net.serenitybdd.screenplay.playwright.questions
Questions about browser storage (localStorage and sessionStorage).
StorageValue() - Constructor for class net.serenitybdd.screenplay.playwright.questions.StorageValue
 
suggestedFilename() - Static method in class net.serenitybdd.screenplay.playwright.questions.DownloadedFile
Get the suggested filename from the Content-Disposition header or URL.
SwitchTo - Class in net.serenitybdd.screenplay.playwright.interactions
Switch between browser pages (tabs) or open new ones.
SwitchTo() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.SwitchTo
 
switchToPage(int) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Switch to a different page by index.
switchToPageWithTitle(String) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Switch to the page containing the given title.
switchToPageWithUrl(String) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Switch to the page with the given URL substring.

T

takesAScreenshot(Page) - Method in class net.serenitybdd.screenplay.playwright.Photographer
 
takeScreenShot() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
TakeScreenshot - Class in net.serenitybdd.screenplay.playwright.interactions
Capture screenshots of the page or specific elements.
TakeScreenshot() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.TakeScreenshot
 
Tap - Class in net.serenitybdd.screenplay.playwright.interactions
Perform a tap (touch) action on an element.
Target - Class in net.serenitybdd.screenplay.playwright
Locate an element on the page using a Playwright selector.
Target(String, String) - Constructor for class net.serenitybdd.screenplay.playwright.Target
Create a new Target with label and selector.
Target(String, String, List<String>, Target) - Constructor for class net.serenitybdd.screenplay.playwright.Target
Create a new Target with all properties.
Target.TargetBuilder - Class in net.serenitybdd.screenplay.playwright
Builder for creating Target instances.
TargetBuilder(String) - Constructor for class net.serenitybdd.screenplay.playwright.Target.TargetBuilder
 
tearDown() - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Clean up Playwright resources.
testFinishes(TestLifecycleEvents.TestFinished) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Shut down the Playwright instance and browser cleanly at the end of a Screenplay test.
Text - Class in net.serenitybdd.screenplay.playwright.questions
Return the inner text value of an element.
Text() - Constructor for class net.serenitybdd.screenplay.playwright.questions.Text
 
textOf(String) - Method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Get the text content of an element within the frame.
TextOfAll - Class in net.serenitybdd.screenplay.playwright.questions
Get the text content of all matching elements.
that(String) - Static method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Start an assertion about an element identified by a selector.
that(String, Consumer<Actor>) - Static method in class net.serenitybdd.screenplay.playwright.assertions.EnsureWithTimeout
 
that(Target) - Static method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Start an assertion about a Target element.
thatTheCurrentUrl() - Static method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Start an assertion about the current URL.
thatThePageTitle() - Static method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Start an assertion about the page title.
the(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Check
 
the(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Start a drag operation from the specified selector.
the(String) - Static method in class net.serenitybdd.screenplay.playwright.Target
Start building a Target with a descriptive label.
the(String) - Static method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for an element identified by a selector.
the(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Check
 
the(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Start a drag operation from the specified Target.
the(Target) - Static method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for a Target element.
thePageIsLoaded() - Static method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for the page to finish loading (DOMContentLoaded).
theUrl() - Static method in class net.serenitybdd.screenplay.playwright.waits.WaitUntil
Wait for URL conditions.
theValue(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Enter
 
TheWebPage - Class in net.serenitybdd.screenplay.playwright.questions
Questions about the current web page state.
TheWebPage() - Constructor for class net.serenitybdd.screenplay.playwright.questions.TheWebPage
 
title() - Static method in class net.serenitybdd.screenplay.playwright.questions.TheWebPage
Returns the page's title.
to(double, double) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to the specified coordinates.
to(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Complete the drag operation by dropping onto the specified selector.
to(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Scroll
Scroll to an element identified by a selector.
to(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.Upload
 
to(String, String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Create a request with a custom HTTP method.
to(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.Drag
Complete the drag operation by dropping onto the specified Target.
to(Target) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Scroll
Scroll to a Target element.
to(Target) - Method in class net.serenitybdd.screenplay.playwright.interactions.Upload
 
toBaseline(String) - Method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot
Specify the baseline name for comparison.
toBottom() - Static method in class net.serenitybdd.screenplay.playwright.interactions.Scroll
Scroll to the bottom of the page.
toFile(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SaveSessionState
Save session state to a file with the given name in the default directory.
toLondon() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to London.
toNewYork() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to New York City.
toParis() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to Paris.
toPath(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SaveSessionState
Save session state to the specified path.
toPath(Path) - Static method in class net.serenitybdd.screenplay.playwright.interactions.SaveSessionState
Save session state to the specified path.
toPosition(int, int) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Scroll
Scroll to an absolute position on the page.
toSanFrancisco() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to San Francisco.
toString() - Method in class net.serenitybdd.screenplay.playwright.interactions.api.RecordPlaywrightRestQueryEvent
 
toString() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureConsoleMessages.CapturedConsoleMessage
 
toString() - Method in class net.serenitybdd.screenplay.playwright.interactions.CaptureNetworkRequests.CapturedRequest
 
toString() - Method in class net.serenitybdd.screenplay.playwright.interactions.HandleDialog
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Absence
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.AccessibilitySnapshot
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.AllOptionTexts
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.AttributeOfAll
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.BoundingBox
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Checked
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Count
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.CSSClasses
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.CSSValue
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Disabled
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Editable
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.ElementBounds
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Enabled
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Focused
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.InnerHTML
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.JavaScript
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.OuterHTML
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Presence
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.SelectedOptionText
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.TextOfAll
 
toString() - Method in class net.serenitybdd.screenplay.playwright.questions.Value
 
toString() - Method in class net.serenitybdd.screenplay.playwright.Target
 
toSydney() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to Sydney.
toTokyo() - Static method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set geolocation to Tokyo.
toTop() - Static method in class net.serenitybdd.screenplay.playwright.interactions.Scroll
Scroll to the top of the page.
toUrl(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Navigate
Navigate to a specific URL.
toUrlContaining(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get requests to URLs containing the specified substring.
TRACING - Enum constant in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Enable Playwright tracing for debugging with the trace viewer.
type(String, String) - Method in class net.serenitybdd.screenplay.playwright.interactions.WithinFrame
Get text from an element within the frame.

U

Uncheck - Class in net.serenitybdd.screenplay.playwright.interactions
Uncheck a checkbox element.
Uncheck(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Uncheck
 
updatingBaseline() - Method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot.ScreenshotComparison
Force update of the baseline image instead of comparing.
Upload - Class in net.serenitybdd.screenplay.playwright.interactions
Upload file using file chooser.
Upload(String) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.Upload
 
url() - Static method in class net.serenitybdd.screenplay.playwright.questions.api.LastAPIResponse
Get the final URL after any redirects.
url() - Static method in class net.serenitybdd.screenplay.playwright.questions.DownloadedFile
Get the URL that initiated the download.
url(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.Open
 
usingTheDefaultConfiguration() - Static method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Create a new Playwright ability using default configuration values.

V

Value - Class in net.serenitybdd.screenplay.playwright.questions
Get the value of an input element.
valueOf(String) - Static method in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Returns the enum constant of this class with the specified name.
valueOf(String) - Method in class net.serenitybdd.screenplay.playwright.questions.FrameContent
Get the input value of an element within the frame.
values() - Static method in enum class net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
Returns an array containing the constants of this enum class, in the order they are declared.
Visibility - Class in net.serenitybdd.screenplay.playwright.questions
 
Visibility() - Constructor for class net.serenitybdd.screenplay.playwright.questions.Visibility
 
VisualComparisonFailure - Error in net.serenitybdd.screenplay.playwright.assertions.visual
Exception thrown when a visual comparison fails because the screenshot differs from the baseline by more than the allowed threshold.
VisualComparisonFailure(String) - Constructor for error net.serenitybdd.screenplay.playwright.assertions.visual.VisualComparisonFailure
 
VisualComparisonFailure(String, Throwable) - Constructor for error net.serenitybdd.screenplay.playwright.assertions.visual.VisualComparisonFailure
 

W

WaitFor - Class in net.serenitybdd.screenplay.playwright.interactions
Wait for some element or state.
WaitFor() - Constructor for class net.serenitybdd.screenplay.playwright.interactions.WaitFor
Default constructor required by Screenplay
WaitFor(Target) - Constructor for class net.serenitybdd.screenplay.playwright.interactions.WaitFor
 
WaitForDownload - Class in net.serenitybdd.screenplay.playwright.interactions
Wait for a file download while performing an action that triggers it.
WaitForResponse - Class in net.serenitybdd.screenplay.playwright.network
Wait for a network response matching a pattern while performing an action.
WaitUntil - Class in net.serenitybdd.screenplay.playwright.waits
Wait for elements or page states using Playwright's native waiting mechanisms.
warnings() - Static method in class net.serenitybdd.screenplay.playwright.interactions.ReportConsoleMessages
Report only console warnings to the Serenity report.
warnings() - Static method in class net.serenitybdd.screenplay.playwright.questions.ConsoleMessages
Get all captured warning message texts.
whereEveryoneCan(Consumer<Actor>...) - Static method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Create a PlaywrightCast where each actor is configured using the provided function.
whereEveryoneCan(Ability...) - Static method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Create a PlaywrightCast where all actors have the specified abilities in addition to BrowseTheWebWithPlaywright.
whilePerforming(Performable) - Static method in class net.serenitybdd.screenplay.playwright.interactions.WaitForDownload
Wait for a download while performing the specified action.
whilePerforming(Performable) - Method in class net.serenitybdd.screenplay.playwright.network.WaitForResponse
Specify the action that triggers the response.
withAccuracy(double) - Method in class net.serenitybdd.screenplay.playwright.interactions.SetGeolocation
Set the accuracy of the geolocation in meters.
withAltText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Image
Locate an image by its alt text (case-insensitive).
withArguments(Object...) - Method in class net.serenitybdd.screenplay.playwright.interactions.ExecuteJavaScript
Provide arguments to the script.
withArguments(Object...) - Method in class net.serenitybdd.screenplay.playwright.questions.JavaScript
Provide arguments to the script.
withAriaLabel(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Button
Locate a button by its aria-label attribute (case-insensitive).
withAriaLabel(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.InputField
Locate an input field by its aria-label attribute (case-insensitive).
withBackground() - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Include background graphics in the PDF.
withBody(byte[]) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Set the request body as bytes.
withBody(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Set the request body as a string.
withBrowserType(String) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
withBrowserType(String) - Method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Set the browser type (chromium, firefox, or webkit).
withContentType(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Set the Content-Type header.
withContextOptions(Browser.NewContextOptions) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
withContextOptions(Browser.NewContextOptions) - Method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Configure context options for browser contexts.
withDeviceScaleFactor(double) - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Set the device scale factor (pixel density).
withDimensions(String, String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set custom paper dimensions.
withExactText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Label
Locate a label with exact text content.
withFooterTemplate(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set the footer template.
withFormat(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set the paper format (e.g., "Letter", "A4", "A3", "Legal", "Tabloid").
withHeader(String, String) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Add a header to the request.
withHeaders(Map<String, String>) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Add multiple headers to the request.
withHeaderTemplate(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set the header template.
withHeadlessMode(boolean) - Method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Set headless mode for the browser.
withHeadlessMode(Boolean) - Method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
WithinFrame - Class in net.serenitybdd.screenplay.playwright.interactions
Perform actions within an iframe.
withJsonBody(Object) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Set the request body as a JSON object.
withLabel(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Checkbox
Locate a checkbox by its label text (case-insensitive).
withLabel(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Dropdown
Locate a dropdown by its label text (case-insensitive).
withLabel(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.InputField
Locate an input field by its associated label text.
withLabel(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.RadioButton
Locate a radio button by its label text (case-insensitive).
withLaunchOptions(BrowserType.LaunchOptions) - Method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Configure launch options for the Playwright browser.
withMargin(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set all margins to the same value.
withMargins(String, String, String, String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set individual margins.
withMethod(String) - Static method in class net.serenitybdd.screenplay.playwright.questions.NetworkRequests
Get requests with the specified HTTP method.
withName(String) - Static method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Start tracing with the given name.
withNameOrId(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Button
Locate a button by its name attribute, id, or data-test attribute.
withNameOrId(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Checkbox
Locate a checkbox by its name attribute, id, or data-test attribute.
withNameOrId(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Dropdown
Locate a dropdown by its name attribute, id, or data-test attribute.
withNameOrId(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.InputField
Locate an input field by its name attribute, id, or data-test attribute.
withNameOrId(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.RadioButton
Locate a radio button by its name attribute, id, or data-test attribute.
withOptions(BrowserType.LaunchOptions) - Static method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
 
withOptions(OptionsFactory) - Static method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Create a new Playwright ability using configuration from a Playwright OptionsFactory.
withOptions(OptionsFactory) - Method in class net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Configure the cast using a Playwright OptionsFactory.
withOptions(Keyboard.PressOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.Press
 
withOptions(Locator.CheckOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.Check
 
withOptions(Locator.ClickOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.Click
 
withOptions(Locator.ClickOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.RightClick
Provide additional click options.
withOptions(Locator.DblclickOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.DoubleClick
 
withOptions(Locator.FillOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.Enter
 
withOptions(Locator.HoverOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.Hover
Provide additional hover options.
withOptions(Locator.ScrollIntoViewIfNeededOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.ScrollIntoView
Provide additional scroll options.
withOptions(Locator.UncheckOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.Uncheck
Provide additional uncheck options.
withOptions(Locator.WaitForOptions) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitFor
 
withoutScreenshots() - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Disable screenshot capture during tracing.
withoutSnapshots() - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Disable DOM snapshot capture during tracing.
withPage(Page) - Static method in class net.serenitybdd.screenplay.playwright.abilities.BrowseTheWebWithPlaywright
Create a lightweight BrowseTheWebWithPlaywright ability that wraps an externally-provided Page.
withPageRanges(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set page ranges to print (e.g., "1-5, 8, 11-13").
withParameters(String...) - Method in class net.serenitybdd.screenplay.playwright.interactions.OpenPageFromClass
 
withPath(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Set the path for the cookie.
withPlaceholder(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.InputField
Locate an input field by its placeholder text (case-insensitive).
withQueryParam(String, String) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Add a query parameter to the request URL.
withQueryParams(Map<String, String>) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Add multiple query parameters to the request URL.
withScale(double) - Method in class net.serenitybdd.screenplay.playwright.interactions.GeneratePDF
Set the scale of the webpage rendering.
withScreenshots() - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Enable screenshot capture during tracing.
withSnapshots() - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Enable DOM snapshot capture during tracing.
withSources() - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Enable source code capture in traces.
withSrc(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Image
Locate an image by its exact src attribute.
withSrcContaining(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Image
Locate an image whose src contains the specified substring.
withText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Button
Locate a button by its exact accessible name (case-insensitive).
withText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Label
Locate a label containing the specified text (partial match).
withText(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Link
Locate a link by its exact accessible name (case-insensitive).
withThreshold(double) - Method in class net.serenitybdd.screenplay.playwright.assertions.visual.CompareScreenshot.ScreenshotComparison
Set the allowed difference threshold.
withTimeout(double) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitFor
Set timeout in milliseconds.
withTimeout(double) - Method in class net.serenitybdd.screenplay.playwright.interactions.WaitForDownload
Set a custom timeout for waiting for the download.
withTimeout(double) - Method in class net.serenitybdd.screenplay.playwright.network.WaitForResponse
Set a custom timeout in milliseconds.
withTimeout(int) - Method in class net.serenitybdd.screenplay.playwright.interactions.api.APIRequest
Set the request timeout in milliseconds.
withTimeout(Double) - Method in class net.serenitybdd.screenplay.playwright.assertions.Ensure
Set a custom timeout for this assertion.
withTitle(String) - Method in class net.serenitybdd.screenplay.playwright.interactions.tracing.StartTracing
Set a display title for the trace.
withTitle(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Link
Locate a link by its title attribute (case-insensitive).
withTouch() - Method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Enable touch events.
withValue(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.Checkbox
Locate a checkbox by its value attribute.
withValue(String) - Static method in class net.serenitybdd.screenplay.playwright.ui.RadioButton
Locate a radio button by its value attribute.
withViewport(int, int) - Static method in class net.serenitybdd.screenplay.playwright.interactions.EmulateDevice
Set a custom viewport size.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form