I have a use-case where I have to login for different users. without clearing cookies, it'll fail. Currently, I have been doing it manually clearing all cookies but using this way I can not run in a runner

I have a use-case where I have to login for different users. without clearing cookies, it’ll fail. Currently, I have been doing it manually clearing all cookies but using this way I can not run in a runner.

Need a way to clear all cookies via pre/post request scripts.