Horizoner 2.0
Horizoner 2.0

Reputation: 105

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

Upvotes: 2

Views: 62

Answers (1)

Druta Ruslan
Druta Ruslan

Reputation: 7412

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

help

Upvotes: 1

Related Questions