Package com.codeborne.selenide.impl
Class WebPageSourceExtractor
java.lang.Object
com.codeborne.selenide.impl.WebPageSourceExtractor
- All Implemented Interfaces:
PageSourceExtractor
- Direct Known Subclasses:
AppiumScreenSourceExtractor
@ParametersAreNonnullByDefault
public class WebPageSourceExtractor
extends Object
implements PageSourceExtractor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected File
createFile
(Config config, org.openqa.selenium.WebDriver driver, String fileName) protected void
protected void
writeToFile
(String content, File targetFile)
-
Constructor Details
-
WebPageSourceExtractor
public WebPageSourceExtractor()
-
-
Method Details
-
extract
@Nonnull @CheckReturnValue public File extract(Config config, org.openqa.selenium.WebDriver driver, String fileName) - Specified by:
extract
in interfacePageSourceExtractor
-
createFile
-
writeToFile
-
printOnce
-