Page Handlers
Page Handlers are used when attempting to use either a BrowserInterface object or a Browser control object to determine whether or not a specific page is loaded. Each time a new page is loaded, a page watcher ticks, or the CheckHandlerQueue method is called for either the BrowserInterface object or the Browser control object, the current page handler in the page handler queue is checked to see if the current page matches the required conditions for that handler. If so, the Lua method attached to that handler is executed. There are currently four types of page handlers, each of which uses a different method when checking for page matches. The four types are described below.
Name | Id Type | Description |
|---|---|---|
Form Exists | formExists | This page handler checks the page to see if a given form exists |
Frame Exists | frameExists | This page handler checks the page to see if a given frame |
Title | title | This page handler checks the page title to see if it matches the |
Custom | custom | This page handler calls a user-provided Lua method which |