org.specrunner.webdriver.actions.navigation
Class PluginGo
java.lang.Object
org.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.AbstractPluginNamed
org.specrunner.plugins.core.AbstractPluginScoped
org.specrunner.plugins.core.AbstractPluginValue
org.specrunner.webdriver.AbstractPluginBrowserAware
org.specrunner.webdriver.AbstractPluginNavigation
org.specrunner.webdriver.actions.navigation.PluginGo
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
public class PluginGo
- extends AbstractPluginNavigation
Call browser history to a index.
- Author:
- Thiago Santos.
| Methods inherited from class org.specrunner.webdriver.AbstractPluginBrowserAware |
doEnd, getBrowserName, getDir, getDownload, getInterval, getMaxwait, getWaitCondition, getWaitfor, initialize, isWaitForClient, setDir, setDownload, setInterval, setMaxwait, setWaitfor, waitForClient |
| Methods inherited from class org.specrunner.plugins.core.AbstractPlugin |
copy, doStart, getCondition, getConditionModel, getNormalized, getNormalized, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toString |
PluginGo
public PluginGo()
getTo
public Long getTo()
- Gets the to index.
- Returns:
- The index.
setTo
public void setTo(Long to)
- Sets the index.
- Parameters:
to - The new index.
getActionType
public ActionType getActionType()
doEnd
protected void doEnd(IContext context,
IResultSet result,
org.openqa.selenium.WebDriver client,
org.openqa.selenium.WebDriver.Navigation history)
throws PluginException
- Description copied from class:
AbstractPluginNavigation
- Perform navigational actions.
- Specified by:
doEnd in class AbstractPluginNavigation
- Parameters:
context - The context.result - The result.client - The client.history - The navigation device.
- Throws:
PluginException - On processing errors.
Copyright © 2013. All rights reserved.