Loading load_check.py +2 −1 Original line number Diff line number Diff line Loading @@ -609,7 +609,8 @@ class MultipleTest(unittest.TestCase): if sys.platform.startswith('linux'): # Check if the operating system is Linux options.add_argument("--no-sandbox") options.add_argument("--disable-dev-shm-usage") driver = webdriver.Chrome(executable_path=self.webdriver_path, options=options) service = Service(executable_path=self.webdriver_path) driver = webdriver.Chrome(service=service, options=options) # driver = webdriver.Chrome(options=options) driver.instance_number = driver_instance_number # Attach instance number to driver for logging driver.user_id = user_id # Attach user ID to driver for logging Loading Loading
load_check.py +2 −1 Original line number Diff line number Diff line Loading @@ -609,7 +609,8 @@ class MultipleTest(unittest.TestCase): if sys.platform.startswith('linux'): # Check if the operating system is Linux options.add_argument("--no-sandbox") options.add_argument("--disable-dev-shm-usage") driver = webdriver.Chrome(executable_path=self.webdriver_path, options=options) service = Service(executable_path=self.webdriver_path) driver = webdriver.Chrome(service=service, options=options) # driver = webdriver.Chrome(options=options) driver.instance_number = driver_instance_number # Attach instance number to driver for logging driver.user_id = user_id # Attach user ID to driver for logging Loading