41090/how-to-have-a-headless-browser-for-armv7-linux-processor
I want a headless browser for web scraping. Recently I have tried 3 different headless browsers(Firefox, Chrome, PhantomJS).
But when using phantomJS, it throws this an error Armv7 processor needs GUI.
I tried this on Firefox with geckodriver and on this, it throws an error in the path and connection refused.
So I moved to chrome headless browser with chromedriver, but even this shows the same error as Firefox.
So, I need a proper headless browser for Armv7 processor. Can anyone suggest a solution for that or any other way to proceed further?
You can install the lower version of Selenium and this fixed my issue in a similar case.
$ pip install selenium==2.53.5
Or you can try the below procedure.
geckodriver v0.19.0 the following versions are recommended:
Firefox 55.0 (and greater) Selenium 3.5 (and greater)
Download the geckodriver from. After downloading, extract it and make it executable(in linux chmod +x path/to/geckdriver).
from selenium import webdriver
geckoPath = 'path/to/geckodriver';
browser = webdriver.Firefox(executable_path=geckoPath)
browser.get('');
body_html = driver.find_element_by_xpath("/html/body");
print body_html.text;
Hope this is helpful.
Install the lower version of selenium.It fixed ...READ MORE
You can try the below code:
driver = ...READ MORE
It is a little bit of a ...READ MORE
driver.find_elements_by_tag_name() returns a list of WebElements.
You can use JUnit task accepts nested system property elements.
<junit fork="no">
<sysproperty ...READ MORE
Hi Surya, you have already got the ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.