package com.yahoo.dtf.actions.selenium.commands.mouse;
import com.yahoo.dtf.actions.selenium.commands.SeleniumLocatorTag;
import com.yahoo.dtf.exception.DTFException;
/**
* @dtf.tag mouseDown
* @dtf.skip.index
*
* @dtf.since 1.0
* @dtf.author Rodney Gomes
*
* @dtf.tag.desc <p>
* This command simulates a mouse down event at the location
* specified by the locator attribute using the
* {@dtf.link Element Locator} syntax.
* </p>
*
* @dtf.tag.example
* <selenium baseurl="http://someplace.com" browser="*firefox">
* <open url="/"/>
* <mouseDown locator="//input[@name='test']"/>
* </selenium>
*/
public class Mousedown extends SeleniumLocatorTag {
@Override
public void execute() throws DTFException {
getSelenium().mouseDown(getLocator());
}
}