def open_url(self, url):
    """Open a URL using the driver's base URL"""
dummy_url = '/404error'
self.webdriver.get(self.store['base'] + dummy_url)
How to set a cookie to a specific domain in selenium webdriver with python?