Forum Discussion
mike_duck
7 years agoVisitor
Hi!
There is a workaround using Keys() method of browser Page object. Sorry, I'm not familiar with Python but in JScript it looks like following:
var browser = Sys.Find('ProcessName', 'chrome');
var page = browser.Page('http://yourpage.url/');
page.Keys("!^[Del]"); // Ctrl + Shift + Delete keys combination opens clear browser data dialog
SleepSeconds(2);
browser.Page('chrome://settings/clearBrowserData').Keys("[Enter]"); // hit Enter in clear browser data dialog
SleepSeconds(2);
browser.Page('chrome://settings/').Close(); // close settings page after clearing browsing data
page.Keys('[F5]');
Related Content
- 2 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago