Skip to content

Commit 4e8bade

Browse files
authored
Merge branch 'trunk' into jspecify-interactions
2 parents b985d13 + 4461033 commit 4e8bade

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

java/src/org/openqa/selenium/remote/service/DriverService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,10 @@ public DS build() {
508508
if (Locale.getDefault(Locale.Category.FORMAT).getLanguage().equals("ar")) {
509509
throw new NumberFormatException(
510510
String.format(
511-
"Couldn't format the port numbers because the System Language is arabic:"
512-
+ " \"--port=%d\", please make sure to add the required arguments"
513-
+ " \"-Duser.language=en -Duser.region=US\" to your JVM, for more info please"
514-
+ " visit :%n"
511+
"Couldn't format the port numbers because the System Language is arabic: \""
512+
+ String.format("--port=%d", port)
513+
+ "\", please make sure to add the required arguments \"-Duser.language=en"
514+
+ " -Duser.region=US\" to your JVM, for more info please visit :\n"
515515
+ " https://www.selenium.dev/documentation/webdriver/browsers/",
516516
getPort()));
517517
}

scripts/pinned_browsers.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,12 @@ def firefox_version_data():
416416

417417

418418
def firefox_linux(version):
419-
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.bz2" % (version, version)
419+
if int(version.split(".")[0]) < 135:
420+
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.bz2" % (
421+
version, version)
422+
else:
423+
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.xz" % (
424+
version, version)
420425

421426

422427
def firefox_mac(version):

0 commit comments

Comments
 (0)