public class WaitHook extends BaseFluentHook<WaitHookOptions>
ConfigurationProperties.DriverLifecycle, ConfigurationProperties.TriggerModecontrol| Constructor and Description |
|---|
WaitHook(FluentControl control,
ComponentInstantiator instantiator,
java.util.function.Supplier<org.openqa.selenium.WebElement> elementSupplier,
java.util.function.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
java.util.function.Supplier<java.lang.String> toStringSupplier,
WaitHookOptions options)
Creates a new wait hook
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
click() |
org.openqa.selenium.WebElement |
findElement() |
java.util.List<org.openqa.selenium.WebElement> |
findElements() |
protected WaitHookOptions |
newOptions()
Builds default options.
|
void |
sendKeys(java.lang.CharSequence... keysToSend) |
void |
submit() |
getFluentWebElementgetCoordinates, getElement, 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, el, find, find, find, findawaitkeyboard, mouseexecuteAsyncScript, executeScriptalertcanTakeScreenShot, takeHtmlDump, takeHtmlDump, takeScreenshot, takeScreenshoteventsgetCookie, getCookies, goTo, goTo, goToInNewTab, pageSource, switchTo, switchTo, switchTo, switchToDefault, url, windowgetDrivercssinject, injectComponent, 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, newFluentListcapabilitiesgetAwaitAtMost, getAwaitPollingEvery, getBaseUrl, getBrowserTimeout, getBrowserTimeoutRetries, getCapabilities, getConfigurationDefaults, getConfigurationFactory, getCustomProperty, getDeleteCookies, getDriverLifecycle, getEventsEnabled, getHtmlDumpMode, getHtmlDumpPath, getImplicitlyWait, getPageLoadTimeout, getRemoteUrl, getScreenshotMode, getScreenshotPath, getScriptTimeout, getWebDriversetAwaitAtMost, setAwaitPollingEvery, setBaseUrl, setBrowserTimeout, setBrowserTimeoutRetries, setCapabilities, setConfigurationFactory, setCustomProperty, setDeleteCookies, setDriverLifecycle, setEventsEnabled, setHtmlDumpMode, setHtmlDumpPath, setImplicitlyWait, setPageLoadTimeout, setRemoteUrl, setScreenshotMode, setScreenshotPath, setScriptTimeout, setWebDriverpublic WaitHook(FluentControl control, ComponentInstantiator instantiator, java.util.function.Supplier<org.openqa.selenium.WebElement> elementSupplier, java.util.function.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier, java.util.function.Supplier<java.lang.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(java.lang.CharSequence... keysToSend)
public void submit()
public void clear()
public java.util.List<org.openqa.selenium.WebElement> findElements()
public org.openqa.selenium.WebElement findElement()
Copyright © 2018 FluentLenium. All Rights Reserved.