Class Target
java.lang.Object
com.applitools.eyes.playwright.fluent.Target
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlaywrightCheckSettingsframe(com.microsoft.playwright.ElementHandle frameElement) Specify the target as a frame.static PlaywrightCheckSettingsframe(com.microsoft.playwright.Locator locator) Specify the target as a frame.static PlaywrightCheckSettingsSpecify the target as a frame.static PlaywrightCheckSettingsSpecify the target as a frame.static PlaywrightCheckSettingsregion(com.applitools.eyes.Region region) Specify the target as a region.static PlaywrightCheckSettingsregion(com.microsoft.playwright.ElementHandle element) Specify the target as a region.static PlaywrightCheckSettingsregion(com.microsoft.playwright.Locator locator) Specify the target as a region.static PlaywrightCheckSettingsSpecify the target as a region.static PlaywrightCheckSettingswindow()Specify the target as window.
-
Constructor Details
-
Target
public Target()
-
-
Method Details
-
window
Specify the target as window.- Returns:
- the check settings
-
region
Specify the target as a region.- Parameters:
region- the region to capture.- Returns:
- the check settings
-
region
Specify the target as a region.- Parameters:
selector- the locator.- Returns:
- the check settings
-
region
Specify the target as a region.- Parameters:
locator- the locator.- Returns:
- the check settings
-
region
Specify the target as a region.- Parameters:
element- the element.- Returns:
- the check settings
-
frame
Specify the target as a frame.- Parameters:
frameNameOrId- the locator of the frame.- Returns:
- the check settings
-
frame
Specify the target as a frame.- Parameters:
frameIndex- the index of the frame.- Returns:
- the check settings
-
frame
Specify the target as a frame.- Parameters:
locator- the frame locator.- Returns:
- the check settings
-
frame
Specify the target as a frame.- Parameters:
frameElement- the frame element.- Returns:
- the check settings
-