Skip to content

Commit 79c783b

Browse files
committed
Update selenium_session_spawner.py
1 parent c67f0bd commit 79c783b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

release_tester/arangodb/starter/deployments/selenium_deployments/selenium_session_spawner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@
1313
# pylint: disable=too-many-return-statements
1414
def spawn_selenium_session(selenium_worker: str, selenium_driver_args: list):
1515
""" launch selenium if prompted and return the instance """
16+
print(f"selenium worker {selenium_worker}")
1617
if "_" in selenium_worker:
1718
sw_split = selenium_worker.split("_")
1819
driver_func = getattr(webdriver, sw_split[0])
1920
selenium_worker = sw_split[1].lower()
2021
worker_options = ""
2122
else:
2223
driver_func = getattr(webdriver, selenium_worker)
23-
worker_options = selenium_worker = selenium_worker.lower() + "_"
24+
selenium_worker = selenium_worker.lower()
25+
worker_options = ""
2426
if driver_func is None:
2527
raise Exception("webdriver " + selenium_worker + "unknown")
2628

0 commit comments

Comments
 (0)