Edit download path
This commit is contained in:
parent
18ff938371
commit
e82bdb34d5
@ -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