'Set up Selenium session.'

@staticmethod
def _SetUpSelenium(port):

    atexit.register(GRRSeleniumTest._TearDownSelenium)
    GRRSeleniumTest.base_url = ('http://localhost:%s' % port)
    os.environ.pop('http_proxy', None)
    options = webdriver.ChromeOptions()
    GRRSeleniumTest.driver = webdriver.Chrome(chrome_options=options)
