![]() |
Image Uploader Scripting API
|
#include <HtmlElement.h>
Public Member Functions | |
HtmlElement (HtmlElementPrivate *pr) | |
click () | |
string | getAttribute (string name) |
array | getChildren () |
array | getFormElements () |
string | getId () |
string | getInnerHTML () |
string | getInnerText () |
string | getOuterHTML () |
string | getOuterText () |
HtmlElement | getParentElement () |
string | getTagName () |
string | getValue () |
insertHTML (string name, bool atEnd=false) | |
insertText (string name, bool atEnd=false) | |
bool | isNull () |
HtmlElement | querySelector (string query) |
array | querySelectorAll (string query) |
removeAttribute (string name) | |
scrollIntoView () | |
setAttribute (string name, string value) | |
setId (string id) | |
setInnerHTML (string html) | |
setInnerText (string text) | |
setOuterHTML (string html) | |
setOuterText (string text) | |
setValue (string value) | |
bool | submitForm () |
array getChildren | ( | ) |
Return an array containg child HtmlElements.
string getValue | ( | ) |
Get value of an input element.
setValue | ( | string | value | ) |
Set value of an input element. Note: support of <input type="file" > in this function is considered experimental. It works asynchronously. Do not call this function again until FileInputFilledCallback is called.