Browser Visibility

  • Hello. I have just written my 1st macro using Selenium which will pass the results to a Userforms Listbox, Can anyone tell me if the chrome browser can be hidden while the Selenium coding is scraping a Website. Cheers

  • administrators

    Selenium VBA cannot hide chrome browser. Instead, You can use PhantomJS which is a headless browser which is not visible. Just replace chrome with PhantomJS in your start method.

    bot.Start "PhantomJS", ""