fireClick
Simulates a tap on an object, such as a button, checkbox or image. For example, a signature can be accepted from a button on the browser page instead of the OK button on the pad.
await wizCtl.fireClick(id)
| Parameter | Description |
|---|---|
| id | The id of the object to click. |
| Return values |
|---|
| A promise that resolves when the click is handled. |
The following example accepts the signature from a browser button:
document.getElementById("ok_btn").onclick = async () => {
await wizCtl.fireClick("ok");
};