Is it possible to clear the cache of a browser with Katalon ?
Same question here. As part of my test execution I would like to have every test case start with:
- Open Browser
- Clear cache
- Clear cookies
- Goto defined URL
While I haven’t seen the the option to clear the cache mid testing, like you can with cookies, a good viable option would be to open the browser in private or incognito mode. Here’s the katalon doc on it.
As long as you don’t any multiple incognito/private windows open, and close any open incognito/private windows between tests, then each time you run your tests all the cookies and cache will have been cleared.
An important note: this only works when executing tests. Using the spy or recorder doesn’t launch browsers in private mode.