diff --git a/java/src/org/openqa/selenium/manager/SeleniumManager.java b/java/src/org/openqa/selenium/manager/SeleniumManager.java index ee16ec250ae2c..72de889e22bde 100644 --- a/java/src/org/openqa/selenium/manager/SeleniumManager.java +++ b/java/src/org/openqa/selenium/manager/SeleniumManager.java @@ -117,7 +117,7 @@ private static String runCommand(String... command) { * Determines the correct Selenium Manager binary to use. * @return the path to the Selenium Manager binary. */ - private File getBinary() { + private synchronized File getBinary() { if (binary == null) { try { Platform current = Platform.getCurrent();