简体   繁体   中英

Windows: Selenium webdriver.Firefox hangs

I am new to windows and this is the first time I am running a Python program on windows.

I am running a crawler program that uses selenium and firefox webdriver. My program runs successfully on mac/ubuntu, but on windows

webdriver.Firefox()

open a new geckodriver window(cmd like window) and just hangs there nothing after that. Program doesn't move forward after that.

Windows 7 geckodriverv0.13

Your problem is most likely the compatibility between Firefox and your GeckoDriver. Try using the latest Firefox and geckodriver . If you have a problem with Firefox, try reinstalling it and disable automatic updating.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM