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
10
votes
2 answers

I can't select options in dropdown list in FireFox 48 using marionette driver and selenium 3

I tried the new geckodriver with marionette turned on for FF48 and selenium 3 but the test can't select the option in the drop down list for any element. My test works fine in FF45 and all other browsers. Only marionette driver does not select the…
9
votes
8 answers

How to autoupdate chromeDriver & geckDriver in selenium

I have selenium grid setup with multiple node machines , where in I am manually downloading chromeDriver & geckoDriver on all selenium node machines & using them for chrome & firefox browsers respectively. Now here chrome & firefox browsers (on all…
sjethvani
  • 498
  • 1
  • 7
  • 17
9
votes
6 answers

WebDriverException: Message: The browser appears to have exited before we could connect error with GeckoDriver Selenium and Python

There are about 100 posts about the same issue but none of them seem to work for me, hence asking again. I'm trying to launch a Firefox browser using Python and Selenium and I get the following error: WebDriverException: Message: The browser…
Anish
  • 740
  • 4
  • 11
  • 27
9
votes
3 answers

WebDriverException: Message: TypeError: rect is undefined

I am trying to automate the download of data from a website with a python script using selenium but I get the following error: "WebDriverException: Message: TypeError: rect is undefined". Code trial: from selenium import webdriver from…
Mathador
  • 144
  • 1
  • 1
  • 11
9
votes
3 answers

IOError: [Errno 13] Permission denied: 'geckodriver.log when running Python/Selenium

Receiving the following error when running Selenium via Flask/Python browser = webdriver.Firefox() [Wed Mar 07 03:02:27.719608 2018] [:error] [pid 21555] [client 108.162.250.6:36139] File…
Franco
  • 2,846
  • 7
  • 35
  • 54
9
votes
2 answers

Firefox crashes on driver last window close

I have a project that sometimes uses multiple FF windows and sometimes multiple FF drivers. During init, I create a custom FirefoxProfile (or load a default from Selenium without any changes), add it to DesiredCapabilities, add capabilities to…
Hans
  • 752
  • 1
  • 15
  • 29
9
votes
3 answers

"Can't access dead object" in geckodriver

I am using Selenium 3.4 with Java. With Chrome, everything works fine. But I need to use Firefox, and there something breaks. I am automating the testing of a Dojo UI, and need to wait while the Dojo UI does a lot of rendering. So here is what I do,…
Mikhail Ramendik
  • 1,063
  • 2
  • 12
  • 26
9
votes
6 answers

Selenium + Firefox Dev-Edition: send_keys throwing [object Undefined] exception

Trying to input username during login using send_keys() method. I guess it's able to locate the input element, as when I run until before send_keys it works. With sending a string value in send_keys, it's throwing an…
9
votes
5 answers

Selenium opens browser but doesn't load page

This is an extension from a previous post which I could not get to work, but I am now getting a new error after updating Selenium. I am using Python 3.5, Windows 8.1, and Selenium 3.0.1. I know the code works because it works on my Mac, but when I…
Senor Penguin
  • 385
  • 1
  • 5
  • 17
9
votes
2 answers

ABORT: Aborting on channel error line :2076 in Selenium 3.0.0 beta 2

I have been using Selenium 3.0.0 beta2 with the Firefox 48.0.2 and geckodriverv10.0 for win 64. The problem is that the browser crashes without closing. > [Child 10232] ###!!! ABORT: Aborting on channel error.: file…
user4971722
8
votes
2 answers

How to Conceal WebDriver in Geckodriver from BotD in Java?

I followed this post on Stackoverflow to disable Firefox WebDriver detection. Launch Geckodriver: System.setProperty("webdriver.gecko.driver", geckdriverExecutableFilePath); File firefoxProfileFile = new…
8
votes
3 answers

How to change default language Chromium/Firefox using Playwright?

I’ve been trying without success to change default language of browsers Chromium and Firefox (inside automated tests that run in parallel using CodeceptJS + Playwright as runner) to french language. In Chromium, I’ve tried to use args --lang without…
8
votes
1 answer

How to set navigator.webdriver to undefined with Selenium for Firefox (geckodriver)

I am trying to set the navigator.webdriver variable in the Firefox browser to undefined using Selenium in Python. I have been able to successfully do this when using Chrome, but now I need to do the same thing using in Firefox. When using the…
CST
  • 747
  • 1
  • 8
  • 12
8
votes
1 answer

What is the executable_path in Google Colaboratory for geckodriver?

I want to use geckodriver in Google Colaboratory with Selenium Python package. Here is what I tried (I'm not an expert in Ubuntu) !pip install selenium !apt-get update !apt install firefox-geckodriver from selenium.webdriver.firefox.options import…
8
votes
5 answers

Selenium using too much RAM with Firefox

I am using selenium with Firefox to automate some tasks on Instagram. It basically goes back and forth between user profiles and notifications page and does tasks based on what it finds. It has one infinite loop that makes sure that the task keeps…
Naeem Khan
  • 950
  • 4
  • 13
  • 34