Selenium opens browser but doesn't load page

前端 未结 5 1285
耶瑟儿~
耶瑟儿~ 2020-12-06 12:58

this is an extension from a previous post I made Here which I could not get to work but I am now getting a new error after updating Selenium.

I am using Python 3.5,

5条回答
  •  独厮守ぢ
    2020-12-06 13:40

    You need to set geckodriver path as mentioned below:

    self.driver = webdriver.Firefox(executable_path = 'D:\Selenium_RiponAlWasim\geckodriver-v0.18.0-win64\geckodriver.exe')
    

    Download geckodriver for you suitable OS --> Extract it in a folder of your choice --> Set the path correctly.

    I'm using Python 3.6.2 and Selenium WebDriver 3.4.3

提交回复
热议问题