com.saucelabs.sauce_ondemand.driver
Class SauceOnDemandSPIImpl

java.lang.Object
  extended by com.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI
      extended by com.saucelabs.sauce_ondemand.driver.SauceOnDemandSPIImpl

@MetaInfServices
public class SauceOnDemandSPIImpl
extends com.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI

SeleniumFactorySPI that talks to Sauce OnDemand.

Author:
Kohsuke Kawaguchi

Field Summary
static java.lang.String SELENIUM_HOST
           
static java.lang.String SELENIUM_PORT
           
 
Constructor Summary
SauceOnDemandSPIImpl()
           
 
Method Summary
 boolean canHandle(java.lang.String uri)
           
 com.thoughtworks.selenium.Selenium createSelenium(com.saucelabs.selenium.client.factory.SeleniumFactory factory, java.lang.String browserURL)
           
 org.openqa.selenium.WebDriver createWebDriver(com.saucelabs.selenium.client.factory.SeleniumFactory factory, java.lang.String browserURL)
           
 java.lang.String getJobName()
          Try to find the name of the test as best we can.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELENIUM_HOST

public static final java.lang.String SELENIUM_HOST
See Also:
Constant Field Values

SELENIUM_PORT

public static final java.lang.String SELENIUM_PORT
See Also:
Constant Field Values
Constructor Detail

SauceOnDemandSPIImpl

public SauceOnDemandSPIImpl()
Method Detail

createSelenium

public com.thoughtworks.selenium.Selenium createSelenium(com.saucelabs.selenium.client.factory.SeleniumFactory factory,
                                                         java.lang.String browserURL)
Specified by:
createSelenium in class com.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI

createWebDriver

public org.openqa.selenium.WebDriver createWebDriver(com.saucelabs.selenium.client.factory.SeleniumFactory factory,
                                                     java.lang.String browserURL)
Specified by:
createWebDriver in class com.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI

canHandle

public boolean canHandle(java.lang.String uri)
Specified by:
canHandle in class com.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI

getJobName

public java.lang.String getJobName()
Try to find the name of the test as best we can.



Copyright © 2012. All Rights Reserved.