Questions tagged [geckodriver]

GeckoDriver is Mozilla's WebDriver implementation for the Firefox web browser, and works best with Firefox versions 48 and onwards.

Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers.

This program provides the HTTP API described by the WebDriver protocol to communicate with Gecko browsers, such as Firefox. It translates calls into the Marionette automation protocol by acting as a proxy between the local- and remote ends.

See also:

1443 questions
633
votes
38 answers

Selenium using Python - Geckodriver executable needs to be in PATH

I am going over Sweigart's Automate the Boring Stuff with Python text. I'm using IDLE and already installed the Selenium module and the Firefox browser. Whenever I tried to run the webdriver function, I get this: from selenium import…
tadm123
  • 8,294
  • 7
  • 28
  • 44
54
votes
13 answers

Selenium Google Login Block

I have a problem with Google login. I want to login to my account but Google says that automation drivers are not allowed to log in. I am looking for a solution. Is it possible to get a cookie of normal Firefox/Chrome and load it into the…
50
votes
11 answers

WebDriverException: Message: invalid argument: can't kill an exited process with GeckoDriver, Selenium and Python on RaspberryPi3

Server: Raspberry Pi 3 OS: Dietpi - version 159 Geckodriver version: 0.22 for arm Firefox version: 52.9.0 Python version: 3.5 Selenium version: 3.14.1 Gecko is executable, and is located in /usr/local/bin/ from selenium import webdriver from…
Chokoladekiks
  • 666
  • 1
  • 5
  • 18
50
votes
3 answers

Difference between webdriver.firefox.marionette & webdriver.gecko.driver

I am now learning Selenium and have met a problem. I am aware that Selenium supported old Firefox version by default without a driver. And for recent versions of Firefox, we have to download the driver and define it using…
42
votes
10 answers

How to use the gecko executable with Selenium

I'm using Firefox 47.0 with Selenium 2.53. Recently they have been a bug between Selenium and Firefox which make code not working. One of the solution is to use the Marionnette driver. I followed the instruction of this site to use this new driver…
Omegaspard
  • 1,828
  • 2
  • 24
  • 52
40
votes
11 answers

Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided using GeckoDriver

from selenium import webdriver; browser= webdriver.Firefox(); browser.get('http://www.seleniumhq.org'); When I try to run this code, it gives me an error message: Expected browser binary location, but unable to find binary in default location, no…
40
votes
7 answers

selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities with Firefox 46 through Selenium

I must have some versions here that don't match up since I can't get Selenium with Python to fire up a Firefox web browser. I'm using an older version of Firefox because other people in here have the same old version of Python and for them the old…
Eamonn Gormley
  • 2,436
  • 4
  • 21
  • 21
39
votes
9 answers

Get browser version using selenium webdriver

How would I get the browser version being used? >>> from selenium import webdriver >>> driver = webdriver.Firefox() >>> print version <-- how to do this? Firefox 12.0
David542
  • 104,438
  • 178
  • 489
  • 842
38
votes
9 answers

"Failed to decode response from marionette" message in Python/Firefox headless scraping script

Good Day, I've done a number of searches on here and google and yet to find a solution that address this problem. The scenario is: I have a Python script (2.7) that loops through an number of URLs (e.g. think Amazon pages, scraping reviews). Each…
Reily Bourne
  • 5,117
  • 9
  • 30
  • 41
36
votes
11 answers

How do I install Geckodriver?

I am attempting to work with Selenium in Python. However, I do not know what to do given the below from https://pypi.python.org/pypi/selenium Selenium requires a driver to interface with the chosen browser. Firefox, for example, requires…
polonius11
  • 1,703
  • 5
  • 15
  • 23
31
votes
4 answers

Selenium python Error: element could not be scrolled into view

I am working on automating the IdentiGO application for my company, and I'm getting the following error: Internal Server Error: /identigo Traceback (most recent call last): File…
Lord Elrond
  • 13,430
  • 7
  • 40
  • 80
31
votes
8 answers

ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

For some reason I get the following error only when I open up a nested webdriver instance. No idea what is happening here. I am using Windows 10, geckodriver 0.21.0, and Python 3.7. ConnectionAbortedError: [WinError 10053] An established connection…
oldboy
  • 5,729
  • 6
  • 38
  • 86
26
votes
1 answer

How to fix python-selenium error "connection refused" when initializing a selenium webdriver?

I am running very complex python-selenium tests on non-public webpages. In most cases these tests run fine, but sometimes one of these tests fail during the initialization of the webdriver itself. Hint: This error happens when trying to initialize…
Alex
  • 41,580
  • 88
  • 260
  • 469
25
votes
4 answers

How can I make a Selenium script undetectable using GeckoDriver and Firefox through Python?

Is there a way to make your Selenium script undetectable in Python using geckodriver? I'm using Selenium for scraping. Are there any protections we need to use so websites can't detect Selenium?
user12285770
21
votes
7 answers

How do I relocate/disable GeckoDriver's log file in selenium, python 3?

Ahoy, how do I disable GeckoDriver's log file in selenium, python 3? If that's not possible, how do I relocate it to Temp files?
Menace
  • 207
  • 1
  • 3
  • 11
1
2 3
96 97