Interface BrowserHandlerLoggerInterface
- All Superinterfaces:
BrowserHandlerDecoratorInterface
,BrowserHandlerInterface
- All Known Subinterfaces:
BrowserHandlerLoggerInterfaceDecorator
- All Known Implementing Classes:
BrowserHandlerLayeredLogger
,BrowserHandlerLoggerExtentReporter
,BrowserHandlerLoggerImpl
,BrowserHandlerLoggerTimer
public interface BrowserHandlerLoggerInterface extends BrowserHandlerDecoratorInterface
Interface which decorates each composite `BrowserHandlerInterface` call with a log statement
-
Method Summary
Modifier and Type Method Description default void
click(org.openqa.selenium.By by)
default void
close()
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)
com.github.git_leon.logging.SimpleLoggerInterface
getLogger()
default java.lang.String
getPageLoadState()
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.BrowserHandlerDecoratorInterface
getBrowserHandlerDecoratee, getDriver, getJavascriptExecutor, getOptions, getWait
Methods inherited from interface com.git_leon.leonium.browsertools.browserhandler.BrowserHandlerInterface
finalize, getCurrentUrl, screenshot
-
Method Details
-
getLogger
com.github.git_leon.logging.SimpleLoggerInterface getLogger() -
getElement
default org.openqa.selenium.WebElement getElement(org.openqa.selenium.By by)- Specified by:
getElement
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
getElement
in interfaceBrowserHandlerInterface
-
getWebEntity
- Specified by:
getWebEntity
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
getWebEntity
in interfaceBrowserHandlerInterface
-
getElements
default java.util.List<org.openqa.selenium.WebElement> getElements(org.openqa.selenium.By by)- Specified by:
getElements
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
getElements
in interfaceBrowserHandlerInterface
-
getPageLoadState
default java.lang.String getPageLoadState()- Specified by:
getPageLoadState
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
getPageLoadState
in interfaceBrowserHandlerInterface
-
navigateTo
default void navigateTo(java.lang.String newUrl)- Specified by:
navigateTo
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
navigateTo
in interfaceBrowserHandlerInterface
-
click
default void click(org.openqa.selenium.By by)- Specified by:
click
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
click
in interfaceBrowserHandlerInterface
-
select
default org.openqa.selenium.support.ui.Select select(org.openqa.selenium.By by)- Specified by:
select
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
select
in interfaceBrowserHandlerInterface
-
selectByIndex
default void selectByIndex(org.openqa.selenium.By by, int index)- Specified by:
selectByIndex
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
selectByIndex
in interfaceBrowserHandlerInterface
-
selectByVisibleText
default void selectByVisibleText(org.openqa.selenium.By by, java.lang.String visibleText)- Specified by:
selectByVisibleText
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
selectByVisibleText
in interfaceBrowserHandlerInterface
-
sendKeys
default void sendKeys(org.openqa.selenium.By by, java.lang.String keys)- Specified by:
sendKeys
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
sendKeys
in interfaceBrowserHandlerInterface
-
close
default void close()- Specified by:
close
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
close
in interfaceBrowserHandlerInterface
-
highlightElement
default void highlightElement(org.openqa.selenium.By by, java.lang.String color)- Specified by:
highlightElement
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
highlightElement
in interfaceBrowserHandlerInterface
-
highlightElements
default void highlightElements(org.openqa.selenium.By[] bys, java.lang.String color)- Specified by:
highlightElements
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
highlightElements
in interfaceBrowserHandlerInterface
-
screenshot
- Specified by:
screenshot
in interfaceBrowserHandlerDecoratorInterface
- Specified by:
screenshot
in interfaceBrowserHandlerInterface
-