![]() Pass it to that and declare the driver object to invoke the selenium methods to access it.We set experimental options to prefs as it contains the path and initializing. The object for chromeoptions is now created with object name options and using that options.The path user.dir delivers the current path.In this case, we are adding the syntax meant to change the download path matching chromeoptions. We put some keys and values into prefs.Also, we are creating an object called prefs in the form of a hashmap. ![]()
0 Comments
Leave a Reply. |