Open chrome browser with Selenium in VBA

依然范特西╮ 提交于 2019-12-13 03:08:12

问题


I've downloaded Selenium to automate some web browsing in VBA, and as excited as I am to use it, I cannot seem to get it up and running. I'm trying to open up a chrome browser to start navigating to pages and doing what I need to do but every time it opens up to a blank page with URL "data:," and I get an error "WebRequestError The underlying connection was closed: An unexpected error occured on a receive."

I've seen several tips for this type of thing searching around but in trying to implement them I've still not cleared anything up.

Things I've tried:

  • Downloaded SeleniumBasic-2.0.9.0
  • Downloaded Chromedriver 2.40
  • I think I'm supposed to put the chromedriver somewhere so I have it in the same folder as SeleniumBasic but I'm not sure if that's right.

I'd really like to get this up and running so I can play around with Selenium and get some automation going and I feel like this part should not be this hard so if I could get some help on getting past this stupid little barrier I would really appreciate it.

来源:https://stackoverflow.com/questions/51196363/open-chrome-browser-with-selenium-in-vba

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!