Class AutoScreenshotRule
- java.lang.Object
-
- com.qaprosoft.carina.core.foundation.webdriver.screenshot.AutoScreenshotRule
-
- All Implemented Interfaces:
IScreenshotRule
@Deprecated(forRemoval=true, since="8.0.5") public class AutoScreenshotRule extends java.lang.Object implements IScreenshotRule
Deprecated, for removal: This API element is subject to removal in a future version.instead usedDefaultSuccessfulDriverActionScreenshotRule
andDefaultUnSuccessfulDriverActionScreenshotRule
rules
-
-
Constructor Summary
Constructors Constructor Description AutoScreenshotRule()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ScreenshotType
getScreenshotType()
Deprecated, for removal: This API element is subject to removal in a future version.Get the type of screenshots for which the current rule will applyboolean
isAllowFullSize()
Deprecated, for removal: This API element is subject to removal in a future version.Allow full-size screenshot or notboolean
isTakeScreenshot()
Deprecated, for removal: This API element is subject to removal in a future version.Take a screenshot or not-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.qaprosoft.carina.core.foundation.webdriver.screenshot.IScreenshotRule
getFilename, getImageResizeDimensions, getSaveFolder, getTimeout, isEnableValidation
-
-
-
-
Method Detail
-
getScreenshotType
public ScreenshotType getScreenshotType()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IScreenshotRule
Get the type of screenshots for which the current rule will apply- Specified by:
getScreenshotType
in interfaceIScreenshotRule
- Returns:
ScreenshotType
-
isTakeScreenshot
public boolean isTakeScreenshot()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IScreenshotRule
Take a screenshot or not- Specified by:
isTakeScreenshot
in interfaceIScreenshotRule
- Returns:
- true if allow capture screenshot, false otherwise
-
isAllowFullSize
public boolean isAllowFullSize()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IScreenshotRule
Allow full-size screenshot or not- Specified by:
isAllowFullSize
in interfaceIScreenshotRule
- Returns:
- true if allow capture of full-size screenshot, false otherwise
-
-