com.github.markusbernhardt.selenium2library.keywords
Class Waiting

java.lang.Object
  extended by com.github.markusbernhardt.selenium2library.keywords.BrowserManagement
      extended by com.github.markusbernhardt.selenium2library.keywords.Cookie
          extended by com.github.markusbernhardt.selenium2library.keywords.Element
              extended by com.github.markusbernhardt.selenium2library.keywords.FormElement
                  extended by com.github.markusbernhardt.selenium2library.keywords.JavaScript
                      extended by com.github.markusbernhardt.selenium2library.keywords.Logging
                          extended by com.github.markusbernhardt.selenium2library.keywords.RunOnFailure
                              extended by com.github.markusbernhardt.selenium2library.keywords.Screenshot
                                  extended by com.github.markusbernhardt.selenium2library.keywords.SelectElement
                                      extended by com.github.markusbernhardt.selenium2library.keywords.TableElement
                                          extended by com.github.markusbernhardt.selenium2library.keywords.Waiting
Direct Known Subclasses:
Selenium2LibraryEnhancement

public abstract class Waiting
extends TableElement


Nested Class Summary
protected static interface Waiting.WaitUntilFunction
           
 
Field Summary
 
Fields inherited from class com.github.markusbernhardt.selenium2library.keywords.RunOnFailure
runningOnFailureRoutine, runOnFailureKeyword, runOnFailurePythonInterpreter
 
Fields inherited from class com.github.markusbernhardt.selenium2library.keywords.Logging
loggingPythonInterpreter, VALID_LOG_LEVELS
 
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
Waiting()
           
 
Method Summary
 void waitForCondition(String condition)
           
 void waitForCondition(String condition, String timestr)
           
 void waitForCondition(String condition, String timestr, String error)
           
protected  void waitUntil(String timestr, String error, Waiting.WaitUntilFunction function)
           
 void waitUntilPageContains(String condition)
           
 void waitUntilPageContains(String condition, String timestr)
           
 void waitUntilPageContains(String text, String timestr, String error)
           
 void waitUntilPageContainsElement(String condition)
           
 void waitUntilPageContainsElement(String condition, String timestr)
           
 void waitUntilPageContainsElement(String locator, String timestr, String error)
           
 
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, log0, 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.FormElement
checkboxShouldBeSelected, checkboxShouldNotBeSelected, chooseFile, clickButton, getCheckbox, getRadioButtons, getRadioButtonWithValue, getValueFromRadioButtons, inputPassword, inputText, inputTextIntoTextField, isFormElement, pageShouldContainButton, pageShouldContainButton, pageShouldContainButton, pageShouldContainCheckbox, pageShouldContainCheckbox, pageShouldContainCheckbox, pageShouldContainRadioButton, pageShouldContainRadioButton, pageShouldContainRadioButton, pageShouldContainTextfield, pageShouldContainTextfield, pageShouldContainTextfield, pageShouldNotContainButton, pageShouldNotContainButton, pageShouldNotContainButton, pageShouldNotContainCheckbox, pageShouldNotContainCheckbox, pageShouldNotContainCheckbox, pageShouldNotContainRadioButton, pageShouldNotContainRadioButton, pageShouldNotContainRadioButton, pageShouldNotContainTextfield, pageShouldNotContainTextfield, pageShouldNotContainTextfield, radioButtonShouldBeSetTo, radioButtonShouldNotBeSelected, selectCheckbox, selectRadioButton, submitForm, submitForm, textfieldShouldContain, textfieldShouldContain, textfieldValueShouldBe, textfieldValueShouldBe, unselectCheckbox
 
Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Element
assignIdToElement, clickElement, clickImage, clickLink, currentFrameContains, currentFrameContains, currentFrameShouldNotContain, currentFrameShouldNotContain, doubleClickElement, dragAndDrop, dragAndDropByOffset, elementFind, elementFind, elementShouldBeDisabled, elementShouldBeEnabled, elementShouldBeVisible, elementShouldBeVisible, elementShouldContain, elementShouldContain, elementShouldNotBeVisible, elementShouldNotBeVisible, elementTextShouldBe, elementTextShouldBe, escapeXpathValue, fetchText, fetchValue, fetchValue, focus, frameContains, frameShouldContain, frameShouldContain, getAllLinks, getElementAttribute, getHorizontalPosition, getMatchingXpathCount, getText, getValue, getValue, getVerticalPosition, helperPageShouldContainElement, helperPageShouldNotContainElement, isElementPresent, isElementPresent, isEnabled, isTextPresent, isVisible, mapAsciiKeyCodeToKey, mouseDown, mouseDownOnImage, mouseDownOnLink, mouseOut, mouseOver, mouseUp, openContextMenu, pageContains, pageShouldContain, pageShouldContain, pageShouldContainElement, pageShouldContainElement, pageShouldContainElement, pageShouldContainElement, pageShouldContainImage, pageShouldContainImage, pageShouldContainImage, pageShouldContainLink, pageShouldContainLink, pageShouldContainLink, pageShouldNotContain, pageShouldNotContain, pageShouldNotContainElement, pageShouldNotContainElement, pageShouldNotContainElement, pageShouldNotContainElement, pageShouldNotContainImage, pageShouldNotContainImage, pageShouldNotContainImage, pageShouldNotContainLink, pageShouldNotContainLink, pageShouldNotContainLink, parseAttributeLocator, pressKey, simulate, xpathShouldMatchXTimes, xpathShouldMatchXTimes, xpathShouldMatchXTimes
 
Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.Cookie
addCookie, deleteAllCookies, deleteCookie, getCookies, getCookieValue
 
Methods inherited from class com.github.markusbernhardt.selenium2library.keywords.BrowserManagement
closeAllBrowsers, closeBrowser, closeWindow, createDesiredCapabilities, createLocalWebDriver, createRemoteWebDriver, createWebDriver, getLocation, getPasswordFromURL, getSeleniumImplicitWait, getSeleniumSpeed, getSeleniumTimeout, getSource, getTitle, getUserFromURL, getWindowIdentifiers, getWindowNames, getWindowTitles, goBack, goTo, locationShouldBe, locationShouldContain, logLocation, logSource, logSource, logTitle, maximizeBrowserWindow, openBrowser, openBrowser, openBrowser, openBrowser, openBrowser, openBrowser, reloadPage, selectFrame, selectWindow, selectWindow, setBrowserImplicitWait, setRemoteWebDriverProxy, setRemoteWebDriverProxy, setRemoteWebDriverProxy, setRemoteWebDriverProxy, setSeleniumImplicitWait, setSeleniumSpeed, setSeleniumTimeout, switchBrowser, titleShouldBe, unselectFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Waiting

public Waiting()
Method Detail

waitForCondition

public void waitForCondition(String condition)

waitForCondition

public void waitForCondition(String condition,
                             String timestr)

waitForCondition

public void waitForCondition(String condition,
                             String timestr,
                             String error)

waitUntilPageContains

public void waitUntilPageContains(String condition)

waitUntilPageContains

public void waitUntilPageContains(String condition,
                                  String timestr)

waitUntilPageContains

public void waitUntilPageContains(String text,
                                  String timestr,
                                  String error)

waitUntilPageContainsElement

public void waitUntilPageContainsElement(String condition)

waitUntilPageContainsElement

public void waitUntilPageContainsElement(String condition,
                                         String timestr)

waitUntilPageContainsElement

public void waitUntilPageContainsElement(String locator,
                                         String timestr,
                                         String error)

waitUntil

protected void waitUntil(String timestr,
                         String error,
                         Waiting.WaitUntilFunction function)


Copyright © 2013. All Rights Reserved.