org.openqa.selenium.remote.server
Class DefaultDriverFactory
java.lang.Object
org.openqa.selenium.remote.server.DefaultDriverFactory
- All Implemented Interfaces:
- DriverFactory
public class DefaultDriverFactory
- extends Object
- implements DriverFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDriverFactory
public DefaultDriverFactory()
registerDriver
public void registerDriver(Capabilities capabilities,
Class<? extends WebDriver> implementation)
- Specified by:
registerDriver
in interface DriverFactory
getBestMatchFor
protected Class<? extends WebDriver> getBestMatchFor(Capabilities desired)
newInstance
public WebDriver newInstance(Capabilities capabilities)
- Specified by:
newInstance
in interface DriverFactory
hasMappingFor
public boolean hasMappingFor(Capabilities capabilities)
- Specified by:
hasMappingFor
in interface DriverFactory
Copyright © 2012. All Rights Reserved.