Package com.applitools.eyes.fluent
Class CheckSettings
- java.lang.Object
-
- com.applitools.eyes.fluent.CheckSettings
-
- All Implemented Interfaces:
ICheckSettingsInternal,ICheckSettings,ICheckSettingsInternal
public class CheckSettings extends Object implements ICheckSettings, ICheckSettingsInternal
-
-
Field Summary
Fields Modifier and Type Field Description protected List<GetRegion>accessibilityRegionsprotected static StringBEFORE_CAPTURE_SCREENSHOTprotected List<GetRegion>contentRegionsprotected BooleanenablePatternsprotected List<GetRegion>floatingRegionsprotected BooleanignoreDisplacementsprotected List<GetRegion>ignoreRegionsprotected List<GetRegion>layoutRegionsprotected Stringnameprotected StringpageIdprotected Map<String,String>scriptHooksprotected BooleansendDomprotected List<GetRegion>strictRegionsprotected BooleanuseDom
-
Constructor Summary
Constructors Modifier Constructor Description protectedCheckSettings()protectedCheckSettings(com.applitools.eyes.Region region)CheckSettings(Integer retryTimeout)For internal use only.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaccessibility(GetRegion accessibilityRegionProvider)ICheckSettingsaccessibility(com.applitools.eyes.Region region, AccessibilityRegionType regionType)protected voidaccessibility_(GetRegion accessibilityRegionProvider)protected voidaccessibility_(com.applitools.eyes.Region rect, AccessibilityRegionType regionType)ICheckSettingsautProxy(com.applitools.eyes.AutProxySettings autProxy)ICheckSettingsbeforeRenderScreenshotHook(String hook)CheckSettingsclone()ICheckSettingscontent()Shortcut to set the match level toMatchLevel.CONTENT.ICheckSettingscontent(com.applitools.eyes.Region[] regions)Adds one or more content regions.ICheckSettingscontent(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)Adds one or more content regions.protected voidcontent_(GetRegion regionProvider)protected voidcontent_(com.applitools.eyes.Region region)ICheckSettingsdensityMetrics(int xDpi, int yDpi)sets the density metrics for the screenshotICheckSettingsdensityMetrics(int xDpi, int yDpi, Double scaleRatio)sets the density metrics for the screenshot.ICheckSettingsenablePatterns()ICheckSettingsenablePatterns(Boolean enablePatterns)ICheckSettingsexact()Shortcut to set the match level toMatchLevel.EXACT.ICheckSettingsfloating(int maxOffset, com.applitools.eyes.Region... regions)Adds a floating region.protected voidfloating(GetRegion regionProvider)ICheckSettingsfloating(com.applitools.eyes.Region region, int maxUpOffset, int maxDownOffset, int maxLeftOffset, int maxRightOffset)Adds a floating region.protected voidfloating_(com.applitools.eyes.Region region, int maxUpOffset, int maxDownOffset, int maxLeftOffset, int maxRightOffset)ICheckSettingsfully()Defines that the screenshot will contain the entire element or region, even if it's outside the view.ICheckSettingsfully(Boolean fully)Defines whether the screenshot will contain the entire element or region, even if it's outside the view.GetRegion[]getAccessibilityRegions()AccessibilitySettingsgetAccessibilityValidation()com.applitools.eyes.AutProxySettingsgetAutProxy()GetRegion[]getContentRegions()DensityMetricsgetDensityMetrics()GetRegion[]getFloatingRegions()BooleangetHideCaret()BooleangetHideScrollBars()BooleangetIgnoreCaret()GetRegion[]getIgnoreRegions()List<Integer>getLayoutBreakpoints()LayoutBreakpointsOptionsgetLayoutBreakpointsOptions()GetRegion[]getLayoutRegions()LazyLoadOptionsgetLazyLoadOptions()MatchLevelgetMatchLevel()StringgetName()BaseOcrRegiongetOcrRegion()IntegergetOverlap()StringgetPageId()Map<String,String>getScriptHooks()StringgetSizeMode()PositionProvidergetStepPositionProvider()Internal UsageBooleangetStitchContent()StitchModegetStitchMode()StitchOverlapgetStitchOverlap()GetRegion[]getStrictRegions()com.applitools.eyes.RegiongetTargetRegion()IntegergetTimeout()StringgetVariationGroupId()List<com.applitools.eyes.visualgrid.model.VisualGridOption>getVisualGridOptions()IntegergetWaitBeforeCapture()ICheckSettingshideCaret(Boolean hideCaret)ICheckSettingshideScrollBars(Boolean hideScrollBars)ICheckSettingsignore(com.applitools.eyes.Region[] regions)Adds one or more ignore regions.ICheckSettingsignore(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)Adds one or more ignore regions.protected voidignore_(GetRegion regionProvider)protected voidignore_(com.applitools.eyes.Region region)ICheckSettingsignoreCaret()Defines to ignore a blinking caret in the screenshot.ICheckSettingsignoreCaret(Boolean ignoreCaret)Defines if to detect and ignore a blinking caret in the screenshot.ICheckSettingsignoreColors()ICheckSettingsignoreDisplacements()ICheckSettingsignoreDisplacements(Boolean ignoreDisplacements)BooleanisCheckWindow()BooleanisDefaultLayoutBreakpointsSet()BooleanisDisableBrowserFetching()BooleanisEnablePatterns()BooleanisIgnoreDisplacements()BooleanisSendDom()BooleanisStitchContent()BooleanisUseDom()ICheckSettingslayout()Shortcut to set the match level toMatchLevel.LAYOUT.ICheckSettingslayout(com.applitools.eyes.Region[] regions)Adds one or more layout regions.ICheckSettingslayout(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)Adds one or more layout regions.protected voidlayout_(GetRegion regionProvider)protected voidlayout_(com.applitools.eyes.Region region)ICheckSettingslayoutBreakpoints(int[] breakpoints)ICheckSettingslayoutBreakpoints(LayoutBreakpointsOptions layoutBreakpointsOptions)sets layout breakpoints using options.ICheckSettingslayoutBreakpoints(Boolean shouldSet)ICheckSettingslayoutBreakpoints(Integer... breakpoints)ICheckSettingslazyLoad()to handle lazy load will scroll before capturingICheckSettingslazyLoad(LazyLoadOptions lazyLoadOptions)to handle lazy load will scroll before capturingICheckSettingsmatchLevel(MatchLevel matchLevel)Set the match level by which to compare the screenshot.ICheckSettingsocrRegion(BaseOcrRegion ocrRegion)ICheckSettingspageId(String pageId)protected voidpopulateClone(CheckSettings clone)ICheckSettingsregion(com.applitools.eyes.Region region)ICheckSettingsscriptHook(String hook)Deprecated.ICheckSettingssendDom()ICheckSettingssendDom(Boolean sendDom)ICheckSettingssetAccessibilityValidation(AccessibilitySettings accessibilitySettings)ICheckSettingssetDisableBrowserFetching(Boolean disableBrowserFetching)ICheckSettingssetHideCaret(Boolean hideCaret)Deprecated.ICheckSettingssetHideScrollBars(Boolean hideScrollBars)Deprecated.ICheckSettingssetLayoutBreakpoints(int... breakpoints)Deprecated.ICheckSettingssetLayoutBreakpoints(Boolean shouldSet)Deprecated.ICheckSettingssetLayoutBreakpoints(Integer... breakpoints)Deprecated.ICheckSettingssetOverlap(Integer overlap)voidsetStitchContent(boolean stitchContent)ICheckSettingsstitchMode(StitchMode stitchMode)ICheckSettingsstitchOverlap(StitchOverlap stitchOverlap)ICheckSettingsstitchOverlap(Integer overlap)ICheckSettingsstrict()Shortcut to set the match level toMatchLevel.STRICT.ICheckSettingsstrict(com.applitools.eyes.Region[] regions)Adds one or more strict regions.ICheckSettingsstrict(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)Adds one or more strict regions.protected voidstrict_(GetRegion regionProvider)protected voidstrict_(com.applitools.eyes.Region region)ICheckSettingstimeout(Integer timeoutMilliseconds)Defines the timeout to use when acquiring and comparing screenshots.protected voidupdateTargetRegion(com.applitools.eyes.Region region)ICheckSettingsuseDom(Boolean useDom)ICheckSettingsvariationGroupId(String variationGroupId)ICheckSettingsvisualGridOptions(com.applitools.eyes.visualgrid.model.VisualGridOption... options)ICheckSettingswaitBeforeCapture(Integer milliSec)waits before every screenshot capturing.ICheckSettingswithName(String name)A setter for the checkpoint name.
-
-
-
Field Detail
-
BEFORE_CAPTURE_SCREENSHOT
protected static final String BEFORE_CAPTURE_SCREENSHOT
- See Also:
- Constant Field Values
-
ignoreDisplacements
protected Boolean ignoreDisplacements
-
name
protected String name
-
pageId
protected String pageId
-
sendDom
protected Boolean sendDom
-
useDom
protected Boolean useDom
-
enablePatterns
protected Boolean enablePatterns
-
-
Constructor Detail
-
CheckSettings
protected CheckSettings()
-
CheckSettings
protected CheckSettings(com.applitools.eyes.Region region)
-
CheckSettings
public CheckSettings(Integer retryTimeout)
For internal use only.- Parameters:
retryTimeout- timeout
-
-
Method Detail
-
ignore_
protected void ignore_(com.applitools.eyes.Region region)
-
ignore_
protected void ignore_(GetRegion regionProvider)
-
layout_
protected void layout_(com.applitools.eyes.Region region)
-
layout_
protected void layout_(GetRegion regionProvider)
-
content_
protected void content_(com.applitools.eyes.Region region)
-
content_
protected void content_(GetRegion regionProvider)
-
strict_
protected void strict_(com.applitools.eyes.Region region)
-
strict_
protected void strict_(GetRegion regionProvider)
-
floating_
protected void floating_(com.applitools.eyes.Region region, int maxUpOffset, int maxDownOffset, int maxLeftOffset, int maxRightOffset)
-
floating
protected void floating(GetRegion regionProvider)
-
clone
public CheckSettings clone()
- Specified by:
clonein interfaceICheckSettingsInternal- Overrides:
clonein classObject
-
isStitchContent
public Boolean isStitchContent()
- Specified by:
isStitchContentin interfaceICheckSettingsInternal
-
ignore
public ICheckSettings ignore(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
Adds one or more ignore regions.- Specified by:
ignorein interfaceICheckSettings- Parameters:
region- A region to ignore when validating the screenshot.regions- Optional extra regions to ignore when validating the screenshot.- Returns:
- An updated clone of this settings object.
-
ignore
public ICheckSettings ignore(com.applitools.eyes.Region[] regions)
Adds one or more ignore regions.- Specified by:
ignorein interfaceICheckSettings- Parameters:
regions- An array of regions to ignore when validating the screenshot.- Returns:
- An updated clone of this settings object.
-
layout
public ICheckSettings layout(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
Adds one or more layout regions.- Specified by:
layoutin interfaceICheckSettings- Parameters:
region- A region to match using the Layout method.regions- Optional extra regions to match using the Layout method.- Returns:
- An updated clone of this settings object.
-
layout
public ICheckSettings layout(com.applitools.eyes.Region[] regions)
Adds one or more layout regions.- Specified by:
layoutin interfaceICheckSettings- Parameters:
regions- An array of regions to match using the Layout method.- Returns:
- An updated clone of this settings object.
-
strict
public ICheckSettings strict(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
Adds one or more strict regions.- Specified by:
strictin interfaceICheckSettings- Parameters:
region- A region to match using the Strict method.regions- Optional extra regions to match using the Strict method.- Returns:
- An updated clone of this settings object.
-
strict
public ICheckSettings strict(com.applitools.eyes.Region[] regions)
Adds one or more strict regions.- Specified by:
strictin interfaceICheckSettings- Parameters:
regions- An array of regions to match using the Strict method.- Returns:
- An updated clone of this settings object.
-
content
public ICheckSettings content(com.applitools.eyes.Region region, com.applitools.eyes.Region... regions)
Adds one or more content regions.- Specified by:
contentin interfaceICheckSettings- Parameters:
region- A region to match using the Content method.regions- Optional extra regions to match using the Content method.- Returns:
- An updated clone of this settings object.
-
content
public ICheckSettings content(com.applitools.eyes.Region[] regions)
Adds one or more content regions.- Specified by:
contentin interfaceICheckSettings- Parameters:
regions- An array of regions to match using the Content method.- Returns:
- An updated clone of this settings object.
-
fully
public ICheckSettings fully()
Defines that the screenshot will contain the entire element or region, even if it's outside the view.- Specified by:
fullyin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
fully
public ICheckSettings fully(Boolean fully)
Defines whether the screenshot will contain the entire element or region, even if it's outside the view.- Specified by:
fullyin interfaceICheckSettings- Parameters:
fully- defines whether the screenshot will contain the entire element or region.- Returns:
- An updated clone of this settings object.
-
floating
public ICheckSettings floating(int maxOffset, com.applitools.eyes.Region... regions)
Adds a floating region. A floating region is a a region that can be placed within the boundaries of a bigger region.- Specified by:
floatingin interfaceICheckSettings- Parameters:
maxOffset- How much each of the content rectangles can move in any direction.regions- One or more content rectangles.- Returns:
- An updated clone of this settings object.
-
floating
public ICheckSettings floating(com.applitools.eyes.Region region, int maxUpOffset, int maxDownOffset, int maxLeftOffset, int maxRightOffset)
Adds a floating region. A floating region is a a region that can be placed within the boundaries of a bigger region.- Specified by:
floatingin interfaceICheckSettings- Parameters:
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.- Returns:
- An updated clone of this settings object.
-
timeout
public ICheckSettings timeout(Integer timeoutMilliseconds)
Defines the timeout to use when acquiring and comparing screenshots.- Specified by:
timeoutin interfaceICheckSettings- Parameters:
timeoutMilliseconds- The timeout to use in milliseconds.- Returns:
- An updated clone of this settings object.
-
layout
public ICheckSettings layout()
Shortcut to set the match level toMatchLevel.LAYOUT.- Specified by:
layoutin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
exact
public ICheckSettings exact()
Shortcut to set the match level toMatchLevel.EXACT.- Specified by:
exactin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
strict
public ICheckSettings strict()
Shortcut to set the match level toMatchLevel.STRICT.- Specified by:
strictin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
content
public ICheckSettings content()
Shortcut to set the match level toMatchLevel.CONTENT.- Specified by:
contentin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
ignoreColors
public ICheckSettings ignoreColors()
-
matchLevel
public ICheckSettings matchLevel(MatchLevel matchLevel)
Set the match level by which to compare the screenshot.- Specified by:
matchLevelin interfaceICheckSettings- Parameters:
matchLevel- The match level to use.- Returns:
- An updated clone of this settings object.
-
ignoreCaret
public ICheckSettings ignoreCaret(Boolean ignoreCaret)
Defines if to detect and ignore a blinking caret in the screenshot.- Specified by:
ignoreCaretin interfaceICheckSettings- Parameters:
ignoreCaret- Whether or not to detect and ignore a blinking caret in the screenshot.- Returns:
- An updated clone of this settings object.
-
ignoreCaret
public ICheckSettings ignoreCaret()
Defines to ignore a blinking caret in the screenshot.- Specified by:
ignoreCaretin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
withName
public ICheckSettings withName(String name)
A setter for the checkpoint name.- Specified by:
withNamein interfaceICheckSettings- Parameters:
name- A name by which to identify the checkpoint.- Returns:
- An updated clone of this settings object.
-
isSendDom
public Boolean isSendDom()
- Specified by:
isSendDomin interfaceICheckSettingsInternal- Specified by:
isSendDomin interfaceICheckSettingsInternal
-
isIgnoreDisplacements
public Boolean isIgnoreDisplacements()
- Specified by:
isIgnoreDisplacementsin interfaceICheckSettingsInternal- Specified by:
isIgnoreDisplacementsin interfaceICheckSettingsInternal
-
isUseDom
public Boolean isUseDom()
- Specified by:
isUseDomin interfaceICheckSettingsInternal- Specified by:
isUseDomin interfaceICheckSettingsInternal
-
useDom
public ICheckSettings useDom(Boolean useDom)
- Specified by:
useDomin interfaceICheckSettings
-
sendDom
public ICheckSettings sendDom(Boolean sendDom)
- Specified by:
sendDomin interfaceICheckSettings
-
sendDom
public ICheckSettings sendDom()
- Specified by:
sendDomin interfaceICheckSettings
-
getTargetRegion
public com.applitools.eyes.Region getTargetRegion()
- Specified by:
getTargetRegionin interfaceICheckSettingsInternal
-
getTimeout
public Integer getTimeout()
- Specified by:
getTimeoutin interfaceICheckSettingsInternal
-
getStitchContent
public Boolean getStitchContent()
- Specified by:
getStitchContentin interfaceICheckSettingsInternal
-
getMatchLevel
public MatchLevel getMatchLevel()
- Specified by:
getMatchLevelin interfaceICheckSettingsInternal
-
getIgnoreRegions
public GetRegion[] getIgnoreRegions()
- Specified by:
getIgnoreRegionsin interfaceICheckSettingsInternal
-
getStrictRegions
public GetRegion[] getStrictRegions()
- Specified by:
getStrictRegionsin interfaceICheckSettingsInternal
-
getLayoutRegions
public GetRegion[] getLayoutRegions()
- Specified by:
getLayoutRegionsin interfaceICheckSettingsInternal
-
getContentRegions
public GetRegion[] getContentRegions()
- Specified by:
getContentRegionsin interfaceICheckSettingsInternal
-
getFloatingRegions
public GetRegion[] getFloatingRegions()
- Specified by:
getFloatingRegionsin interfaceICheckSettingsInternal
-
getIgnoreCaret
public Boolean getIgnoreCaret()
- Specified by:
getIgnoreCaretin interfaceICheckSettingsInternal
-
getName
public String getName()
- Specified by:
getNamein interfaceICheckSettingsInternal
-
getScriptHooks
public Map<String,String> getScriptHooks()
- Specified by:
getScriptHooksin interfaceICheckSettingsInternal
-
getSizeMode
public String getSizeMode()
- Specified by:
getSizeModein interfaceICheckSettingsInternal
-
updateTargetRegion
protected void updateTargetRegion(com.applitools.eyes.Region region)
-
populateClone
protected void populateClone(CheckSettings clone)
-
setStitchContent
public void setStitchContent(boolean stitchContent)
-
isEnablePatterns
public Boolean isEnablePatterns()
- Specified by:
isEnablePatternsin interfaceICheckSettingsInternal
-
enablePatterns
public ICheckSettings enablePatterns(Boolean enablePatterns)
- Specified by:
enablePatternsin interfaceICheckSettings
-
enablePatterns
public ICheckSettings enablePatterns()
- Specified by:
enablePatternsin interfaceICheckSettings
-
scriptHook
@Deprecated public ICheckSettings scriptHook(String hook)
Deprecated.- Specified by:
scriptHookin interfaceICheckSettings- Specified by:
scriptHookin interfaceICheckSettingsInternal
-
beforeRenderScreenshotHook
public ICheckSettings beforeRenderScreenshotHook(String hook)
- Specified by:
beforeRenderScreenshotHookin interfaceICheckSettings- Specified by:
beforeRenderScreenshotHookin interfaceICheckSettingsInternal
-
ignoreDisplacements
public ICheckSettings ignoreDisplacements(Boolean ignoreDisplacements)
- Specified by:
ignoreDisplacementsin interfaceICheckSettings
-
ignoreDisplacements
public ICheckSettings ignoreDisplacements()
- Specified by:
ignoreDisplacementsin interfaceICheckSettings
-
accessibility_
protected void accessibility_(GetRegion accessibilityRegionProvider)
-
accessibility_
protected void accessibility_(com.applitools.eyes.Region rect, AccessibilityRegionType regionType)
-
accessibility
public ICheckSettings accessibility(com.applitools.eyes.Region region, AccessibilityRegionType regionType)
- Specified by:
accessibilityin interfaceICheckSettings
-
accessibility
protected void accessibility(GetRegion accessibilityRegionProvider)
-
getAccessibilityRegions
public GetRegion[] getAccessibilityRegions()
- Specified by:
getAccessibilityRegionsin interfaceICheckSettingsInternal
-
ocrRegion
public ICheckSettings ocrRegion(BaseOcrRegion ocrRegion)
-
getOcrRegion
public BaseOcrRegion getOcrRegion()
- Specified by:
getOcrRegionin interfaceICheckSettingsInternal
-
variationGroupId
public ICheckSettings variationGroupId(String variationGroupId)
-
getVariationGroupId
public String getVariationGroupId()
- Specified by:
getVariationGroupIdin interfaceICheckSettingsInternal
-
getStepPositionProvider
public PositionProvider getStepPositionProvider()
Internal Usage- Specified by:
getStepPositionProviderin interfaceICheckSettingsInternal
-
visualGridOptions
public ICheckSettings visualGridOptions(com.applitools.eyes.visualgrid.model.VisualGridOption... options)
- Specified by:
visualGridOptionsin interfaceICheckSettings
-
isCheckWindow
public Boolean isCheckWindow()
- Specified by:
isCheckWindowin interfaceICheckSettings
-
waitBeforeCapture
public ICheckSettings waitBeforeCapture(Integer milliSec)
Description copied from interface:ICheckSettingswaits before every screenshot capturing.- Specified by:
waitBeforeCapturein interfaceICheckSettings- Parameters:
milliSec- wait time.- Returns:
- An updated clone of this settings object.
-
getVisualGridOptions
public List<com.applitools.eyes.visualgrid.model.VisualGridOption> getVisualGridOptions()
- Specified by:
getVisualGridOptionsin interfaceICheckSettingsInternal
-
isDisableBrowserFetching
public Boolean isDisableBrowserFetching()
- Specified by:
isDisableBrowserFetchingin interfaceICheckSettingsInternal
-
setDisableBrowserFetching
public ICheckSettings setDisableBrowserFetching(Boolean disableBrowserFetching)
- Specified by:
setDisableBrowserFetchingin interfaceICheckSettingsInternal
-
getWaitBeforeCapture
public Integer getWaitBeforeCapture()
-
lazyLoad
public ICheckSettings lazyLoad()
Description copied from interface:ICheckSettingsto handle lazy load will scroll before capturing- Specified by:
lazyLoadin interfaceICheckSettings- Returns:
- An updated clone of this settings object.
-
lazyLoad
public ICheckSettings lazyLoad(LazyLoadOptions lazyLoadOptions)
Description copied from interface:ICheckSettingsto handle lazy load will scroll before capturing- Specified by:
lazyLoadin interfaceICheckSettings- Parameters:
lazyLoadOptions- lazy load options- Returns:
- An updated clone of this settings object.
-
getLazyLoadOptions
public LazyLoadOptions getLazyLoadOptions()
-
getAutProxy
public com.applitools.eyes.AutProxySettings getAutProxy()
-
autProxy
public ICheckSettings autProxy(com.applitools.eyes.AutProxySettings autProxy)
-
getAccessibilityValidation
public AccessibilitySettings getAccessibilityValidation()
-
setAccessibilityValidation
public ICheckSettings setAccessibilityValidation(AccessibilitySettings accessibilitySettings)
-
getStitchMode
public StitchMode getStitchMode()
-
stitchMode
public ICheckSettings stitchMode(StitchMode stitchMode)
-
getHideScrollBars
public Boolean getHideScrollBars()
-
hideScrollBars
public ICheckSettings hideScrollBars(Boolean hideScrollBars)
-
setHideScrollBars
@Deprecated public ICheckSettings setHideScrollBars(Boolean hideScrollBars)
Deprecated.
-
getHideCaret
public Boolean getHideCaret()
-
hideCaret
public ICheckSettings hideCaret(Boolean hideCaret)
-
setHideCaret
@Deprecated public ICheckSettings setHideCaret(Boolean hideCaret)
Deprecated.
-
getOverlap
public Integer getOverlap()
-
getStitchOverlap
public StitchOverlap getStitchOverlap()
-
setOverlap
public ICheckSettings setOverlap(Integer overlap)
-
stitchOverlap
public ICheckSettings stitchOverlap(Integer overlap)
-
stitchOverlap
public ICheckSettings stitchOverlap(StitchOverlap stitchOverlap)
-
layoutBreakpoints
public ICheckSettings layoutBreakpoints(Boolean shouldSet)
- Specified by:
layoutBreakpointsin interfaceICheckSettings
-
region
public ICheckSettings region(com.applitools.eyes.Region region)
- Specified by:
regionin interfaceICheckSettings
-
layoutBreakpoints
public ICheckSettings layoutBreakpoints(Integer... breakpoints)
- Specified by:
layoutBreakpointsin interfaceICheckSettings
-
layoutBreakpoints
public ICheckSettings layoutBreakpoints(int[] breakpoints)
-
setLayoutBreakpoints
@Deprecated public ICheckSettings setLayoutBreakpoints(Boolean shouldSet)
Deprecated.
-
setLayoutBreakpoints
@Deprecated public ICheckSettings setLayoutBreakpoints(Integer... breakpoints)
Deprecated.
-
setLayoutBreakpoints
@Deprecated public ICheckSettings setLayoutBreakpoints(int... breakpoints)
Deprecated.
-
layoutBreakpoints
public ICheckSettings layoutBreakpoints(LayoutBreakpointsOptions layoutBreakpointsOptions)
Description copied from interface:ICheckSettingssets layout breakpoints using options.- Specified by:
layoutBreakpointsin interfaceICheckSettings- Parameters:
layoutBreakpointsOptions- the layout breakpoints options- Returns:
- an updated clone of this settings object
-
isDefaultLayoutBreakpointsSet
public Boolean isDefaultLayoutBreakpointsSet()
-
getLayoutBreakpointsOptions
public LayoutBreakpointsOptions getLayoutBreakpointsOptions()
-
pageId
public ICheckSettings pageId(String pageId)
-
getPageId
public String getPageId()
-
densityMetrics
public ICheckSettings densityMetrics(int xDpi, int yDpi)
Description copied from interface:ICheckSettingssets the density metrics for the screenshot- Specified by:
densityMetricsin interfaceICheckSettings- Parameters:
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 dimension- Returns:
-
densityMetrics
public ICheckSettings densityMetrics(int xDpi, int yDpi, Double scaleRatio)
Description copied from interface:ICheckSettingssets the density metrics for the screenshot.- Specified by:
densityMetricsin interfaceICheckSettings- Parameters:
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 ratio- Returns:
-
getDensityMetrics
public DensityMetrics getDensityMetrics()
-
-