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 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 interface PageSourceExtractor
    • createFile

      @Nonnull protected File createFile(Config config, org.openqa.selenium.WebDriver driver, String fileName)
    • writeToFile

      protected void writeToFile(String content, File targetFile)
    • printOnce

      protected void printOnce(String action, Throwable error)