From b7e9a70951651f3031ef92924c5f6ab7c5ecda5d Mon Sep 17 00:00:00 2001 From: vdelendik Date: Mon, 10 May 2021 17:08:52 +0300 Subject: [PATCH 1/2] bump up zebrunner agent to 1.5.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f7c2fcbd00..da5f1ba1ad 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ 3.141.59 7.4.1 - 1.5.0.180-SNAPSHOT + 1.5.0 1.11.923 4.3.0 From 67a6f8ec856b2b5c4a633df4d2ced51332d1947b Mon Sep 17 00:00:00 2001 From: vdelendik Date: Mon, 10 May 2021 23:51:09 +0300 Subject: [PATCH 2/2] hotfix to do driver close only for chrome --- .../carina/core/foundation/webdriver/IDriverPool.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/carina-webdriver/src/main/java/com/qaprosoft/carina/core/foundation/webdriver/IDriverPool.java b/carina-webdriver/src/main/java/com/qaprosoft/carina/core/foundation/webdriver/IDriverPool.java index 5ec3409d32..ef12fbe147 100644 --- a/carina-webdriver/src/main/java/com/qaprosoft/carina/core/foundation/webdriver/IDriverPool.java +++ b/carina-webdriver/src/main/java/com/qaprosoft/carina/core/foundation/webdriver/IDriverPool.java @@ -339,7 +339,10 @@ private void quitDriver(CarinaDriver carinaDriver, boolean keepProxyDuring) { Future future = Executors.newSingleThreadExecutor().submit(new Callable() { public Void call() throws Exception { - driver.close(); + if ("chrome".equalsIgnoreCase(Configuration.getBrowser())) { + // workaround to not cleaned chrome profiles on hard drive + driver.close(); + } driver.quit(); return null; }