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

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 ()
 

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()

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.