Skip to content

Commit 9e92714

Browse files
committed
remove webdriver-manager
I think this was really just a misunderstanding of the cimg CI images
1 parent 5b3745d commit 9e92714

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

dash/testing/browser.py

+2-13
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
MoveTargetOutOfBoundsException,
2121
)
2222

23-
from webdriver_manager.chrome import ChromeDriverManager
24-
from webdriver_manager.utils import ChromeType
25-
from webdriver_manager.firefox import GeckoDriverManager
26-
2723
from dash.testing.wait import text_to_equal, style_to_equal, contains_text, until
2824
from dash.testing.dash_page import DashPageMixin
2925
from dash.testing.errors import DashAppLoadingError, BrowserError, TestingTimeoutError
@@ -477,11 +473,7 @@ def _get_chrome(self):
477473
desired_capabilities=capabilities,
478474
)
479475
if self._remote
480-
else webdriver.Chrome(
481-
ChromeDriverManager(chrome_type=ChromeType.GOOGLE).install(),
482-
options=options,
483-
desired_capabilities=capabilities,
484-
)
476+
else webdriver.Chrome(options=options, desired_capabilities=capabilities)
485477
)
486478

487479
# https://bugs.chromium.org/p/chromium/issues/detail?id=696481
@@ -524,10 +516,7 @@ def _get_firefox(self):
524516
)
525517
if self._remote
526518
else webdriver.Firefox(
527-
executable_path=GeckoDriverManager().install(),
528-
firefox_profile=fp,
529-
options=options,
530-
capabilities=capabilities,
519+
firefox_profile=fp, options=options, capabilities=capabilities
531520
)
532521
)
533522

requires-testing.txt

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ pytest>=6.0.2
77
requests[security]>=2.21.0
88
selenium>=3.141.0
99
waitress>=1.4.4
10-
webdriver-manager>=3.5.1

0 commit comments

Comments
 (0)