A B C D E F G H I K L M N O P R S T U V W X

C

cell(Object...) - Method in class net.sf.sahi.client.BrowserElements
Defines a cell.
check(ElementStub) - Method in class net.sf.sahi.client.Browser
Checks the given checkbox or radio only if it is unchecked.
check() - Method in class net.sf.sahi.client.ElementStub
Checks this element (applicable to checkboxes and radio buttons).
Internally calls browser.check(this);
checkbox(Object...) - Method in class net.sf.sahi.client.BrowserElements
Defines a checkbox.
checked(ElementStub) - Method in class net.sf.sahi.client.Browser
Returns true if the element is checked.
checked() - Method in class net.sf.sahi.client.ElementStub
Returns true if the element is checked.
choose(ElementStub, String, boolean) - Method in class net.sf.sahi.client.Browser
Chooses the given option in a select box (<select> tag).
choose(ElementStub, String[], boolean) - Method in class net.sf.sahi.client.Browser
Chooses the given options in a multi select box (<select> tag).
choose(String) - Method in class net.sf.sahi.client.ElementStub
Sets the value of a select element; Will unselect previously selected option(s).
This method will do nothing for elements which are not select fields.
Internally calls browser.choose(this, value, false);
choose(String, boolean) - Method in class net.sf.sahi.client.ElementStub
Sets the value of a select element; Will not unselect previously selected option(s) if append is true.
This method will do nothing for elements which are not select fields.
Internally calls browser.choose(this, values, append);
choose(String[]) - Method in class net.sf.sahi.client.ElementStub
Selects multiple options of a select element; Will unselect previously selected option(s).
This method will do nothing for elements which are not select fields.
Internally calls browser.choose(this, values, false);
choose(String[], boolean) - Method in class net.sf.sahi.client.ElementStub
Selects multiple options of a select element; Will not unselect previously selected option(s) if append is true.
This method will do nothing for elements which are not select fields.
Internally calls browser.choose(this, values, append);
clearLastAlert() - Method in class net.sf.sahi.client.Browser
Clears the lastAlert message
clearLastConfirm() - Method in class net.sf.sahi.client.Browser
Clears the lastConfirm message
clearLastDownloadedFileName() - Method in class net.sf.sahi.client.Browser
Resets the lastDownloadedFileName to null
clearLastPrompt() - Method in class net.sf.sahi.client.Browser
Clears the lastPrompt message
clearPrintCalled() - Method in class net.sf.sahi.client.Browser
Clears the window print statement i.e.
click(ElementStub) - Method in class net.sf.sahi.client.Browser
Clicks the given element
click() - Method in class net.sf.sahi.client.ElementStub
Performs a click on this element.
Internally calls browser.click(this);
close() - Method in class net.sf.sahi.client.Browser
Closes the browser instance.
code(Object...) - Method in class net.sf.sahi.client.BrowserElements
Defines code.
collectSimilar() - Method in class net.sf.sahi.client.ElementStub
Returns a list of element stubs similar to this one

Eg.
containsHTML(ElementStub, String) - Method in class net.sf.sahi.client.Browser
Returns true if the element's innerHTML contains the input html
containsHTML(String) - Method in class net.sf.sahi.client.ElementStub
Returns true if the element's innerHTML contains the input html
containsText(ElementStub, String) - Method in class net.sf.sahi.client.Browser
Returns true if the element contains the input text
containsText(String) - Method in class net.sf.sahi.client.ElementStub
Returns true if the element contains the input text
cookie(Object...) - Method in class net.sf.sahi.client.BrowserElements
Defines a browser cookie.
count(Object...) - Method in class net.sf.sahi.client.Browser
Returns a count of all matching elements

Eg.
countSimilar() - Method in class net.sf.sahi.client.ElementStub
Returns a count of elements similar to this

A B C D E F G H I K L M N O P R S T U V W X