T
- Selenium
for Selenium Server and Wrapped Web Driver
factoriesWebDriver
for Web Driver factoriespublic interface SeleniumFactory<T>
Modifier and Type | Method and Description |
---|---|
T |
create()
Create the Selenium Server, Web Driver or Wrapped Web Driver object.
|
String |
getBrowser()
Return a string to identify the browser.
|
void |
start(T object)
Connect to the Selenium Server or start the Web Browser used to execute
the tests.
|
void |
stop(T object)
Disconnect from the Selenium Server or stop the Web Browser used to
execute the tests.
|
String getBrowser()
T create() throws Exception
T
.Exception
- IF there was an problem creating the object.void start(T object) throws Exception
object
- The object used to communicate with the Selenium Server or Web
Browser.Exception
- If there was a problem connecting to the Selenium Server or
starting the Web Browser.void stop(T object) throws Exception
object
- The object used to communicate with the Selenium Server or Web
Browser.Exception
- If there was a problem disconnecting from the Selenium Server
or stopping the Web Browser.Copyright © 2011-2013 Brian Thomas Matthews. All Rights Reserved.