public final class WebDriverSupport<WD extends org.openqa.selenium.WebDriver> extends Object
WebDriver instance.
This class defines 'templates' for constructors to provide the WebDriver instance in a generic way. By default it
falls back to LifecycleAwareWebDriverGrid.| Modifier and Type | Method and Description |
|---|---|
static <VE extends org.openqa.selenium.WebDriver> |
forInstance(VE webDriver) |
static <VE extends org.openqa.selenium.WebDriver> |
forSupplier(com.google.common.base.Supplier<? extends VE> driverSupplier) |
static WebDriverSupport<AtlassianWebDriver> |
fromAutoInstall() |
WD |
getDriver() |
public static WebDriverSupport<AtlassianWebDriver> fromAutoInstall()
public static <VE extends org.openqa.selenium.WebDriver> WebDriverSupport<VE> forSupplier(com.google.common.base.Supplier<? extends VE> driverSupplier)
public static <VE extends org.openqa.selenium.WebDriver> WebDriverSupport<VE> forInstance(VE webDriver)
Copyright © 2015 Atlassian. All rights reserved.