Class FullSizePhotographer
java.lang.Object
com.codeborne.selenide.fullscreenshot.FullSizePhotographer
- All Implemented Interfaces:
Photographer
@ParametersAreNonnullByDefault
public class FullSizePhotographer
extends Object
implements Photographer
Implementation of
Photographer
which can take full-size screenshots.- Since:
- 6.7.0
-
Constructor Summary
ModifierConstructorDescriptionprotected
FullSizePhotographer
(WebdriverPhotographer defaultImplementation) -
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>
takeScreenshot
(Driver driver, org.openqa.selenium.OutputType<T> outputType)
-
Constructor Details
-
FullSizePhotographer
public FullSizePhotographer() -
FullSizePhotographer
-
-
Method Details
-
takeScreenshot
@Nonnull @CheckReturnValue public <T> Optional<T> takeScreenshot(Driver driver, org.openqa.selenium.OutputType<T> outputType) - Specified by:
takeScreenshot
in interfacePhotographer
-