Open GoogleCodeExporter opened 9 years ago
'To start chrome maximized :
driver.addArgument "--start-maximized"
'To automatically download files to a directory :
driver.setPreference "download.default_directory", "C:\temp"
driver.setPreference "download.directory_upgrade", true
driver.setPreference "download.extensions_to_open", ""
driver.setPreference "download.prompt_for_download", false
'To set a proxy :
driver.setProxy "193.33.142.156"
'To set a profile :
driver.setProfile "C:\...\User Data"
'To start chrome :
driver.start "chrome", "http://www.google.com"
Be aware that addArgument, setPreference, setProxy and setProfile have to be
called before the start command to be effective.
Moreover setPreference is only working with chrome since version 1.0.16.0
(04/11/2013).
Hope this will help.
Original comment by florentbr
on 4 Nov 2013 at 9:28
Thank you so much, it is all working perfectly. You have been been very helpful
and I am truly grateful for all your hard work.
Original comment by stha...@gmail.com
on 4 Nov 2013 at 10:11
Original comment by florentbr
on 8 Sep 2014 at 5:40
Original issue reported on code.google.com by
stha...@gmail.com
on 31 Oct 2013 at 7:09