# Image Uploader scripting API

# HtmlDocument

## HtmlDocument class

Represents a web browser's html document.

Available since version 1.3.1 build 4272.

Class methods:

`HtmlElement rootElement()`
`HtmlElement getElementById(string id)`
`array getElementsByTagName(string tag)`
`array getElementsByName(string name)`
`HtmlElement querySelector(string query)IE version >= 8`
`array querySelectorAll(string query) IE version >= 8` Return an array of HtmlElement matched to query. `string getHTML()`