From 7855e1c2dc7ce15a130eddcd1c864ea40c49fefe Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Tue, 16 Jan 2024 01:32:55 +0700 Subject: [PATCH] Update dependency --- .../org/ndviet/library/webui/driver/RemoteDriverFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-libraries/test-libraries-webui/src/main/java/org/ndviet/library/webui/driver/RemoteDriverFactory.java b/test-libraries/test-libraries-webui/src/main/java/org/ndviet/library/webui/driver/RemoteDriverFactory.java index 271a677..977a39a 100644 --- a/test-libraries/test-libraries-webui/src/main/java/org/ndviet/library/webui/driver/RemoteDriverFactory.java +++ b/test-libraries/test-libraries-webui/src/main/java/org/ndviet/library/webui/driver/RemoteDriverFactory.java @@ -22,7 +22,7 @@ public static WebDriver createRemoteInstance(String browser) { return new RemoteWebDriver(new URL(hubUrl), capability, getEnableTracing()); } catch (Exception e) { LOGGER.error("Could not open the browser.\n" + e.getMessage()); - return null; + throw new RuntimeException(e); } }