SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

Download with headless chrome

Open jhgcc1 opened this issue 5 years ago • 1 comments

Im not able to download when using chrome headless mode . I saw some solutions using selenium for python with add_experimental_options, but i couldnt find this method in seleniumBasic. Any ideas? Thank you!

jhgcc1 avatar Jul 13 '19 23:07 jhgcc1

Hi jhgcc1, You can use a couple methods for this. You can use phatomJS, which is headless by default or you can do this for chrome,

dim driver as new chromedriver driver.AddArgument "--headless" driver.get "https://google.com"

Hope that helps. I have a lecture about AddArguments on my site if you're interested in video guides. Thanks Dan Strong

dantheinfoman avatar Aug 05 '21 14:08 dantheinfoman