Skip to content
Discussion options

You must be logged in to vote

Good catch. For now, override the is_connected() method as a workaround:

def is_connected(self, *args, **kwargs): return True 

Full example:

from selenium import webdriver from seleniumbase import BaseCase BaseCase.main(__name__, __file__) class BaseTestCase(BaseCase): def get_new_driver(self, *args, **kwargs): """This method overrides get_new_driver() from BaseCase.""" options = webdriver.ChromeOptions() options.add_argument("--disable-notifications") if self.headless: options.add_argument("--headless=new") options.add_argument("--disable-gpu") options.add_experimental_option( "excludeSwitches", ["en…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants