DomElement.
Invokes a click using the DOM API.
This functionality is supported only if you are using the Open Agent.
object.DomClick([button, pos])
| Variable | Description |
|---|---|
| button | Optional: The mouse button to press. Values include:1=left, 2=right,3=center. INTEGER. |
| pos | Optional: The coordinates (relative to the window) at which to click. POINT. |
As an alternative to the DomClick method, you can invoke the Click function which uses low-level replay for DomElements and subclasses.
Desktop.Find("//BrowserApplication").Find("//BrowserWindow").Find("//INPUT[@id='autoquote:zipcode']").DomClick(1,
{59, 11})