simonaferrara
4 years agoFrequent Contributor
Refresh the browser page
Hi all,
I need to refresh the browser within my tests, like doing an F5 on the browser.
The "Browsers.Refresh" method seems not suitable for my scope (it refresh the object tree within TestComplete, but not the browser page).
Is there a method to refresh the browser page?
I would not to be bound to use the Keys method with F5 (in this case, I'm bound to have the focus on the browser page).
Thanks
Simona
Hi,
Refresh (F5) in browser essentially requests page a-new from web server.
So you may use .Navigate() or .ToURL() methods to refresh the page.
While I am with Marsha and would use F5 unless there are some specific requirements/conditions.