From 78981db71b756eb820786a1bf1752cb955d34458 Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Wed, 30 Aug 2023 16:17:16 +0200 Subject: [PATCH] [java] Remove hardcoded timeout of 120 seconds when executing SM --- java/src/org/openqa/selenium/manager/SeleniumManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/org/openqa/selenium/manager/SeleniumManager.java b/java/src/org/openqa/selenium/manager/SeleniumManager.java index 07934f56d8b7c..4d8e629643b22 100644 --- a/java/src/org/openqa/selenium/manager/SeleniumManager.java +++ b/java/src/org/openqa/selenium/manager/SeleniumManager.java @@ -111,7 +111,7 @@ private static Result runCommand(Path binary, List arguments) { CommandLine command = new CommandLine(binary.toAbsolutePath().toString(), arguments.toArray(new String[0])); command.executeAsync(); - command.waitFor(120000); // TODO: make this configurable + command.waitFor(); if (command.isRunning()) { LOG.warning("Selenium Manager did not exit"); }