public class FirefoxDriverProvider extends Object implements DriverProvider
| Constructor and Description |
|---|
FirefoxDriverProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateDriverInstanceFor(org.openqa.selenium.Capabilities capabilities)
Checks that the browser name set in the provided capabilities matches the browser name
set in the desired capabilities.
|
boolean |
canCreateDriverInstances()
Checks that driver class can be loaded.
|
org.openqa.selenium.Capabilities |
getProvidedCapabilities()
The provider "promices" that created driver instances will have (at least) this set of
capabilities.
|
org.openqa.selenium.WebDriver |
newInstance(org.openqa.selenium.Capabilities capabilities)
Creates a new driver instance.
|
String |
toString() |
public org.openqa.selenium.Capabilities getProvidedCapabilities()
DriverProvidergetProvidedCapabilities in interface DriverProviderpublic boolean canCreateDriverInstances()
canCreateDriverInstances in interface DriverProviderpublic boolean canCreateDriverInstanceFor(org.openqa.selenium.Capabilities capabilities)
canCreateDriverInstanceFor in interface DriverProvidercapabilities - The desired capabilitiespublic org.openqa.selenium.WebDriver newInstance(org.openqa.selenium.Capabilities capabilities)
DriverProvidernewInstance in interface DriverProvidercapabilities - Capabilities are to be passed to the driver constructor.Copyright © 2016. All rights reserved.