searchTimeout - web automation property
Web automation property that sets or retrieves the amount of time the automation library methods try to find HTML objects inside web pages DOM hierarchy.
Applies to:
- Core
coreObj.searchTimeout = numericValue;
Arguments:
- numericValue is the time to wait in milliseconds.
Remarks:
-
The default value of this web automation property is 10,000 milliseconds (10 seconds).
The property affects the following web automation methods: AddSelection, AddSelectionRange, FindElement, FindChildElement, FindFrame, FindChildFrame,
FindAllElements, FindChildrenElements, FindParentElement, GetAllSelectedOptions, Select, selectedOption, SelectRange.
After the web page is completely loaded, these methods try to fo find HTML objects in the amount of time specified by the property.
This property is useful for AJAX web sites with dynamically created web controls.
Example:
None.
See also:
- Core | lastError | loadTimeout | loadTimeoutIsError
©
2017 CodeCentrix Software. All rights reserved.