public class LifecycleAwareWebDriverGrid extends Object
shutdown(). When that method is called, the shutdown hooks for those
browser will be unregistered.| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Supplier<AtlassianWebDriver> |
currentDriverSupplier() |
static AtlassianWebDriver |
getCurrentDriver() |
static AtlassianWebDriver |
getDriver()
Retrieves the driver from the
WebDriverFactory. |
static void |
shutdown()
A manual shut down of the registered drivers.
|
public static AtlassianWebDriver getDriver()
WebDriverFactory. If an instance
of the driver is already running then it will be re-used instead of
creating a new instance.public static AtlassianWebDriver getCurrentDriver()
public static com.google.common.base.Supplier<AtlassianWebDriver> currentDriverSupplier()
public static void shutdown()
Copyright © 2015 Atlassian. All rights reserved.