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 void
click(org.openqa.selenium.By by)
default void
close()
BrowserHandlerInterface
getBrowserHandlerDecoratee()
default org.openqa.selenium.WebDriver
getDriver()
default org.openqa.selenium.WebElement
getElement(org.openqa.selenium.By by)
default java.util.List<org.openqa.selenium.WebElement>
getElements(org.openqa.selenium.By by)
default org.openqa.selenium.JavascriptExecutor
getJavascriptExecutor()
default BrowserHandlerOptions
getOptions()
default java.lang.String
getPageLoadState()
default BrowserWaitInterface
getWait()
default WebEntity
getWebEntity(org.openqa.selenium.By by)
default void
highlightElement(org.openqa.selenium.By by, java.lang.String color)
default void
highlightElements(org.openqa.selenium.By[] bys, java.lang.String color)
default void
navigateTo(java.lang.String newUrl)
default Screenshot
screenshot()
default org.openqa.selenium.support.ui.Select
select(org.openqa.selenium.By by)
default void
selectByIndex(org.openqa.selenium.By by, int index)
default void
selectByVisibleText(org.openqa.selenium.By by, java.lang.String visibleText)
default void
sendKeys(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:
getDriver
in interfaceBrowserHandlerInterface
-
getWait
- Specified by:
getWait
in interfaceBrowserHandlerInterface
-
getOptions
- Specified by:
getOptions
in interfaceBrowserHandlerInterface
-
getJavascriptExecutor
default org.openqa.selenium.JavascriptExecutor getJavascriptExecutor()- Specified by:
getJavascriptExecutor
in interfaceBrowserHandlerInterface
-
getElement
default org.openqa.selenium.WebElement getElement(org.openqa.selenium.By by)- Specified by:
getElement
in interfaceBrowserHandlerInterface
-
getWebEntity
- Specified by:
getWebEntity
in interfaceBrowserHandlerInterface
-
getElements
default java.util.List<org.openqa.selenium.WebElement> getElements(org.openqa.selenium.By by)- Specified by:
getElements
in interfaceBrowserHandlerInterface
-
getPageLoadState
default java.lang.String getPageLoadState()- Specified by:
getPageLoadState
in interfaceBrowserHandlerInterface
-
navigateTo
default void navigateTo(java.lang.String newUrl)- Specified by:
navigateTo
in interfaceBrowserHandlerInterface
-
click
default void click(org.openqa.selenium.By by)- Specified by:
click
in interfaceBrowserHandlerInterface
-
select
default org.openqa.selenium.support.ui.Select select(org.openqa.selenium.By by)- Specified by:
select
in interfaceBrowserHandlerInterface
-
selectByIndex
default void selectByIndex(org.openqa.selenium.By by, int index)- Specified by:
selectByIndex
in interfaceBrowserHandlerInterface
-
selectByVisibleText
default void selectByVisibleText(org.openqa.selenium.By by, java.lang.String visibleText)- Specified by:
selectByVisibleText
in interfaceBrowserHandlerInterface
-
sendKeys
default void sendKeys(org.openqa.selenium.By by, java.lang.String keys)- Specified by:
sendKeys
in interfaceBrowserHandlerInterface
-
close
default void close()- Specified by:
close
in interfaceBrowserHandlerInterface
-
highlightElement
default void highlightElement(org.openqa.selenium.By by, java.lang.String color)- Specified by:
highlightElement
in interfaceBrowserHandlerInterface
-
highlightElements
default void highlightElements(org.openqa.selenium.By[] bys, java.lang.String color)- Specified by:
highlightElements
in interfaceBrowserHandlerInterface
-
screenshot
- Specified by:
screenshot
in interfaceBrowserHandlerInterface
-