public class TestWebDriverDebug extends Object
WebDriverDebug.| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TemporaryFolder |
temporaryFolder |
| Constructor and Description |
|---|
TestWebDriverDebug() |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpPageShouldNotThrowExceptionOnIoError() |
void |
dumpPageSourceToExistingFile() |
void |
dumpPageSourceToNonExistingFile() |
void |
dumpPageSourceToWriterShouldWorkGivenWorkingWriter() |
void |
initDrivers() |
void |
shouldNotAcceptNullDriver() |
void |
shouldNotTakeScreenshotGivenIoError() |
void |
shouldNotTakeScreenshotGivenNoUnderlyingDriverTakesScreenshot() |
void |
shouldReturnCurrentUrl() |
void |
shouldTakeScreenshotGivenDriverTakesScreenshot() |
void |
shouldTakeScreenshotGivenUnderlyingDriverTakesScreenshot() |
public void initDrivers()
public void shouldNotAcceptNullDriver()
public void shouldReturnCurrentUrl()
public void dumpPageSourceToNonExistingFile()
throws IOException
IOExceptionpublic void dumpPageSourceToExistingFile()
throws IOException
IOExceptionpublic void dumpPageShouldNotThrowExceptionOnIoError()
throws IOException
IOExceptionpublic void dumpPageSourceToWriterShouldWorkGivenWorkingWriter()
public void shouldTakeScreenshotGivenDriverTakesScreenshot()
throws IOException
IOExceptionpublic void shouldTakeScreenshotGivenUnderlyingDriverTakesScreenshot()
throws IOException
IOExceptionpublic void shouldNotTakeScreenshotGivenNoUnderlyingDriverTakesScreenshot()
throws IOException
IOExceptionpublic void shouldNotTakeScreenshotGivenIoError()
throws IOException
IOExceptionCopyright © 2015 Atlassian. All rights reserved.