首页 > 解决方案 > Opening Firefox with selenium error

问题描述

I was trying to test out selenium, and the code asks me to run a script

browser = webdriver.Firefox()

However, this is the problem I get. Hope the gurus of the coding world can help me. This is Python 3 on Windows 10.

enter image description here

标签: pythonpython-3.xseleniumselenium-webdriver

解决方案


driver = webdriver.Firefox('C:\\Files\\geckodriver.exe')

帮助


推荐阅读