Class WebPageSourceExtractor

java.lang.Object
com.codeborne.selenide.impl.WebPageSourceExtractor
All Implemented Interfaces:
PageSourceExtractor
Direct Known Subclasses:
AppiumScreenSourceExtractor

public class WebPageSourceExtractor extends Object implements PageSourceExtractor
  • Constructor Details

    • WebPageSourceExtractor

      public WebPageSourceExtractor()
  • Method Details

    • extract

      public File extract(Config config, org.openqa.selenium.WebDriver driver, String fileName)
      Specified by:
      extract in interface PageSourceExtractor
    • createFile

      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)