public class DriverRule extends Object implements org.junit.rules.TestRule
| Modifier and Type | Class and Description |
|---|---|
static class |
DriverRule.ChromeDriverHandler |
static class |
DriverRule.HtmlUnitDriverHandler |
static class |
DriverRule.PhantomJSDriverHandler |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
static void |
closeAll()
Disposes all open resources a DriverRule may hold.
|
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRulepublic static void closeAll()
This should be called after the test class has been executed.
Copyright © 2017. All rights reserved.