We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
im trying to simulate the chrome hard reload which is CTRL+SHIFT+R
here my page:
page = Sys.Browser().Page("localhostpage");
here's how im trying to simulate refresh
page.Keys("[Hold]^!r");
This is not working, any other way how to simulate it?
def reload():
pageObj = Aliases.whatever
pageObj.Keys("[Hold]^!r[Release]")def reload():
pageObj = Aliases.whatever
pageObj.Keys("[Hold]^!r[Release]")Hi,
Also, in addition to what was suggested by hkim5 , you may try to send keystrokes not to web page, but to corresponding Chrome window. (Something like Sys.Browser().BrowserWindow(0).Keys(...) ) Depending on what part of Chrome is responsible for processing this keys combination.