Skip to content

Commit

Permalink
Throw Error When Using Unsupported Linux ARM (#14616)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Puja Jagani <[email protected]>
Co-authored-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
3 people authored Nov 8, 2024
1 parent d5ab5ff commit 0a9d689
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion java/src/org/openqa/selenium/manager/SeleniumManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ private synchronized Path getBinary() {
} else if (current.is(MAC)) {
folder = "macos";
} else if (current.is(LINUX)) {
folder = "linux";
if (System.getProperty("os.arch").contains("arm")) {
throw new WebDriverException("Linux ARM is not supported by Selenium Manager");
} else {
folder = "linux";
}
} else if (current.is(UNIX)) {
LOG.warning(
String.format(
Expand Down

0 comments on commit 0a9d689

Please sign in to comment.