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 voidclick(org.openqa.selenium.By by)default voidclose()default org.openqa.selenium.WebElementgetElement(org.openqa.selenium.By by)default java.util.List<org.openqa.selenium.WebElement>getElements(org.openqa.selenium.By by)com.github.git_leon.logging.SimpleLoggerInterfacegetLogger()default java.lang.StringgetPageLoadState()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.BrowserHandlerDecoratorInterface
getBrowserHandlerDecoratee, getDriver, getJavascriptExecutor, getOptions, getWaitMethods 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:
getElementin interfaceBrowserHandlerDecoratorInterface- Specified by:
getElementin interfaceBrowserHandlerInterface
-
getWebEntity
- Specified by:
getWebEntityin interfaceBrowserHandlerDecoratorInterface- Specified by:
getWebEntityin interfaceBrowserHandlerInterface
-
getElements
default java.util.List<org.openqa.selenium.WebElement> getElements(org.openqa.selenium.By by)- Specified by:
getElementsin interfaceBrowserHandlerDecoratorInterface- Specified by:
getElementsin interfaceBrowserHandlerInterface
-
getPageLoadState
default java.lang.String getPageLoadState()- Specified by:
getPageLoadStatein interfaceBrowserHandlerDecoratorInterface- Specified by:
getPageLoadStatein interfaceBrowserHandlerInterface
-
navigateTo
default void navigateTo(java.lang.String newUrl)- Specified by:
navigateToin interfaceBrowserHandlerDecoratorInterface- Specified by:
navigateToin interfaceBrowserHandlerInterface
-
click
default void click(org.openqa.selenium.By by)- Specified by:
clickin interfaceBrowserHandlerDecoratorInterface- Specified by:
clickin interfaceBrowserHandlerInterface
-
select
default org.openqa.selenium.support.ui.Select select(org.openqa.selenium.By by)- Specified by:
selectin interfaceBrowserHandlerDecoratorInterface- Specified by:
selectin interfaceBrowserHandlerInterface
-
selectByIndex
default void selectByIndex(org.openqa.selenium.By by, int index)- Specified by:
selectByIndexin interfaceBrowserHandlerDecoratorInterface- Specified by:
selectByIndexin interfaceBrowserHandlerInterface
-
selectByVisibleText
default void selectByVisibleText(org.openqa.selenium.By by, java.lang.String visibleText)- Specified by:
selectByVisibleTextin interfaceBrowserHandlerDecoratorInterface- Specified by:
selectByVisibleTextin interfaceBrowserHandlerInterface
-
sendKeys
default void sendKeys(org.openqa.selenium.By by, java.lang.String keys)- Specified by:
sendKeysin interfaceBrowserHandlerDecoratorInterface- Specified by:
sendKeysin interfaceBrowserHandlerInterface
-
close
default void close()- Specified by:
closein interfaceBrowserHandlerDecoratorInterface- Specified by:
closein interfaceBrowserHandlerInterface
-
highlightElement
default void highlightElement(org.openqa.selenium.By by, java.lang.String color)- Specified by:
highlightElementin interfaceBrowserHandlerDecoratorInterface- Specified by:
highlightElementin interfaceBrowserHandlerInterface
-
highlightElements
default void highlightElements(org.openqa.selenium.By[] bys, java.lang.String color)- Specified by:
highlightElementsin interfaceBrowserHandlerDecoratorInterface- Specified by:
highlightElementsin interfaceBrowserHandlerInterface
-
screenshot
- Specified by:
screenshotin interfaceBrowserHandlerDecoratorInterface- Specified by:
screenshotin interfaceBrowserHandlerInterface
-