From e82bdb34d5af34a39f8cb06dd10cf95fd8beedfc Mon Sep 17 00:00:00 2001 From: nadya16 Date: Thu, 3 May 2018 13:32:18 +0400 Subject: [PATCH] Edit download path --- Vasileva/src/test/java/context/ChromeContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vasileva/src/test/java/context/ChromeContext.java b/Vasileva/src/test/java/context/ChromeContext.java index 8bd1d57..6532b7b 100644 --- a/Vasileva/src/test/java/context/ChromeContext.java +++ b/Vasileva/src/test/java/context/ChromeContext.java @@ -16,7 +16,7 @@ public class ChromeContext extends Context { ChromeOptions options = new ChromeOptions(); Map prefs = new HashMap(); - tmpPath = "C:/Users/Надежда/Downloads/"; + tmpPath = System.getProperty("user.dir") + "/src/main/resources/downloads/"; prefs.put("download.default_directory", tmpPath);