Package com.chutneytesting.task.selenium
Class SeleniumClickTask
- java.lang.Object
-
- com.chutneytesting.task.selenium.SeleniumTask
-
- com.chutneytesting.task.selenium.SeleniumClickTask
-
- All Implemented Interfaces:
SeleniumFindBehavior,Task
public class SeleniumClickTask extends SeleniumTask implements SeleniumFindBehavior
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.chutneytesting.task.selenium.SeleniumFindBehavior
SeleniumFindBehavior.WebElementFindBy
-
-
Field Summary
-
Fields inherited from class com.chutneytesting.task.selenium.SeleniumTask
logger, webDriver
-
-
Constructor Summary
Constructors Constructor Description SeleniumClickTask(Logger logger, org.openqa.selenium.WebDriver webDriver, String selector, String by, Integer wait)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskExecutionResultexecuteSeleniumTask()Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebElement>findExpectation(org.openqa.selenium.By by)-
Methods inherited from class com.chutneytesting.task.selenium.SeleniumTask
execute, takeScreenShot
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.chutneytesting.task.selenium.SeleniumFindBehavior
by, findElement
-
Methods inherited from interface com.chutneytesting.task.spi.Task
validateInputs
-
-
-
-
Method Detail
-
executeSeleniumTask
public TaskExecutionResult executeSeleniumTask()
- Specified by:
executeSeleniumTaskin classSeleniumTask
-
findExpectation
public Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebElement> findExpectation(org.openqa.selenium.By by)
- Specified by:
findExpectationin interfaceSeleniumFindBehavior
-
-