Questions tagged [geckodriver]
GeckoDriver is Mozilla's WebDriver implementation for the Firefox web browser, and works best with Firefox versions 48 and onwards.
1,452
questions
0
votes
0
answers
9
views
Selenium DNS error when DNS works absolutely fine
I very much apologize if this is not quite a stack overflow question, but Selenium seems to be acting rather weirdly. I am using geckodriver with Firefox, and during startup, I get a weird DNS ...
0
votes
0
answers
8
views
I want to operate firefox elements through selenium_js in centos environment. How should I configure the environment?
I want to operate firefox elements through selenium_js in centos environment. How should I configure the environment?
i want to configure headerless & geckodriver
const { Builder, Browser, By, Key,...
0
votes
0
answers
10
views
Webdrivermanager is unable to download geckodriver 0.33.0 on Mac
Im working in a robot framework automation project, and im trying to implement WebdriverManager to manage my webdrivers, but when i run webdrivermanager firefox it always download version 0.29.0 (...
0
votes
0
answers
77
views
"Failed to decode response from marionette" error in Selenium Python
I was trying to use Tor with Selenium and Python.
But I stumbled on this error: "selenium.common.exceptions.WebDriverException: Message: Failed to decode response from marionette"
this is ...
0
votes
0
answers
18
views
org.openqa.selenium.WebDriverException: Failed to decode response from marionette
I am executing my test cases in selenium (3.141.59) in Intellj with Firefox 119 and geckodriver-v0.33.0-win64. Test cases keep failing. Firefox browser just starts and terminates with doing anything ...
0
votes
0
answers
507
views
selenium 4.14.0 and mozilla 119.0 and GeckoDriver-v0.33.0
I'm using selenium 4.14.0 and mozilla 119.0 and GeckoDriver-v0.33.0.
1)
from selenium.webdriver.firefox.service import Service
from selenium.webdriver.firefox.options import Options
from selenium....
0
votes
0
answers
13
views
How to set the path to custom Firefox profile during geckodriver startup?
First roadbump - no Selenium, only simple curl commands. I successfully launch the driver instance using the following request:
curl --data '{"capabilities":{"browserName":"...
0
votes
1
answer
88
views
Selenium Firefox driver fails on Ubuntu 23
I have just upgraded to Ubuntu 23.04, and my Python code fails (used to work on version 22).
If I run this snippet:
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('http://www....
0
votes
1
answer
23
views
How to solve 'NoSuchSessionError' when setting up Selenium with Firefox?
I'm new to Selenium (and automated testing in general) and am trying to set up using Selenium with Node.js, using Firefox (104.0) as the browser (on MacOS 12.4).
Following several tutorials online I ...
0
votes
1
answer
95
views
TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path' What is the solution?
When I run the code I wrote in cmd, I encounter this error.
driver = webdriver.Firefox(executable_path="C:/geckodriver/geckodriver.exe")
TypeError: WebDriver.init() got an unexpected keyword ...
0
votes
0
answers
27
views
Issue when trying to run RSelenium in a rocker docker image
I'm trying to run RSelenium by extending a rocker/r-ver docker image. My image looks like this (basically installing the required R-packages along with java and firefox):
# Use rocker/r-ver as the ...
0
votes
0
answers
22
views
How to catch unknown error messages in Selenium?
I am writing an automated login check in Python using Selenium with Firefox/geckodriver, which is triggered by a cron job every 15 minutes, for the purpose of making sure the login page is functioning ...
0
votes
1
answer
100
views
Selenium with Firefox and Geckodriver spontaneously failed
Headless firefox with geckodriver scripted with python3 was working perfectly and suddenly fails with the following Error Code 64.
Have made sure to kill all lingering firefox processes and have ...
1
vote
1
answer
167
views
toml configuration for Selenium node not working when setting proxy option
I'm desperately trying to start a Selenium node (Selenium standalone 4.13.0) in order to run some performance tests through the jmeter/jmeter-server tool (via rmi) using a remote Linux vm. I have to ...
1
vote
1
answer
102
views
Why can't I control Firefox using Selenium/Javascript on Ubuntu 22.04, when I can with Python?
I have a python script to control firefox using selenium, and it works fine:
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Firefox()
driver.get("...
0
votes
1
answer
82
views
Chromedriver option is missing for this command "npm init wdio ."
Whenever I type a command for package installation for WebdriverIO, I am not seeing the chromedriver or geckodriver option.
Instead I am getting the options below
Do you want to add a service to your ...
0
votes
3
answers
84
views
how to set specific profile for gecko driver
in this code, i think only --headless is working properly
i tried with -p or --profile "path to firefox profile", none of this is working
def initialize_web_driver():
try:
...
0
votes
0
answers
21
views
Copy all opened tabs texts by selenium
I wrote following script that copy all already opened tabs texts in Firefox:
import pyautogui
import pyperclip
import time
def copy_text_from_tabs(num_tabs, output_file):
# Delay to ensure you ...
1
vote
1
answer
47
views
specific custom path of firefox for executing the automation
I am using "SeleniumLibrary" in robot framework . I installed two version of firefox in my machine . I would like to use the specific custom path of firefox for executing the automation ....
0
votes
0
answers
51
views
How to use selenium 4.11.2v for scraping in python
I have used older selenium versions with geckodriver in python to scrap data. But now i have to use selenium 11.4.2v with firefox 113v. In this version the geckodriver path is not necessary to define. ...
0
votes
0
answers
21
views
How handle ActionChains in Geckodriver
i got autotests written in selenoum+python(all latest versions). For different actions on page i use actionschains, for example:
actions = ActionChains(self.browser)
actions.move_to_element(element)....
0
votes
1
answer
21
views
How geckobrowser span button skip innertext click?
geckowebbrowser span button skip need clicked
I'm trying hard to click the span button but it's not clicking at all. Span A class comes randomly so I can't do class dia. I have given the code below if ...
0
votes
0
answers
35
views
Python Selenium and GeckoDriver different computer issue
My desktop computer runs everything perfectly but when running program on my laptop caused issues.
I am working on a program that clicks a size on a website and it gets the SKU for that size. However, ...
0
votes
1
answer
77
views
Selenium script using Firefox `geckodriver` is running out of memory when there still available
I'm running a selenium script in Python with the Firefox browser, where the task is to scroll down until the end of the page. The process is composed by scroll down the page, click a button at the ...
0
votes
0
answers
40
views
NULL when running remoteDriver()$navigate
I'm trying to set up RSelenium to gather data from a website for a research project. I'm already struggling to set it up properly.
I have loaded RSelenium, rvest and httr and chromedriver is running
...
0
votes
0
answers
96
views
selenium.common.exceptions.WebDriverException: Message: Service /usr/local/bin/geckodriver unexpectedly exited. Status code was: 69
I'm currently working on a project that involves using Selenium for web scraping/automation. I've encountered an issue with GeckoDriver where I'm getting a selenium.common.exceptions....
0
votes
1
answer
22
views
Issue with Geckodriver Installation in CircleCI Deployment
How can I fix this issue?
I'm encountering an issue while deploying my code on CircleCI. I made changes to my code and included geckodriver installation. The code works locally, but when I try to ...
0
votes
0
answers
36
views
Slow start when using Service object instead of firefox_profile
I got a Deprecation Warning:
firefox_profile has been deprecated, please pass in a Service object
So I changed the python script to use a service object. Now it takes takes half a minute to start ...
0
votes
1
answer
58
views
PermissionError: [Errno 13] Permission denied: 'geckodriver.log'
I've run my program which uses selenium and gecko driver for the past week. Today I tried to turn it into a .bat file and use Windows's Task Scheduler to make it run at a specific time.
Once that time ...
0
votes
2
answers
955
views
Is there a known working configuration for using Selenium on linux-arm64?
I wrote a quick program that simply opens and closes a website using Firefox at set intervals. It runs perfectly on my Intel Mac OS Ventura. I intended to keep it running on a Raspberry Pi, but I ...
0
votes
1
answer
60
views
I am facing path issue while uploading files in Firefox browser on Windows OS in logs I am able to see / instead of \ [duplicate]
Robot log file
I am trying to upload a file using Firefox browser but it giving me path error in windows system and same code is working on MAC system
If you see log file the in error instead of '\' ...
0
votes
2
answers
1k
views
Exception in thread "main" org.openqa.selenium.remote.NoSuchDriverException: geckodriver located at geckodriver.exe, but invalid
I get this exception but i dont have geckodriver present in project window.
how to resolve? help appreciated thanks.
my code:
System.setProperty("webdriver.gecko.driver", "geckodriver....
0
votes
1
answer
408
views
"Failed to read marionette port" in Selenium + firefox + geckodriver + python from php
I´m running a python script from php where I do some scrapping. The script runs ok when executed on Ubuntu terminal, but gives me these lines on Apache log:
df=BUscrap(sys.argv[1])
File "/var/...
0
votes
0
answers
671
views
Crash Annotation GraphicsCriticalError with firefox headless on aarch64 host
env :
host : aarch64 GNU/Linux [5.4.17-2136.320.7.1.el8uek.aarch64]
selenium : Mozilla Firefox 102.12.0esr
gecodriver : 0.33.0 (2023-04-03)
execution mode : headless
issue :
[DEBUG] [TestEventLogger] ...
0
votes
1
answer
159
views
SecurityError: Permission denied to access property "pageXOffset" on cross-origin object
I am trying to take a screenshot using Selenium with Python 3.9 but suddenly I've got the error as:
Message: SecurityError: Permission denied to access property "pageXOffset" on cross-origin ...
1
vote
1
answer
47
views
MoveTargetOutOfBoundsException Selenium Python Firefox
so i'm pretty new to selenium and have a little test script i'm working on:
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.common.by ...
0
votes
0
answers
58
views
How to get geckdriver running with selenium in a local xampp php environment on windows
I want to use selenium to crawl a complex website with php. It should login and read data, that I want to put in my database. So, easy use.
What I tried:
I installed Windows
I installed the actual ...
0
votes
0
answers
119
views
SessionNotCreatedException after updating firefox, geckodriver and Selenium Webdrivers
I've updated all the below to the latest versions:
geckodriver (v0.33.0)
FireFox (115.0)
Selenium Webdrivers (4.10.0)
When trying to run a Selenium test via JUnit I'm getting this error:
Exception in ...
1
vote
1
answer
164
views
How to set up geckodriver with Selenium in google-colaboratory?
For some context, I'm using Google Collab to try to make a webscraper, and for that I want to use selenium. But I can't seem to set up the web driver properly. Google uses Ubuntu servers I believe.
...
0
votes
0
answers
24
views
Unsaving All Instagram Posts
Is there really a way of unsaving all of your instagram saved posts with selenium and geckodriver. I have tried with the code below, but it fails every time it gets into the first post. Anybodhy have ...
0
votes
2
answers
59
views
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: console.error: JsonSchemaValidator.jsm:
When I execute a Selenium Script using Firefox, the Firefox opens up but it doesn't redirect to the URL. Below is the error which is displayed on the Eclipse Console:
org.openqa.selenium.firefox....
0
votes
1
answer
58
views
How to collect all the reviews on the website using python selenium
I am using the following code to collect all the reviews on a page, but it collects only the first one. However, the xpath used in the code highlights 10 elements when elements are inspected on the ...
0
votes
1
answer
211
views
How to initialize firefox with a Selenium Java project using Java 20
Which version of geckodriver should I use for Java version 20 and selenium v4.10.0 ?
while my firefox is 114. when I use geckodriver 0.33.0 I get this error:
Exception in thread "main" org....
2
votes
0
answers
321
views
Selenium with Firefox GeckoDriver list up as WebDriver Present [duplicate]
I was trying to make a selenium bot that executes through firefox geckodriver but when I use AntiBot detection website like (https://bot.sannysoft.com/) it shows WebDriver as present.
Antibot shows ...
2
votes
2
answers
127
views
How to get the text using selenium in Python with geckodriver
I have the following html code:
<div class="jaHlC">
<div class="C" data-ft="true">
<div class="IuRIu"
<span>
<span class="biGQs _P ...
1
vote
1
answer
1k
views
"binary is not a Firefox executable" error using Selenium on Windows in Python
This is my code:
from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from selenium.webdriver.firefox.options import Options
driver_service = Service(executable_path=...
0
votes
0
answers
202
views
How to make geckdriver not stop the Marionette listener when the session is closed?
thanks in advance for take a time to help me. I'm working on a Python library that runs asynchronous REST requests to WebDrivers and one issue I have is that when I close the GeckoDriver (Firefox) ...
0
votes
0
answers
283
views
Selenium suddenly can't start Firefox / geckodriver
I used to start Firefox in headless mode through selenium for couple of days. And suddenly the initialization of geckodriver began to fail!
This is a minimal python script:
from selenium import ...
0
votes
0
answers
93
views
selenium.common.exceptions.TimeoutException: Message: TimedPromise timed out after 300000 ms Stacktrace:
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common....
0
votes
1
answer
73
views
CPU load-based timeouts in Selenium tests
Background
We run integration tests in multiple browsers (chrome and firefox) using Selenium Grid, but tests become flaky as the CPU load on the host machines increases. Timeouts for wait statements ...