def start(self, browserConfigurationOptions=None, driver=None):
        start_args = [self.browserStartCommand, self.browserURL, self.extensionJs]
        if browserConfigurationOptions:
            start_args.append(browserConfigurationOptions)
        if driver:
            start_args.append('webdriver.remote.sessionid=%s' % driver.session_id)

        # Sessions can take a while to start, specially in grid environments
        self.http_timeout *= 5
        result = self.get_string("getNewBrowserSession", start_args)
        self.http_timeout /= 5
        try:
            self.sessionId = result
        except ValueError:
            raise Exception(result)
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/selenium/selenium.py/selenium.start/original