package com.yahoo.dtf.actions.selenium.commands.state; import com.yahoo.dtf.exception.DTFException; /** * @dtf.tag getAllButtons * @dtf.skip.index * * @dtf.since 1.0 * @dtf.author Rodney Gomes * * @dtf.tag.desc <p> * Returns the IDs of all buttons on the page. If a given button * has no ID, it will appear as "" in this array. The property * will contain a comma separated list of these ids. * </p> * * @dtf.tag.example * <selenium baseurl="http://www.yahoo.com" browser="*firefox"> * <open url="/"/> * <getAllButtons property="buttons"/> * </selenium> */ public class Getallbuttons extends SeleniumGetStateTag { @Override public Object getValue() throws DTFException { return getSelenium().getAllButtons(); } }