org.specrunner.webdriver.actions.switchto
Class PluginFrame
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.AbstractPluginSwitchTo
org.specrunner.webdriver.actions.switchto.PluginFrame
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
public class PluginFrame
- extends AbstractPluginSwitchTo
Select a frame by index or nameOrId.
- 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 |
PluginFrame
public PluginFrame()
getIndex
public Integer getIndex()
- Gets the target frame index.
- Returns:
- The index.
setIndex
public void setIndex(Integer index)
- Sets the frame index.
- Parameters:
index - The frame index.
getNameorid
public String getNameorid()
- Gets the frame name or id.
- Returns:
- The name or id.
setNameorid
public void setNameorid(String nameorid)
- Sets the target frame name or id.
- Parameters:
nameorid - The name or id.
getActionType
public ActionType getActionType()
doEnd
protected void doEnd(IContext context,
IResultSet result,
org.openqa.selenium.WebDriver client,
org.openqa.selenium.WebDriver.TargetLocator target)
throws PluginException
- Description copied from class:
AbstractPluginSwitchTo
- Perform a target locator action.
- Specified by:
doEnd in class AbstractPluginSwitchTo
- Parameters:
context - The context.result - The result.client - The client.target - The target.
- Throws:
PluginException - On processing errors.
Copyright © 2013. All rights reserved.