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 Details

    • BrowserStrategy

      public BrowserStrategy()
  • Method Details

    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource