asyncHtmlEvents - web automation property
Web macro property that determines whether HTML events will be fired up synchronously or asynchronously.
Applies to:
- Core
coreObj.asyncHtmlEvents = booleanValue;
Arguments:
- None.
Remarks:
-
If booleanValue is false (the default value) then HTML events are generated synchronously and methods like Click, InputText are blocked until
event handlers are executed. If booleanValue is true then HTML events are fired up asynchronously and methods above are executed in a non-blocking way.
Click and InputText use either HTML events or hardware events according to useHardwareInputEvents property.
Setting asyncHtmlEvents to true makes sense when clicking a HTML element that triggers an window.alert, window.confirm
or window.prompt pop-up, otherwise Click
method is blocked until the pop-up is closed.
Example:
None.
See also:
- ClosePopup | ClosePrompt | Core | Click | FindModalHtmlDialog | InputText | useHardwareInputEvents
©
2017 CodeCentrix Software. All rights reserved.