Forum Discussion
As it's mentioned, 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.
Also, are you using a browser (and version), that's supported by TC?
Hi,
Yes, from Smartbear customer support team we got to know that onWebPageDownloaded event works for Chrome and Edge as well. Currently I am using the Chrome version 105 and TestComplete version 15.4.
The following code snippet is provided by Customer support team.
Sub OnWebPageDownloaded(Sender, URL)
' Handler code goes here
End Sub
Get the browser object
Set browser = Sys.Browser("chrome")
Assign the OnWebPageDownloaded event handler function
browser.OnWebPageDownloaded = AddressOf OnWebPageDownloaded
Could you please help me in implementing the highlighted step?