Class LazyDriver

java.lang.Object
com.codeborne.selenide.drivercommands.LazyDriver
All Implemented Interfaces:
Driver

public class LazyDriver extends Object implements Driver
A `Driver` implementation which opens browser on demand (on a first call). May be created with its own config, proxy and listeners. This class is NOT thread-safe. Every thread should use its own instance.
  • Constructor Details

    • LazyDriver

      public LazyDriver(Config config, @Nullable org.openqa.selenium.Proxy userProvidedProxy, List<org.openqa.selenium.support.events.WebDriverListener> listeners)
  • Method Details