[]
Gets InnerHTML of the specified or body element.
[Obsolete("This method is deprecated, please, use GetInnerHTMLAsync instead.")]
public string GetInnerHTML(string elementID = null)
Type | Name | Description |
---|---|---|
string | elementID | Specified elements ID. |
Type | Description |
---|---|
string | If elementID is specified, returns its innerHTML, otherwise returns the innerHTML of the body element. |