[]
Gets InnerHTML of the specified or body element asynchronously.
public Task<string> GetInnerHTMLAsync(string elementID = null)
Type | Name | Description |
---|---|---|
string | elementID | Specified elements ID. |
Type | Description |
---|---|
Task<string> | If elementID is specified, returns its innerHTML, otherwise returns the innerHTML of the body element. |