How to have a Headless browser for Armv7 Linux processor?

0 votes

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?

Mar 13 in Selenium by Surya
• 860 points
26 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

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 https://github.com/mozilla/geckodriver/releases. 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('http://stackoverflow.com');
body_html = driver.find_element_by_xpath("/html/body");
print body_html.text;

Hope this is helpful.

answered Mar 13 by Vaishnavi
• 860 points

Related Questions In Selenium

0 votes
1 answer

Using headless browser for Armv7 linux processor

Install the lower version of selenium.It fixed ...READ MORE

answered Mar 27, 2018 in Selenium by code_ninja
• 5,900 points
44 views
0 votes
1 answer

How to open a browser windows silently in the background?

It is a little bit of a ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,590 points
73 views
0 votes
1 answer

How to Stop a For-Loop at a special number using Python

driver.find_elements_by_tag_name() returns a list of WebElements. You can use options ...READ MORE

answered May 25, 2018 in Selenium by Samarpit
• 5,130 points
19 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,050 points
134 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
521 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
124 views
0 votes
1 answer

How to pass parameters to a Junit test case from the Ant build tool?

The JUnit task accepts nested system property elements. <junit fork="no"> <sysproperty ...READ MORE

answered Mar 6 in Selenium by Vaishnavi
• 860 points
29 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.