|
Ajocado API 1.0.0.Alpha2 | |||||||||
| 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 (incl. it's brand 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 | |
|---|---|
String |
getAsString()
Gets a string representation of browser. |
BrowserMode |
getMode()
Gets the browser's mode (see Browser). |
BrowserType |
getType()
Gets the type of browser. |
String |
toString()
Returns a string representation of the object in human-readable format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, 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()
Browser).
public BrowserType getType()
Gets the type of browser.
Shortcut for BrowserMode.getBrowserType().
public String getAsString()
Gets a string representation of browser.
Browser(String)public String toString()
toString in class Object
|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||