T - public class BaseFluentHook<T> extends BaseHook<T>
FluentWebElement API.
You should extends this class to implements your own hook.
getFluentWebElement()ConfigurationProperties.DriverLifecycle, ConfigurationProperties.TriggerModecontrol| Constructor and Description |
|---|
BaseFluentHook(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,
T options)
create a new base fluent hook.
|
| Modifier and Type | Method and Description |
|---|---|
FluentWebElement |
getFluentWebElement()
Get the underlying element as a FluentWebElement.
|
getElement, getElementLocator, getInstantiator, getOptions, getWrappedElement, newOptions, toStringinitFluentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, click, findElement, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submitfindElement, findElements$, $, $, 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 BaseFluentHook(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, T options)
control - control interfaceinstantiator - component instantiatorelementSupplier - element supplierlocatorSupplier - element locator suppliertoStringSupplier - element toString supplieroptions - hook optionspublic FluentWebElement getFluentWebElement()
Copyright © 2016 FluentLenium. All Rights Reserved.