diff --git a/tests/local-test.py b/tests/local-test.py index 2478a77..5271b2b 100644 --- a/tests/local-test.py +++ b/tests/local-test.py @@ -3,7 +3,6 @@ from selenium.webdriver.chrome.options import Options as ChromeOptions options = ChromeOptions() -options.set_capability('sessionName', 'BStack Local Test') # The webdriver management will be handled by the browserstack-sdk # so this will be overridden and tests will run browserstack - diff --git a/tests/test.py b/tests/test.py index c242b14..0426dba 100644 --- a/tests/test.py +++ b/tests/test.py @@ -4,14 +4,11 @@ from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from selenium.common.exceptions import NoSuchElementException -from selenium.webdriver.chrome.options import Options as ChromeOptions # The webdriver management will be handled by the browserstack-sdk # so this will be overridden and tests will run browserstack - # without any changes to the test files! -options = ChromeOptions() -options.set_capability('sessionName', 'BStack Sample Test') -driver = webdriver.Chrome(options=options) +driver = webdriver.Chrome() try: driver.get('https://bstackdemo.com/')