'Starts remote session for a selenium server. Useful for docker setup.'

def set_selenium_remote_session(self, selenium_url=''):

    if self.aborting:
        return self
    self.browser = webdriver.Remote(command_executor=selenium_url, desired_capabilities=DesiredCapabilities.CHROME)
    self.browser.maximize_window()
    self.logFile.write(('Session    started    -    %s\n' % datetime.now().strftime('%Y-%m-%d    %H:%M:%S')))
    return self
