public interface ICheckSettings
| Modifier and Type | Method and Description |
|---|---|
ICheckSettings |
accessibility(com.applitools.eyes.Region region,
AccessibilityRegionType regionType) |
ICheckSettings |
beforeRenderScreenshotHook(String scriptHook) |
ICheckSettings |
content()
Shortcut to set the match level to
MatchLevel.CONTENT. |
ICheckSettings |
content(com.applitools.eyes.Region[] regions)
Adds one or more content regions.
|
ICheckSettings |
content(com.applitools.eyes.Region region,
com.applitools.eyes.Region... regions)
Adds one or more content regions.
|
ICheckSettings |
densityMetrics(int xDpi,
int yDpi)
sets the density metrics for the screenshot
|
ICheckSettings |
densityMetrics(int xDpi,
int yDpi,
Double scaleRatio)
sets the density metrics for the screenshot.
|
ICheckSettings |
enablePatterns() |
ICheckSettings |
enablePatterns(Boolean enablePatterns) |
ICheckSettings |
exact()
Shortcut to set the match level to
MatchLevel.EXACT. |
ICheckSettings |
floating(int maxOffset,
com.applitools.eyes.Region... regions)
Adds a floating region.
|
ICheckSettings |
floating(com.applitools.eyes.Region region,
int maxUpOffset,
int maxDownOffset,
int maxLeftOffset,
int maxRightOffset)
Adds a floating region.
|
ICheckSettings |
fully()
Defines that the screenshot will contain the entire element or region, even if it's outside the view.
|
ICheckSettings |
fully(Boolean fully)
Defines whether the screenshot will contain the entire element or region, even if it's outside the view.
|
ICheckSettings |
ignore(com.applitools.eyes.Region[] regions)
Adds one or more ignore regions.
|
ICheckSettings |
ignore(com.applitools.eyes.Region region,
com.applitools.eyes.Region... regions)
Adds one or more ignore regions.
|
ICheckSettings |
ignoreCaret()
Defines to ignore a blinking caret in the screenshot.
|
ICheckSettings |
ignoreCaret(Boolean ignoreCaret)
Defines if to detect and ignore a blinking caret in the screenshot.
|
ICheckSettings |
ignoreDisplacements() |
ICheckSettings |
ignoreDisplacements(Boolean ignoreDisplacements) |
Boolean |
isCheckWindow() |
ICheckSettings |
layout()
Shortcut to set the match level to
MatchLevel.LAYOUT. |
ICheckSettings |
layout(com.applitools.eyes.Region[] regions)
Adds one or more layout regions.
|
ICheckSettings |
layout(com.applitools.eyes.Region region,
com.applitools.eyes.Region... regions)
Adds one or more layout regions.
|
ICheckSettings |
lazyLoad()
to handle lazy load will scroll before capturing
|
ICheckSettings |
lazyLoad(LazyLoadOptions lazyLoadOptions)
to handle lazy load will scroll before capturing
|
ICheckSettings |
matchLevel(MatchLevel matchLevel)
Set the match level by which to compare the screenshot.
|
ICheckSettings |
scriptHook(String scriptHook) |
ICheckSettings |
sendDom() |
ICheckSettings |
sendDom(Boolean sendDom) |
ICheckSettings |
strict()
Shortcut to set the match level to
MatchLevel.STRICT. |
ICheckSettings |
strict(com.applitools.eyes.Region[] regions)
Adds one or more strict regions.
|
ICheckSettings |
strict(com.applitools.eyes.Region region,
com.applitools.eyes.Region... regions)
Adds one or more strict regions.
|
ICheckSettings |
timeout(Integer timeoutMilliseconds)
Defines the timeout to use when acquiring and comparing screenshots.
|
ICheckSettings |
useDom(Boolean useDom) |
ICheckSettings |
visualGridOptions(VisualGridOption... options) |
ICheckSettings |
waitBeforeCapture(Integer milliSec)
waits before every screenshot capturing.
|
ICheckSettings |
withName(String name)
A setter for the checkpoint name.
|
ICheckSettings ignore(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
region - A region to ignore when validating the screenshot.regions - Optional extra regions to ignore when validating the screenshot.ICheckSettings ignore(com.applitools.eyes.Region[] regions)
regions - An array of regions to ignore when validating the screenshot.ICheckSettings layout(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
region - A region to match using the Layout method.regions - Optional extra regions to match using the Layout method.ICheckSettings layout(com.applitools.eyes.Region[] regions)
regions - An array of regions to match using the Layout method.ICheckSettings strict(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
region - A region to match using the Strict method.regions - Optional extra regions to match using the Strict method.ICheckSettings strict(com.applitools.eyes.Region[] regions)
regions - An array of regions to match using the Strict method.ICheckSettings content(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
region - A region to match using the Content method.regions - Optional extra regions to match using the Content method.ICheckSettings content(com.applitools.eyes.Region[] regions)
regions - An array of regions to match using the Content method.ICheckSettings fully()
ICheckSettings fully(Boolean fully)
fully - defines whether the screenshot will contain the entire element or region.ICheckSettings floating(int maxOffset, com.applitools.eyes.Region... regions)
maxOffset - How much each of the content rectangles can move in any direction.regions - One or more content rectangles.ICheckSettings floating(com.applitools.eyes.Region region, int maxUpOffset, int maxDownOffset, int maxLeftOffset, int maxRightOffset)
region - The content rectangle.maxUpOffset - How much the content can move up.maxDownOffset - How much the content can move down.maxLeftOffset - How much the content can move to the left.maxRightOffset - How much the content can move to the right.ICheckSettings timeout(Integer timeoutMilliseconds)
timeoutMilliseconds - The timeout to use in milliseconds.ICheckSettings layout()
MatchLevel.LAYOUT.ICheckSettings exact()
MatchLevel.EXACT.ICheckSettings strict()
MatchLevel.STRICT.ICheckSettings content()
MatchLevel.CONTENT.ICheckSettings matchLevel(MatchLevel matchLevel)
matchLevel - The match level to use.ICheckSettings ignoreCaret(Boolean ignoreCaret)
ignoreCaret - Whether or not to detect and ignore a blinking caret in the screenshot.ICheckSettings ignoreCaret()
ICheckSettings withName(String name)
name - A name by which to identify the checkpoint.ICheckSettings useDom(Boolean useDom)
ICheckSettings sendDom(Boolean sendDom)
ICheckSettings sendDom()
ICheckSettings enablePatterns(Boolean enablePatterns)
ICheckSettings enablePatterns()
ICheckSettings scriptHook(String scriptHook)
ICheckSettings beforeRenderScreenshotHook(String scriptHook)
ICheckSettings ignoreDisplacements(Boolean ignoreDisplacements)
ICheckSettings ignoreDisplacements()
ICheckSettings accessibility(com.applitools.eyes.Region region, AccessibilityRegionType regionType)
ICheckSettings visualGridOptions(VisualGridOption... options)
Boolean isCheckWindow()
ICheckSettings waitBeforeCapture(Integer milliSec)
milliSec - wait time.ICheckSettings lazyLoad()
ICheckSettings lazyLoad(LazyLoadOptions lazyLoadOptions)
lazyLoadOptions - lazy load optionsICheckSettings densityMetrics(int xDpi, int yDpi)
xDpi - the exact physical pixels per inch of the screen in the X dimensionyDpi - the exact physical pixels per inch of the screen in the Y dimensionICheckSettings densityMetrics(int xDpi, int yDpi, Double scaleRatio)
xDpi - the exact physical pixels per inch of the screen in the X dimensionyDpi - the exact physical pixels per inch of the screen in the Y dimensionscaleRatio - the scale ratioCopyright © 2023. All rights reserved.