Selenium “run as another user”

How can I do “run as another user” in a browser using selenium from Python?