Is it possible to clear cookies etc. from the command line?

Description of the issue:
This is a uestion about how to do something. Not something which happens. I would like to be able to clear cookies and other history from the command line (i.e. from withing a script) for a running instance of Brave. I open several tabs on a particular web site. After reading 4 tabs the site wants me to subscribe. If I delete history I can reload and read the next 4 tabs. I would like to be able to run a script which would clear history every 30 seconds for example. Any suggestions?
Steps to Reproduce (add as many as necessary): 1. 2. 3.

Actual Result (gifs and screenshots are welcome!):

Expected result:

Reproduces how often:

Operating System and Brave Version(See the About Brave page in the main menu):

Additional Information:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.