public class WaitHook extends BaseFluentHook<WaitHookOptions>
ConfigurationProperties.DriverLifecycle, ConfigurationProperties.TriggerModecontrol| Constructor and Description |
|---|
WaitHook(FluentControl control,
ComponentInstantiator instantiator,
com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier,
com.google.common.base.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
com.google.common.base.Supplier<String> toStringSupplier,
WaitHookOptions options)
Creates a new wait hook
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
click() |
org.openqa.selenium.WebElement |
findElement() |
List<org.openqa.selenium.WebElement> |
findElements() |
protected WaitHookOptions |
newOptions()
Builds default options.
|
void |
sendKeys(CharSequence... keysToSend) |
void |
submit() |
getFluentWebElementgetElement, getElementLocator, getInstantiator, getOptions, getWrappedElement, toStringinitFluentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindElement, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected$, $, $, el, el, el, find, find, findawaitkeyboard, mouseexecuteAsyncScript, executeScriptalertcanTakeScreenShot, takeHtmlDump, takeHtmlDump, takeScreenShot, takeScreenShoteventsgetCookie, getCookies, goTo, goTo, goToInNewTab, pageSource, switchTo, switchTo, switchTo, switchToDefault, url, windowgetDrivercssinject, inject, newInstanceasComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, isComponentClass, isComponentListClass, newComponent, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newFluent, newFluentList, newFluentList, newFluentList, newFluentList, newFluentList, newFluentListgetAwaitAtMost, getAwaitPollingEvery, getBaseUrl, getCapabilities, getConfigurationDefaults, getConfigurationFactory, getCustomProperty, getDeleteCookies, getDriverLifecycle, getEventsEnabled, getHtmlDumpMode, getHtmlDumpPath, getImplicitlyWait, getPageLoadTimeout, getRemoteUrl, getScreenshotMode, getScreenshotPath, getScriptTimeout, getWebDriversetAwaitAtMost, setAwaitPollingEvery, setBaseUrl, setCapabilities, setConfigurationFactory, setCustomProperty, setDeleteCookies, setDriverLifecycle, setEventsEnabled, setHtmlDumpMode, setHtmlDumpPath, setImplicitlyWait, setPageLoadTimeout, setRemoteUrl, setScreenshotMode, setScreenshotPath, setScriptTimeout, setWebDriverpublic WaitHook(FluentControl control, ComponentInstantiator instantiator, com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier, com.google.common.base.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier, com.google.common.base.Supplier<String> toStringSupplier, WaitHookOptions options)
control - FluentLenium control interfaceinstantiator - FluentLenium instantiatorelementSupplier - element supplierlocatorSupplier - element locator suppliertoStringSupplier - element toString supplieroptions - hook optionsprotected WaitHookOptions newOptions()
BaseHooknewOptions in class BaseHook<WaitHookOptions>public void click()
public void sendKeys(CharSequence... keysToSend)
public void submit()
public void clear()
public List<org.openqa.selenium.WebElement> findElements()
public org.openqa.selenium.WebElement findElement()
Copyright © 2016 FluentLenium. All Rights Reserved.