Interface BrowserHandlerDecoratorInterface
- All Superinterfaces:
BrowserHandlerInterface
- All Known Subinterfaces:
BrowserHandlerLoggerInterface,BrowserHandlerLoggerInterfaceDecorator
- All Known Implementing Classes:
BrowserHandlerDecoratorAbstractClass,BrowserHandlerLayeredLogger,BrowserHandlerLoggerExtentReporter,BrowserHandlerLoggerImpl,BrowserHandlerLoggerTimer
public interface BrowserHandlerDecoratorInterface extends BrowserHandlerInterface
Interface which decorates each composite `BrowserHandlerInterface` call
-
Method Summary
Modifier and Type Method Description default voidclick(org.openqa.selenium.By by)default voidclose()BrowserHandlerInterfacegetBrowserHandlerDecoratee()default org.openqa.selenium.WebDrivergetDriver()default org.openqa.selenium.WebElementgetElement(org.openqa.selenium.By by)default java.util.List<org.openqa.selenium.WebElement>getElements(org.openqa.selenium.By by)default org.openqa.selenium.JavascriptExecutorgetJavascriptExecutor()default BrowserHandlerOptionsgetOptions()default java.lang.StringgetPageLoadState()default BrowserWaitInterfacegetWait()default WebEntitygetWebEntity(org.openqa.selenium.By by)default voidhighlightElement(org.openqa.selenium.By by, java.lang.String color)default voidhighlightElements(org.openqa.selenium.By[] bys, java.lang.String color)default voidnavigateTo(java.lang.String newUrl)default Screenshotscreenshot()default org.openqa.selenium.support.ui.Selectselect(org.openqa.selenium.By by)default voidselectByIndex(org.openqa.selenium.By by, int index)default voidselectByVisibleText(org.openqa.selenium.By by, java.lang.String visibleText)default voidsendKeys(org.openqa.selenium.By by, java.lang.String keys)Methods inherited from interface com.git_leon.leonium.browsertools.browserhandler.BrowserHandlerInterface
finalize, getCurrentUrl, screenshot
-
Method Details
-
getBrowserHandlerDecoratee
BrowserHandlerInterface getBrowserHandlerDecoratee() -
getDriver
default org.openqa.selenium.WebDriver getDriver()- Specified by:
getDriverin interfaceBrowserHandlerInterface
-
getWait
- Specified by:
getWaitin interfaceBrowserHandlerInterface
-
getOptions
- Specified by:
getOptionsin interfaceBrowserHandlerInterface
-
getJavascriptExecutor
default org.openqa.selenium.JavascriptExecutor getJavascriptExecutor()- Specified by:
getJavascriptExecutorin interfaceBrowserHandlerInterface
-
getElement
default org.openqa.selenium.WebElement getElement(org.openqa.selenium.By by)- Specified by:
getElementin interfaceBrowserHandlerInterface
-
getWebEntity
- Specified by:
getWebEntityin interfaceBrowserHandlerInterface
-
getElements
default java.util.List<org.openqa.selenium.WebElement> getElements(org.openqa.selenium.By by)- Specified by:
getElementsin interfaceBrowserHandlerInterface
-
getPageLoadState
default java.lang.String getPageLoadState()- Specified by:
getPageLoadStatein interfaceBrowserHandlerInterface
-
navigateTo
default void navigateTo(java.lang.String newUrl)- Specified by:
navigateToin interfaceBrowserHandlerInterface
-
click
default void click(org.openqa.selenium.By by)- Specified by:
clickin interfaceBrowserHandlerInterface
-
select
default org.openqa.selenium.support.ui.Select select(org.openqa.selenium.By by)- Specified by:
selectin interfaceBrowserHandlerInterface
-
selectByIndex
default void selectByIndex(org.openqa.selenium.By by, int index)- Specified by:
selectByIndexin interfaceBrowserHandlerInterface
-
selectByVisibleText
default void selectByVisibleText(org.openqa.selenium.By by, java.lang.String visibleText)- Specified by:
selectByVisibleTextin interfaceBrowserHandlerInterface
-
sendKeys
default void sendKeys(org.openqa.selenium.By by, java.lang.String keys)- Specified by:
sendKeysin interfaceBrowserHandlerInterface
-
close
default void close()- Specified by:
closein interfaceBrowserHandlerInterface
-
highlightElement
default void highlightElement(org.openqa.selenium.By by, java.lang.String color)- Specified by:
highlightElementin interfaceBrowserHandlerInterface
-
highlightElements
default void highlightElements(org.openqa.selenium.By[] bys, java.lang.String color)- Specified by:
highlightElementsin interfaceBrowserHandlerInterface
-
screenshot
- Specified by:
screenshotin interfaceBrowserHandlerInterface
-