'Declaration Public Function Wait( _ ByVal plugin As Plugin, _ ByVal timeOutSecs As Integer _ ) As Boolean
public bool Wait( Plugin plugin, int timeOutSecs )
Parameters
- plugin
- A reference to a Plugin object in which the page is being loaded.
- timeOutSecs
The number of seconds to wait for the current web page to finish loading or a value of -1 to specify an infinite timeout.
Values between 0 and 5 seconds are not valid and will cause Wait to return an error. The reason for this is that Wait checks for 5 seconds without HTTP activity after the page load event has fired. If you supplied a value equal to or less than 5 seconds, a timeout would always occur during the first wait after loading a page. Please see the Remarks section for more information.