public class DefaultDriverFactory extends java.lang.Object implements DriverFactory
Constructor and Description |
---|
DefaultDriverFactory(org.openqa.selenium.Platform runningOn) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMappingFor(org.openqa.selenium.Capabilities capabilities) |
org.openqa.selenium.WebDriver |
newInstance(org.openqa.selenium.Capabilities capabilities) |
void |
registerDriverProvider(DriverProvider driverProvider) |
public DefaultDriverFactory(org.openqa.selenium.Platform runningOn)
public void registerDriverProvider(DriverProvider driverProvider)
registerDriverProvider
in interface DriverFactory
public org.openqa.selenium.WebDriver newInstance(org.openqa.selenium.Capabilities capabilities)
newInstance
in interface DriverFactory
public boolean hasMappingFor(org.openqa.selenium.Capabilities capabilities)
hasMappingFor
in interface DriverFactory
capabilities
- capabilities map