Skip to content

Commit 25e3bfe

Browse files
committed
Throw Error When Using Unsupported Linux ARM
1 parent edff2f3 commit 25e3bfe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
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+
if (System.getProperty("os.arch").contains("arm")) {
198+
throw new WebDriverException("Linux ARM64= is not supported by Selenium Manager");
199+
} else {
197200
folder = "linux";
201+
}
198202
} else if (current.is(UNIX)) {
199203
LOG.warning(
200204
String.format(

0 commit comments

Comments
 (0)