@ParametersAreNonnullByDefault
public class PageSourceExtractor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.lang.String> |
printedErrors |
| Constructor and Description |
|---|
PageSourceExtractor(Config config,
org.openqa.selenium.WebDriver driver,
java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.File |
extract(boolean retryIfAlert) |
protected void |
printOnce(java.lang.String action,
java.lang.Throwable error) |
protected void |
writeToFile(java.lang.String content,
java.io.File targetFile) |
public PageSourceExtractor(Config config, org.openqa.selenium.WebDriver driver, java.lang.String fileName)