public class LogTestWatchman
extends org.junit.rules.TestWatchman
Constructor and Description |
---|
LogTestWatchman() |
LogTestWatchman(org.openqa.selenium.remote.RemoteWebDriver driver,
String serverURL) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target) |
File |
dumpPageSource(String filename)
Deprecated.
since 5.9.2, use
ScreenshotTaker.dumpPageSource(org.openqa.selenium.WebDriver, String)
instead. |
void |
failed(Throwable e,
org.junit.runners.model.FrameworkMethod method) |
void |
finished(org.junit.runners.model.FrameworkMethod method) |
org.openqa.selenium.remote.RemoteWebDriver |
getDriver() |
String |
getServerURL() |
void |
runBeforeAfters() |
void |
setDriver(org.openqa.selenium.remote.RemoteWebDriver driver) |
void |
setServerURL(String serverURL) |
void |
starting(org.junit.runners.model.FrameworkMethod method) |
void |
succeeded(org.junit.runners.model.FrameworkMethod method) |
File |
takeScreenshot(String filename)
Deprecated.
since 5.9.2, use
ScreenshotTaker.takeScreenshot(org.openqa.selenium.WebDriver, String)
instead. |
public LogTestWatchman(org.openqa.selenium.remote.RemoteWebDriver driver, String serverURL)
public LogTestWatchman()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
apply
in interface org.junit.rules.MethodRule
apply
in class org.junit.rules.TestWatchman
@Deprecated public File dumpPageSource(String filename)
ScreenshotTaker.dumpPageSource(org.openqa.selenium.WebDriver, String)
instead.public void failed(Throwable e, org.junit.runners.model.FrameworkMethod method)
failed
in class org.junit.rules.TestWatchman
public void finished(org.junit.runners.model.FrameworkMethod method)
finished
in class org.junit.rules.TestWatchman
public org.openqa.selenium.remote.RemoteWebDriver getDriver()
public String getServerURL()
public void runBeforeAfters()
public void setDriver(org.openqa.selenium.remote.RemoteWebDriver driver)
public void setServerURL(String serverURL)
public void starting(org.junit.runners.model.FrameworkMethod method)
starting
in class org.junit.rules.TestWatchman
public void succeeded(org.junit.runners.model.FrameworkMethod method)
succeeded
in class org.junit.rules.TestWatchman
@Deprecated public File takeScreenshot(String filename)
ScreenshotTaker.takeScreenshot(org.openqa.selenium.WebDriver, String)
instead.Copyright © 2015 Nuxeo SA. All rights reserved.