|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.markusbernhardt.selenium2library.keywords.BrowserManagement
com.github.markusbernhardt.selenium2library.keywords.Cookie
com.github.markusbernhardt.selenium2library.keywords.Element
com.github.markusbernhardt.selenium2library.keywords.FormElement
com.github.markusbernhardt.selenium2library.keywords.JavaScript
com.github.markusbernhardt.selenium2library.keywords.Logging
com.github.markusbernhardt.selenium2library.keywords.RunOnFailure
com.github.markusbernhardt.selenium2library.keywords.Screenshot
com.github.markusbernhardt.selenium2library.keywords.SelectElement
com.github.markusbernhardt.selenium2library.keywords.TableElement
com.github.markusbernhardt.selenium2library.keywords.Waiting
com.github.markusbernhardt.selenium2library.keywords.Selenium2LibraryEnhancement
com.github.markusbernhardt.selenium2library.Selenium2Library
public class Selenium2Library
Robotframework Library. All public methods are keywords.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.github.markusbernhardt.selenium2library.keywords.Waiting |
|---|
Waiting.WaitUntilFunction |
| Field Summary | |
|---|---|
static java.lang.String |
ROBOT_LIBRARY_DOC_FORMAT
Documentation is in text format. |
static java.lang.String |
ROBOT_LIBRARY_SCOPE
This means the same instance of this class is used throughout the lifecycle of a Robot Framework test execution. |
static java.lang.String |
ROBOT_LIBRARY_VERSION
The actual version of this library. |
| Fields inherited from class com.github.markusbernhardt.selenium2library.keywords.RunOnFailure |
|---|
runningOnFailureRoutine, runOnFailureKeyword, runOnFailurePythonInterpreter |
| Fields inherited from class com.github.markusbernhardt.selenium2library.keywords.Logging |
|---|
loggingPythonInterpreter |
| Fields inherited from class com.github.markusbernhardt.selenium2library.keywords.JavaScript |
|---|
cancelOnNextConfirmation |
| Fields inherited from class com.github.markusbernhardt.selenium2library.keywords.BrowserManagement |
|---|
implicitWait, remoteWebDriverProxyDomain, remoteWebDriverProxyHost, remoteWebDriverProxyPassword, remoteWebDriverProxyPort, remoteWebDriverProxyUser, remoteWebDriverProxyWorkstation, timeout, webDriverCache |
| Constructor Summary | |
|---|---|
Selenium2Library()
Default constructor |
|
Selenium2Library(double timeout)
Constructor |
|
Selenium2Library(double timeout,
double implicitWait)
Constructor |
|
Selenium2Library(double timeout,
double implicitWait,
java.lang.String runOnFailureKeyword)
Constructor |
|
| Method Summary | |
|---|---|
void |
runOnFailureByAspectJ()
This method is called by the com.github.markusbernhardt.selenium2library.aspects.RunOnFailureAspect in case a exception is thrown in one of the public methods of a keyword class. |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Waiting |
|---|
waitForCondition, waitForCondition, waitForCondition, waitUntil, waitUntilPageContains, waitUntilPageContains, waitUntilPageContains, waitUntilPageContainsElement, waitUntilPageContainsElement, waitUntilPageContainsElement |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.TableElement |
|---|
getTableCell, getTableCell, tableCellShouldContain, tableCellShouldContain, tableColumnShouldContain, tableColumnShouldContain, tableFooterShouldContain, tableFooterShouldContain, tableHeaderShouldContain, tableHeaderShouldContain, tableRowShouldContain, tableRowShouldContain, tableShouldContain, tableShouldContain |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.SelectElement |
|---|
getListItems, getSelectedListLabel, getSelectedListLabels, getSelectedListValue, getSelectedListValues, listSelectionShouldBe, listShouldHaveNoSelections, pageShouldContainList, pageShouldContainList, pageShouldContainList, pageShouldNotContainList, pageShouldNotContainList, pageShouldNotContainList, selectAllFromList, selectFromList, selectFromListByIndex, selectFromListByLabel, selectFromListByValue, unselectFromList, unselectFromListByIndex, unselectFromListByLabel, unselectFromListByValue |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Screenshot |
|---|
capturePageScreenshot, capturePageScreenshot |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.RunOnFailure |
|---|
registerKeywordToRunOnFailure, runOnFailure |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Logging |
|---|
debug, getLogDir, html, info, log, logList, logList, trace, warn |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.JavaScript |
|---|
alertShouldBePresent, alertShouldBePresent, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, closeAlert, closeAlert, confirmAction, executeAsyncJavascript, executeJavascript, getAlertMessage, getJavascriptToExecute, readFile |
| Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Cookie |
|---|
deleteAllCookies, deleteCookie, getCookies, getCookieValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String ROBOT_LIBRARY_SCOPE
public static java.lang.String ROBOT_LIBRARY_DOC_FORMAT
public static java.lang.String ROBOT_LIBRARY_VERSION
| Constructor Detail |
|---|
public Selenium2Library()
public Selenium2Library(double timeout)
timeout - Default timeout in seconds for all wait methods
public Selenium2Library(double timeout,
double implicitWait)
timeout - Default timeout in seconds for all wait methodsimplicitWait - Selenium implicit wait time in seconds
public Selenium2Library(double timeout,
double implicitWait,
java.lang.String runOnFailureKeyword)
timeout - Default timeout in seconds for all wait methodsimplicitWait - Selenium implicit wait time in secondsrunOnFailureKeyword - Keyword to run opn failure| Method Detail |
|---|
public void runOnFailureByAspectJ()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||