package com.yahoo.dtf.actions.selenium.commands.state;
import com.yahoo.dtf.exception.DTFException;
/**
* @dtf.tag getCookie
* @dtf.skip.index
*
* @dtf.since 1.0
* @dtf.author Rodney Gomes
*
* @dtf.tag.desc <p>
* Return all of the cookies of the current page.
* </p>
*
* @dtf.tag.example
* <selenium baseurl="http://someplace.com" browser="*firefox">
* <open url="/"/>
* <getCookie property="cookies"/>
* </selenium>
*/
public class Getcookie extends SeleniumGetStateTag {
@Override
public Object getValue() throws DTFException {
return getSelenium().getCookie();
}
}