How do I create different instances for different window in electron?

If more than one window is open, and I want to clear the cookie of the window that is closed.So how to do?