In which he said
and a browser pops up
Code: Select all
$ sudo apt-get upgrade $ sudo apt-get update $ sudo apt-get install iceweasel $ sudo pip3 install selenium $ curl -O https://github.com/mozilla/geckodriver/ ... 7hf.tar.gz $ tar -xzvf geckodriver-v0.19.1-arm7hf.tar.gz $ sudo cp geckodriver /usr/local/bin/ $ python3 >>> from selenium import webdriver >>> browser = webdriver.Firefox()
And a browser did pop up, but so did an error.
Code: Select all
[email protected]:~ $ python3 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170124] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from selenium import webdriver brow>>> browser=webdriver.Firefox() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.5/dist-packages/selenium/webdriver/firefox/webdriver.py", line 167, in __init__ keep_alive=True) File "/usr/local/lib/python3.5/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.5/dist-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.5/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.5/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: connection refused
Googling, this it seems to indicate this to be a pretty standard error experienced even by those on standard computers. a lot of people said that updating firefox fixes this error but that can't be the case for me because i only just set up latest raspbian today and followed jaymz's instructions so my iceweasel must be the newest.
I completely followed jaymz's instructions after setting up my raspberry pi3. without having done anything else. In case it's important, i have it attached with a monitor with hdmi.