|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openqa.selenium.chrome.ChromeBinary
public class ChromeBinary
Constructor Summary | |
---|---|
ChromeBinary(ChromeProfile profile,
ChromeExtension extension)
Creates a new instance for managing an instance of Chrome using the given profile and extension . |
Method Summary | |
---|---|
protected java.lang.String |
getChromeFile()
Locates the Chrome executable on the current platform. |
void |
incrementBackoffBy(int diff)
|
void |
kill()
|
void |
start(java.lang.String serverUrl)
Starts the Chrome process for WebDriver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChromeBinary(ChromeProfile profile, ChromeExtension extension)
profile
and extension
.
profile
- The Chrome profile to use.extension
- The extension to launch Chrome with.Method Detail |
---|
public void start(java.lang.String serverUrl) throws java.io.IOException
serverUrl
- URL from which commands should be requested
java.io.IOException
- wrapped in WebDriverException if process couldn't be
started.public void kill()
public void incrementBackoffBy(int diff)
protected java.lang.String getChromeFile() throws java.io.IOException
java.io.IOException
- if file could not be found/accessed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |