Skip to content

Commit 0a9d689

Browse files
shbenzerpujaganiVietND96
authored
Throw Error When Using Unsupported Linux ARM (#14616)
--------- Co-authored-by: Puja Jagani <[email protected]> Co-authored-by: Viet Nguyen Duc <[email protected]>
1 parent d5ab5ff commit 0a9d689

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

java/src/org/openqa/selenium/manager/SeleniumManager.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ private synchronized Path getBinary() {
194194
} else if (current.is(MAC)) {
195195
folder = "macos";
196196
} else if (current.is(LINUX)) {
197-
folder = "linux";
197+
if (System.getProperty("os.arch").contains("arm")) {
198+
throw new WebDriverException("Linux ARM is not supported by Selenium Manager");
199+
} else {
200+
folder = "linux";
201+
}
198202
} else if (current.is(UNIX)) {
199203
LOG.warning(
200204
String.format(

0 commit comments

Comments
 (0)