Skip to content

Commit 373a44a

Browse files
committed
Update exception-handling
1 parent 24ea22f commit 373a44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ def get_local_driver(
12681268
# For Microsoft Edge (Chromium) version 80 or higher
12691269
try:
12701270
from msedge.selenium_tools import Edge, EdgeOptions
1271-
except ModuleNotFoundError:
1271+
except Exception:
12721272
os.system("pip install msedge-selenium-tools")
12731273
from msedge.selenium_tools import Edge, EdgeOptions
12741274

0 commit comments

Comments
 (0)