directory
directory

Reputation: 3167

firefox webdriver for selenium on debian issue

How do I install the webdriver.Firefox() on debian?

When I execute my python script, for now I get this error:

untimeError: Could not find firefox in your system PATH. Please specify the firefox binary location or install firefox

Thanks in advance!

Nick

Upvotes: 4

Views: 4665

Answers (1)

aychedee
aychedee

Reputation: 25569

You can use iceweasel instead of the 'proper' release of firefox.

apt-get install iceweasel

python
>>> import webdriver
>>> browser = webdriver.Firefox()

Upvotes: 3

Related Questions