Skip to content

Commit e533668

Browse files
committed
Support Edge automation on Linux with msedgedriver
1 parent 708a6d9 commit e533668

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

seleniumbase/console_scripts/sb_install.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def main(override=None):
298298
name = "edgedriver"
299299
last = (
300300
"https://msedgewebdriverstorage.blob.core.windows.net"
301-
"/edgewebdriver/LATEST_STABLE"
301+
"/edgewebdriver/LATEST_BETA"
302302
)
303303
get_latest = False
304304
if num_args == 3:
@@ -330,12 +330,13 @@ def main(override=None):
330330
file_name = "edgedriver_win32.zip"
331331
elif "darwin" in sys_plat:
332332
file_name = "edgedriver_mac64.zip"
333+
elif "linux" in sys_plat:
334+
file_name = "edgedriver_linux64.zip"
333335
else:
334336
raise Exception(
335-
"Sorry! Microsoft WebDriver / EdgeDriver is "
336-
"only for Windows or Mac operating systems!"
337+
"Cannot determine which version of EdgeDriver to download!"
337338
)
338-
download_url = "https://msedgedriver.azureedge.net/" "%s/%s" % (
339+
download_url = "https://msedgedriver.azureedge.net/%s/%s" % (
339340
use_version,
340341
file_name,
341342
)

0 commit comments

Comments
 (0)