Package com.codeborne.selenide.junit
Class BrowserStrategy
java.lang.Object
org.junit.rules.ExternalResource
com.codeborne.selenide.junit.BrowserStrategy
- All Implemented Interfaces:
org.junit.rules.TestRule
public class BrowserStrategy
extends org.junit.rules.ExternalResource
Usage:
@Rule public BrowserStrategy perTest = new BrowserStrategy();or
@ClassRule public static BrowserStrategy perClass = new BrowserStrategy();
-
Constructor Summary
-
Method Summary
Methods inherited from class org.junit.rules.ExternalResource
apply, before
-
Constructor Details
-
BrowserStrategy
public BrowserStrategy()
-
-
Method Details
-
after
protected void after()- Overrides:
after
in classorg.junit.rules.ExternalResource
-