OnWebPageDownloaded Event

Applies to TestComplete 15.70, last modified on December 17, 2024

Occurs after the specified web page is loaded.

Declaration

OnWebPageDownloaded(SenderWebBrowserURL) Parameters
Sender [in] Required Variant
WebBrowser [in] Required A WebBrowser object
URL [in] Required String

Description

This event occurs after the web browser loads a page or a frame specified by URL.

Use this event to perform specific actions when the web browser finishes downloading a page or a frame.

This event is fired only for the Internet Explorer web browser and web browsers based on the Microsoft WebBrowser control. It does not occur for the other supported browsers.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

WebBrowser

A reference to the WebBrowser object used to display the page.

URL

The URL parameter specifies the URL of the desired web page.

Remarks

For information on how to create an event handler for this and other TestComplete events, see Handling Events.

See Also

Classic Web Testing
OnWebBeforeNavigate Event
OnWebDownloadStarted Event
OnWebDownloadFinished Event
OnWebQuit Event
Page Object
Handling Events
Event Control

Highlight search results