Class DebugLevelScreenshotRule
- java.lang.Object
-
- com.qaprosoft.carina.core.foundation.webdriver.screenshot.DebugLevelScreenshotRule
-
- All Implemented Interfaces:
IScreenshotRule
public class DebugLevelScreenshotRule extends java.lang.Object implements IScreenshotRule
Screenshot rule for capturing screenshots if debug log level enabled. Not used by default in Carina Framework
-
-
Constructor Summary
Constructors Constructor Description DebugLevelScreenshotRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScreenshotType
getScreenshotType()
Get the type of screenshots for which the current rule will applyboolean
isAllowFullSize()
Allow full-size screenshot or notboolean
isTakeScreenshot()
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()
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()
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()
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
-
-