|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI
com.saucelabs.selenium.client.factory.impl.DefaultSeleniumSPIImpl
@MetaInfServices public class DefaultSeleniumSPIImpl
SeleniumFactorySPI that connects to Selenium RCs over its standard HTTP-based protocol.
| Field Summary | |
|---|---|
static int |
DEFAULT_PORT
|
| Constructor Summary | |
|---|---|
DefaultSeleniumSPIImpl()
|
|
| Method Summary | |
|---|---|
boolean |
canHandle(java.lang.String uri)
Returns boolean indicating whether the Factory instance can handle the incoming URI. |
com.thoughtworks.selenium.Selenium |
createSelenium(SeleniumFactory factory,
java.lang.String browserURL)
Instantiates the driver. |
org.openqa.selenium.WebDriver |
createWebDriver(SeleniumFactory factory,
java.lang.String browserURL)
Instantiates the driver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PORT
| Constructor Detail |
|---|
public DefaultSeleniumSPIImpl()
| Method Detail |
|---|
public com.thoughtworks.selenium.Selenium createSelenium(SeleniumFactory factory,
java.lang.String browserURL)
SeleniumFactorySPI
This method is invoked in response to SeleniumFactory.createSelenium() to actually
instantiate the driver.
createSelenium in class SeleniumFactorySPIfactory - The factory that captures the configuration that the calling user application is looking for.
Never null.browserURL - See the parameter of the same name in DefaultSelenium#DefaultSelenium(String, int, String, String).
This specifies the domain name in the format of "http://foo.example.com" where the test occurs.
SeleniumFactory to try other SPIs found in the system.
public org.openqa.selenium.WebDriver createWebDriver(SeleniumFactory factory,
java.lang.String browserURL)
SeleniumFactorySPI
This method is invoked in response to SeleniumFactory.createWebDriver() ()} to actually
instantiate the driver.
createWebDriver in class SeleniumFactorySPIfactory - The factory that captures the configuration that the calling user application is looking for.
Never null.browserURL - This specifies the domain name in the format of "http://foo.example.com" where the test occurs.
SeleniumFactory to try other SPIs found in the system.public boolean canHandle(java.lang.String uri)
SeleniumFactorySPI
canHandle in class SeleniumFactorySPIuri - URI to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||