From edc0fb662232047d5732470d9f3f16c3e5fd049b Mon Sep 17 00:00:00 2001 From: helkv Date: Thu, 7 Mar 2019 15:35:06 +0100 Subject: [PATCH] Added Implicite Wait again - Temporarily added the implicite wait (Seleniums implicitlyWait()) -> Remove the implicitlyWait again, as soon as Bug - Firefox crashing on Jenkins (NoSuchSessionException) - is fixed --- src/test/base/SeleniumTestSuite.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/base/SeleniumTestSuite.java b/src/test/base/SeleniumTestSuite.java index ab8f1c6..97d9d2b 100644 --- a/src/test/base/SeleniumTestSuite.java +++ b/src/test/base/SeleniumTestSuite.java @@ -105,6 +105,8 @@ private void setDriver(String browserType) { log4j.info("Window maximised."); driver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS); + //TODO: Remove implicitlyWait again, as soon as Bug - Firefox crashing on Jenkins (NoSuchSessionException) - is fixed + driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); } private WebDriver initFirefoxDriver() {