Self.error_handler.check_response(response)įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler. Response = self.execute(Command.NEW_SESSION, parameters)įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute Self.start_session(desired_capabilities, browser_profile)įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session Output: Traceback (most recent call last):įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 162, in _init_įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in _init_ After a while python gives the output below in console # Using Firefox normally (browser pops up)Īt that point Firefox window opens and remains blank. Operating System: Raspbian GNU/Linux 9 (stretch) Kernel: Linuxįrom import Keysįrom import WebDriverWaitįrom import expected_conditions as ECįrom import By.Is there an alternative combination of browser and webdriver that would work to do webscraping with selenium on a Raspberry Pi 3? Is there a repository version combination of Geckodriver and Firefox that would work? I understand that the reason why it doesn’t work on my Raspberry Pi 3 is related to a compatibility issue between Geckodriver and Firefox-ESR. The program works fine in my laptop with Ubuntu 16.04.
On May 8, 2018, Firefox 60.0 ESR will be released, so let's hope Debian will add it to their repository (Rust libraries seems to cause problems).I am trying to install a small program that does webscraping on my Raspberry Pi 3.
Make sure that you install the chromium-codecs-ffmpeg-extra_*_b as explained here, otherwise Vivaldi will not start. The current Raspbian supports Firefox 52 ESR (due to Debian), but you may consider the Vivaldi browser which uses less RAM than Chromium. README seems outdated though, because HTTP/1 Pipelining support has been removed in Firefox 54. To improve it, turn on fetch pipelining and the improved back-end cache via about:config see these instructions for example, and also here. Bear in mind that this app will take quite a long time (20 to 30 seconds) to start on first use, as it sets up its local storage in ~/.mozilla/.įirefox works, but can feel rather sluggish at times on the Pi. But it is available in the official package repository of Raspberry Pi OS. Firefox is not installed by default on Raspberry Pi OS. But many people like the Firefox web browser.
Chromium performs really well on the Raspberry Pi. From the README:īecause of licensing issues (specifically, bindist compliance), Mozilla Firefox Quantum has been distributed in its 'developer' edition - named 'Aurora'. Chromium is the default web browser of Raspberry Pi OS. (You can do your own research on this if you want.)Īs of April 04, 2018, Firefox Quantum v58.0.1 (Aurora) is available in the sakaki- Gentoo 64-bit image (which should work on Raspberry Pi 3B and 3B+). This is unlikely, though, as nobody wants to take responsibility for fixing it. What I really wish is that the Firefox issue will be resolved for ever soon. See jdonald's answer below for more information. There does seem to be a workaround, though. Firefox 52.0.2 does not receive security updates and may be vulnerable to attack. On Ubuntu you can go with Firefox 45.0.2, or you can use 52.0.2 at your own risk. The latest RPi compatible ESR version is currently Firefox 52.5.2 ESR. On standard Raspbian, the best you can do for now is to stay with Firefox ESR, as it will still get security updates. I myself have tried out each new version on Ubuntu MATE. No, not on standard Raspbian or Ubuntu MATEĭue to an unresolved issue since Firefox 55, the newer Firefox versions (latest is now Firefox 58) do not work on standard Raspbian or Ubuntu MATE. The new Firefox seems to use a lot more memory than the older versions, however. It seems that the issue has been fixed in the OS upgrade. UPDATE: Firefox is working on Ubuntu Mate 18.04! I am writing this from Firefox 64 on a RPi 2B running Ubuntu Mate.