Instead of this, have you considered using the test account in a browser you don’t regularly use? Then it can just stay logged in. For example I have the following:
Chrome: Admin(my main use)
Edge: Test User
Firefox: Used to Impersonate specific users when necessary