Simulating Chrome Hard reload
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2020
08:58 AM
06-15-2020
08:58 AM
Simulating Chrome Hard reload
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?
Solved! Go to Solution.
Labels:
- Labels:
-
Chrome
-
Keyword Tests
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2020
10:13 AM
06-15-2020
10:13 AM
def reload():
pageObj = Aliases.whatever
pageObj.Keys("[Hold]^!r[Release]")
Best,
Justin Kim
Justin Kim
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2020
10:23 AM
06-15-2020
10:23 AM
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.
Regards,
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020
01:46 AM
06-18-2020
01:46 AM
Thank yo Justin, Alex!
@longchasen did the advice help?
Sonya Mihaljova
Community and Education Specialist
