Image Uploader Scripting API
Public Member Functions | List of all members
HtmlElement Class Reference

Public Member Functions

 HtmlElement (HtmlElementPrivate *pr)
 
void 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 ()
 
void insertHTML (string name, bool atEnd=false)
 
void insertText (string name, bool atEnd=false)
 
bool isNull ()
 
HtmlElement querySelector (string query)
 
array querySelectorAll (string query)
 
void removeAttribute (string name)
 
void scrollIntoView ()
 
void setAttribute (string name, string value)
 
void setId (string id)
 
void setInnerHTML (string html)
 
void setInnerText (string text)
 
void setOuterHTML (string html)
 
void setOuterText (string text)
 
void setValue (string value)
 
bool submitForm ()
 

Detailed Description

Since
1.3.1 build 4272.

Member Function Documentation

◆ getChildren()

array getChildren ( )

Return an array containg child HtmlElements.

◆ getValue()

string getValue ( )

Get value of an input element.

◆ setValue()

void 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.