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
8
votes
1 answer

Accessing Tor with Selenium in Python

I've tried a multitude of solutions to this, but so far haven't had any luck. I'm trying to access the tor browser using selenium in python, but when my program opens up Tor, Tor gives me an error message saying: Tor failed to start. Python then…
8
votes
4 answers

Selenium geckodriver executes findElement 10 times slower than chromedriver (.Net)

Sorry didn't find a similar question and maybe somebody can help. Due to additional requirements we have to test our project not only with Chrome but with Firefox as well. When we simply changed a test context to Firefox it turned out that all…
Nick
  • 101
  • 1
  • 3
8
votes
2 answers

How can I set a default profile for the Firefox driver in Selenium Webdriver 3?

I can't set a default profile for Firefox in Selenium Webdriver 3 because there is no such constructor in the FirefoxDriver class. import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import…
8
votes
4 answers

Selenium WebDriver 3.4.0 + geckodriver 0.18.0 + Firefox ?? - which combination works?

I'm running Selenium 2.x with Firefox 47.0.2 on Windows Server 2008R2 using .Net. I'm running x64 code. I'm trying to upgrade to Selenium 3.40 + geckdriver 0.18.0 but I can't find a version of Firefox that runs 100%. I'm using x64 en-US versions…
sevzas
  • 701
  • 2
  • 5
  • 13
8
votes
6 answers

how to install geckodriver on a windows system

I am trying to install webdriver and in order to open Firefox I need the geckodriver to be installed and in the correct path. Firstly the download link to install geckodriver only allows you to install a file that is not an executable. So is there a…
Contro
  • 159
  • 1
  • 1
  • 10
7
votes
7 answers

"Failed to read marionette port" when Running Selenium + geckodriver + firefox as a non-root user in a Docker container

I'm running selenium tests inside a docker container, with Firefox and Geckodriver. When running that container as root, everything works fine. When running the container as non-root user (USER 1000), the driver fails to initialize : [[1;31mERROR[m]…
Guillaume Georges
  • 3,878
  • 3
  • 14
  • 32
7
votes
3 answers

WebDriverException : "Process unexpectedly closed with status 255" - selenium/geckodriver/AWS lambda - Python

I am currently working on a web scraping project on aws lambda (serverless) techs : python3 selenium 3.14 geckodriver-V0.29 firefox 80.0 (en mode headless) Here is the code I implemented (knowing that I configured the paths for firefox and…
Nounes MEZ
  • 71
  • 1
  • 3
7
votes
2 answers

How to solve selenium firefox browser is under remote control?

I'm using selenium with firefox 82.0.3 (64) The code is working properly but the issue is that it is saying browser is under remote control. Is there any way to solve it or other ways to bypass it. What I actually want to do with selenium is to open…
7
votes
1 answer

Selenium: Trying to get Firefox console logs results in "WebDriverError: HTTP method not allowed"

I'm trying to capture console errors in my selenium tests (node environment with selenium-webdriver 4.0.0-alpha.5 and the latest geckodriver and chromedriver). I've set up one driver for Firefox and another one for Chrome like this: const chrome =…
Constantin Groß
  • 10,719
  • 4
  • 24
  • 50
7
votes
2 answers

What's the difference between `driver.execute_script("...")` and `driver.get("javascript: ..."` with geckodriver/Firefox?

I think, this question concerns the internal workings of Selenium. In another post Referer missing in HTTP header of Selenium request it becomes apparent that there is a difference between running driver.execute_script("window.location.href =…
finefoot
  • 9,914
  • 7
  • 59
  • 102
7
votes
5 answers

org.openqa.selenium.interactions.MoveTargetOutOfBoundsException: (x, y) is out of bounds while MouseHover with GeckoDriver Firefox Selenium

I am learning how to automate tests with Selenium WebDriver, however I got stuck and cannot make dropdown menu to work in Firefox. The same code runs perfectly fine in Chrome. The site I am practicing on…
Michal Jeruzal
  • 89
  • 1
  • 1
  • 6
7
votes
2 answers

Parameter Exception - was passed main parameter but no main parameter was defined in your arg class while launching Selenium Grid Node

Error: Parameter Exception - was passed main parameter but no main parameter was defined in your arg class Snapshot of the error: Hub - 10.72.24.148:5555 I am running node using command line: java -Dwebdriver.gecko.driver="C:\geckodriver.exe"…
7
votes
1 answer

Unable to read VR Path Registry from

Version: geckodriver-v0.20.0-win64 Platform: Windows 10 Home Single Browser: Firefox: 59.0.2 (64-bits) Selenium: selenium-java-3.11.0 intelliJ Idea : 2018.1 Community Edition Hello, I'm starting to use WebDriver with Java in the intelliJ IDEA. I…
7
votes
1 answer

Reached error page: about:neterror when trying to navigate to other tabs if there is a form submit under that tab

when I use Selenium to do automation testing, I hit an issue, here are all scenarios: There are several tabs on top of the page, now that I want to click those tabs and fill up all forms under those tabs, but if I submit formA which under tabA, then…
7
votes
1 answer

Unable to load firefox in selenium webdriver in python

I have installed Python 3.6.2, Selenium 3.5.0 with GeckoDriver 0.18.0 and the firefox version is 54.0.1version on windows 7. I am trying to run a selenium script which is loading a firefox where i get mismatch with firefox version error. Please let…
Rashmi G
  • 103
  • 2
  • 6