Vasileva #4

Closed
nadya16 wants to merge 4 commits from Vasileva into master
Showing only changes of commit e82bdb34d5 - Show all commits

View File

@ -16,7 +16,7 @@ public class ChromeContext extends Context {
ChromeOptions options = new ChromeOptions(); ChromeOptions options = new ChromeOptions();
Map<String, Object> prefs = new HashMap<String, Object>(); Map<String, Object> prefs = new HashMap<String, Object>();
tmpPath = "C:/Users/Надежда/Downloads/"; tmpPath = System.getProperty("user.dir") + "/src/main/resources/downloads/";
prefs.put("download.default_directory", tmpPath); prefs.put("download.default_directory", tmpPath);