Forum Discussion
2 Replies
- rraghvaniChampion Level 3
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?
- logeshksNew Contributor
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 SubGet the browser object
Set browser = Sys.Browser("chrome")Assign the OnWebPageDownloaded event handler function
browser.OnWebPageDownloaded = AddressOf OnWebPageDownloadedCould you please help me in implementing the highlighted step?
Related Content
- 14 years ago