Class SeleniumAction
- java.lang.Object
-
- com.chutneytesting.action.selenium.SeleniumAction
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
SeleniumClickAction,SeleniumCloseAction,SeleniumGetAction,SeleniumGetAttributeAction,SeleniumGetTextAction,SeleniumHoverThenClickAction,SeleniumQuitAction,SeleniumScreenShotAction,SeleniumScrollToAction,SeleniumSendKeysAction,SeleniumSetBrowserSizeAction,SeleniumSwitchToAction,SeleniumWaitAction
public abstract class SeleniumAction extends Object implements Action
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSeleniumAction(Logger logger, org.openqa.selenium.WebDriver webDriver)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ActionExecutionResultexecute()protected abstract ActionExecutionResultexecuteSeleniumAction()protected voidtakeScreenShot()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.chutneytesting.action.spi.Action
validateInputs
-
-
-
-
Field Detail
-
logger
protected final Logger logger
-
webDriver
protected final org.openqa.selenium.WebDriver webDriver
-
-
Constructor Detail
-
SeleniumAction
protected SeleniumAction(Logger logger, org.openqa.selenium.WebDriver webDriver)
-
-
Method Detail
-
executeSeleniumAction
protected abstract ActionExecutionResult executeSeleniumAction()
-
execute
public final ActionExecutionResult execute()
-
takeScreenShot
protected void takeScreenShot()
-
-