|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openqa.selenium.chrome.ChromeBinary
public class ChromeBinary
| Constructor Summary | |
|---|---|
ChromeBinary()
|
|
| 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 profileDir,
java.lang.String extensionDir)
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()
| Method Detail |
|---|
public void start(java.lang.String profileDir,
java.lang.String extensionDir)
throws java.io.IOException
profileDir - directory to use as the profile.
Should contain the empty text file "First Run Dev".extensionDir - directory which contains the WebDriver extension.
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 | ||||||||