'Is there any way to clear the cache, cookies & History for Edge Browser

I am working on RPA Automations Project, where we need to login into a Application using the Edge browser, after logging we need to make few update and complete the Transaction.

The Web Application that we are using is having some issue so we need to clear the cache ,previous session history & cookies on regular time intervals. When we were working with IE we have a found an easy way to clear them using the Bat File, but that Bat file is not working for Edge.

I have added the bat file command for IE, is there any command same like that for Edge also.

<RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351>

Any suggestion will be helpful.

Thanks in Advance, Harsha



Solution 1:[1]

Follow the below steps to do so.

Go to the setting page of the browser and search for "Clearing browsing data on close" and then enable the required options. This setting will clear all the info mentioned on every close of the browser.

Helpful screenshot enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 nixxo_raa