Vasileva #4
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user