|
Graphene Selenium: API 2.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.browser.Browser
public class Browser
Encapsulates execution properties of selected browser.
Consists from browser mode (including its type) and associated executable file
| Constructor Summary | |
|---|---|
Browser(BrowserMode browserMode)
Instantiates a new browser by given browserMode |
|
Browser(BrowserMode browserMode,
File executableFile)
Instantiates a new browser by given browserMode and executableFile. |
|
Browser(String stringRepresentation)
Instantiates a new browser from string representation defined by Selenium framework |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
BrowserMode |
getMode()
Gets the browser's mode (see BrowserMode). |
BrowserType |
getType()
Gets the type of browser. |
int |
hashCode()
|
String |
inSeleniumRepresentation()
Gets a string representation of browser. |
String |
toString()
Returns a string representation of the object in human-readable format. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Browser(String stringRepresentation)
Instantiates a new browser from string representation defined by Selenium framework
e.g. "*pifirefox /some/path/firefox-bin"
stringRepresentation - the string representationpublic Browser(BrowserMode browserMode)
browserMode - the browser mode
public Browser(BrowserMode browserMode,
File executableFile)
browserMode - the browser modeexecutableFile - the executable file| Method Detail |
|---|
public BrowserMode getMode()
BrowserMode).
public BrowserType getType()
Gets the type of browser.
Shortcut for BrowserMode.getType().
public String inSeleniumRepresentation()
Gets a string representation of browser.
inSeleniumRepresentation in interface SeleniumRepresentableBrowser(String)public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Graphene Selenium: API 2.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||