package com.yahoo.dtf.actions.selenium.commands.mouse; import com.yahoo.dtf.exception.DTFException; /** * @dtf.tag doubleClick * @dtf.skip.index * * @dtf.since 1.0 * @dtf.author Rodney Gomes * * @dtf.tag.desc <p> * This command simulates a double click 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="/"/> * <doubleClick locator="//input[@name='test']"/> * </selenium> */ public class Doubleclick extends Click { @Override public void execute() throws DTFException { getSelenium().doubleClick(getLocator()); } }