public class BrowserTestRule extends Object implements org.junit.rules.TestRule
public class MyTestClass
{
@Rule
public BrowserTestRule browseTestRule = new BrowserTestRule(getDriver());
@Test
@IgnoreBrowser(value = {"firefox"}, reason="some reason for ignoring the test...")
public void myTest()
{
...
}
}
| Constructor and Description |
|---|
BrowserTestRule(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
Copyright © 2004–2021 XWiki. All rights reserved.