package com.yahoo.dtf.actions.selenium.commands.mouse; import com.yahoo.dtf.actions.selenium.commands.SeleniumLocatorAtTag; import com.yahoo.dtf.exception.DTFException; /** * @dtf.tag clickAt * @dtf.skip.index * * @dtf.since 1.0 * @dtf.author Rodney Gomes * * @dtf.tag.desc <p> * This command simulates a single click at the location specified * by the locator attribute using the {@dtf.link Element Locator} * syntax. The location of the click can also be influenced by * using the coordString to identify the specific position within * the element identified by the locator. * </p> * * @dtf.tag.example * <selenium baseurl="http://www.google.com" browser="*firefox"> * <open url="/"/> * <clickAt locator="//input[@value='q']" coordString="0,0"/> * </selenium> */ public class Clickat extends SeleniumLocatorAtTag { @Override public void execute() throws DTFException { getSelenium().clickAt(getLocator(),getCoordString()); } }