1,038 questions
0
votes
0
answers
60
views
ValueError: Timeout value connect was <object object at 0x0000028B3ACE0BA0>, but it must be an int, float or None
I am trying to make a basic script that uploads youtube vids. I used this person's design. To be honest I am unsure of what SPECIFICALLY I am doing, however that is besides the point. My only file ...
0
votes
0
answers
86
views
Setting media.volume_scale to 0.0 disables the overall sound in Firefox, is there a way to disable it just for the current tab?
I use Selenium Firefox in the most basic way possible and the option I found to mute the tab is set "media.volume_scale" to "0.0", but doing this also disables Firefox in general ...
1
vote
0
answers
55
views
How to connect firefox through existing opened browser?
I am using the below code to launch firefox browser, and then to connect to existing firefox browser
The problem is the control remains at
firefox_driver = webdriver.Firefox(service=service, options=...
1
vote
1
answer
95
views
How to disabled print preview in Firefox browser with selenium java
I'm trying to cancel out of the print dialog for Firefox browser using selenium java and unable to find an answer to this question.
I have looked into Firefox capabilities and did not find anything ...
-1
votes
1
answer
81
views
click allow cookies popup on firefox selenium c#
I want to click on allow option which is coming out from a pop up of a website ,I want to do on firefox to allow cookies:
i try this code but not work :
FirefoxDriverService cService = ...
0
votes
0
answers
48
views
Selenium Firefox event page load complete
I want to make a code run when page is COMPLETE.
if like a address do action if not do another action
Like this:
If (url==1) {}else{}
I want run that when page refresh or navigate repeatedly.
Like we ...
0
votes
1
answer
94
views
hide firefox downloads window (or contain to one desktop)
I don't even know if the name of that is "window": it's not in the DOM, but in the browser, and Firefox opens it everytime a download is completed. I can be accessed with Ctrl+Shift+y if I ...
0
votes
2
answers
124
views
Get driver to update after page click in selenium
I'm trying to build a simple webscraper. I want it to work by inputting a value into a webpage, clicking enter and then scraping the new page after the it loads.
So far initially loading up the ...
1
vote
0
answers
52
views
Firefox download getting in the way of Selenium
I built a Selenium test script to download multiple files through Firefox. The web-page pops a modal window for the download. I detect a file is downloaded by checking the download folder and ...
1
vote
0
answers
182
views
How to Solve AWS Elastic Beanstalk Deployment Error: "Failed to deploy application"?
I'm encountering persistent deployment errors on AWS Elastic Beanstalk and codePipeline, and I need some assistance to diagnose and resolve the issue. The error message I receive is:
Deployment ...
0
votes
1
answer
97
views
I need Selenium WebDriver Firefox return the same response as using requests, is there any way?
I have code all assembled to work on this response:
response = requests.get(url).text
soup = BeautifulSoup(response, 'html.parser')
But I will need to use Selenium WebDriver instead of requests, I ...
1
vote
0
answers
62
views
How to "inject" a profile into a firefox running inside a python container?
I am trying to run a "webcrawler" that impersonates a profile I have in my "host" machine. This profile contains a google session that would allow me to make requests to the site. ...
0
votes
1
answer
819
views
How do I install my geckodriver and locate it? Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC
help please. I keep getting this error when I am trying to launch firefox browser.
I am using Eclipse with Java.
My MacOS is 14.5.
Firefox version 126.0.1 (64-bit).
Geckodriver version 0.34.0 (...
1
vote
0
answers
92
views
What is a good alternative for Scroll Element Into View that works in Firefox?
I stumbled upon a problem with scrolling the website to a desired locator when testing on Firefox using Robot Framework. Whenever I have a simple Scroll Element Into View in my test case, it results ...
0
votes
1
answer
91
views
Selenium 3 to 4 - org.openqa.selenium.WebDriverException: Reached error page: when launching URL in Firefox browser
I am updating the framework from Selenium 3.0 to 4 and have been encountering a few issues. When I launch my test on Firefox browser, I get the error below.
org.openqa.selenium.WebDriverException: ...
0
votes
0
answers
265
views
Selenium error: SessionNotCreatedException | Java, Firefox, everything is updated and should be compatible
I am confused why this issue is happening because I have the latest versions of everything I am working with:
I am working in Java (version 22)
My Geckodriver is version 34
All the jars I have for ...
-2
votes
3
answers
453
views
Problem with executing javascript code to do hover event over xpath element in selenium webdriver
I try to trigger hover event over an element declared by xpath statement in selenium webdriver:
((JavascriptExecutor) driver).executeScript("$('(//span[@class='attribute-square-container'])[2]')....
-1
votes
1
answer
324
views
Selenium firefox webdriver failed to update gecko (tcp connect error)
I'm adding Selenium tests in a dedicated project to test a web application. The project uses java 17 and it has the following dependency
<dependency>
<groupId>org.seleniumhq.selenium&...
0
votes
1
answer
151
views
Download a PDF file using Python Selenium and Firefox Driver in AWS EC2 Service
I'm working on a Python project where part of the functionality involves automatically downloading PDF files from a website using Selenium and Firefox, and then uploading these files to a specific ...
0
votes
1
answer
972
views
Load firefox default profile in selenium 4.18.1 python
I am trying to load My default profile of firefox but cant load it I have tried all kinds of approach but nothing is working please help.
The approaches i have tried please anyone help with this
from ...
-1
votes
1
answer
111
views
How to select correct path to click item on website using python selenium webdriver in firefox css_selector
I currently try to create a loop to click all links on a website
https://www.hatvp.fr/le-repertoire/liste-des-entites-enregistrees/ one after another.
I found this part in the html code that could ...
0
votes
0
answers
1k
views
Login Instagram with Python
I'm trying to login to my personnal page with python. But each time I try to login, it looks working but after redirect me to an other login page. I don't understand why? The username and the password ...
0
votes
1
answer
159
views
How do i solve "selenium.common.exceptions.WebDriverException: Message: Failed to decode response from marionette" error
I'm trying to write a basic selenium script but cannot past the below error. I am using geckodriver 0.34, firefox 122.0.1, python 3.8.10 and Selenium 4.17.2
My code:
from selenium import webdriver
...
0
votes
1
answer
451
views
How to change Setup of "Selenium Python config For Chrome" to Firefox and Edge Browser?
can anyone kindly help me change/rewrite my working Selenium Python code working on chrome to Firefox and Edge?
i can't seem to find solution and rewrite importing firefox or edge drivers on the code ...
0
votes
1
answer
2k
views
Change cache location for Selenium
I'm using Selenium 4.16.0 for Python, on Windows 10.
How can I change the default cache location ?
The default cache location is "~/user/.cache", a directory.
But I get errors since another ...
-1
votes
2
answers
229
views
Using Selenium to select a specific download button when there are many seemingly identical download buttons on the same page
I'm using an online educational platform that's generating daily excel spreadsheets. When I access my portal, I can click on a specific day or see a list of days, each with an inline download button. ...
-1
votes
1
answer
74
views
set proxy in selenium
i have an issue with the selenium,
i want to set proxy for my driver but it dosent work.
what is the problem?
from selenium import webdriver
from selenium.webdriver.common.proxy import Proxy, ...
0
votes
1
answer
39
views
NoSuchElementException on trying to pick select HTML tag
I am currently learning Selenium 4 and decided to write some code for the site: Art Of Testing using Java Bindings, TestNG and Firefox Driver. On the site, there is a dropdown list (select HTML ...
0
votes
2
answers
662
views
How can I log in to Instagram using Selenium 4.14.0?
I am using selenium 4.14.0 and mozilla 119.0 and GeckoDriver-v0.33.0.
Accordingly, how do I log in on Instagram? By code.
I don't know how to automatically log in to Instagram using Selenium and ...
1
vote
2
answers
156
views
Web application cannot be launched with Firefox
I have given following code to launch the application with Firefox
System.setProperty("webdriver.gecko.driver",
"C:/Work/Assessment/Automation/Test_2/src/main/resources/geckodriver.exe&...
0
votes
1
answer
83
views
Python: Web Scraping with Proxy Addresses: Unresolved IP Address Visibility Issue
I am attempting to perform web scraping with proxy addresses using the Python Selenium library. However, I am encountering an issue where my IP address is still visible on the websites I visit.
...
1
vote
1
answer
721
views
How do I make `print_printer` work in Python Firefox Selenium?
Problem
Not Working Code
import time
from selenium import webdriver
def main():
download(f"https://finance.yahoo.com/quote/TSLA/", 0)
def download(url, n):
# Set the path to the ...
0
votes
1
answer
97
views
getting ElementClickInterceptedException in the firefox browser
public void clickRecentRuns() {
WebDriverWait wait = new WebDriverWait(browser.getDriver(), 60);
wait.until(ExpectedConditions.attributeContains(By.xpath("//h4[@...
1
vote
0
answers
300
views
Selenium multiple Firefox error: session is already started
I'm using Python, Selenium and Ubuntu 22.04. I can open several Chrome windows, but when I try to do the same using Firefox I just get this error after opening the first window:
selenium.common....
0
votes
3
answers
1k
views
How to load specific Firefox profile into selenium (Macos M1)
I'm trying to load a specific profile into selenium, but it always opens with the default profile. Here is my code:
profile_path = '/Users/mymachine/Library/Application Support/Firefox/Profiles/...
1
vote
0
answers
134
views
Downloading PDF in Selenium 4 Firefox opens a new tab
I am trying to change the version of a Selenium Project from 3 to 4. The issue that I am facing is that after downloading a PDF using Firefox, the PDF is opened in a new tab, and I do not wish for ...
0
votes
1
answer
513
views
How to handle alert prompts in Selenium Python?
I have tried to use Selenium with Python. The script is to get a file from a website over a for loop. The input is provided from an Excel file, which is read and the variables are then passed on to ...
0
votes
1
answer
94
views
Why is Firefox selenium webdriver not processing more then 20 tabs?
I am using the following script to upload my png images to a secret website:
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import ...
-1
votes
1
answer
851
views
Selenium SessionNotCreatedException in Jenkins Due to 'No space left on device (os error 28) at path "/tmp/rust_mozprofileO0WZJN"'
While attempting to run Selenium through Jenkins, I encountered the following error:
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Error while creating session with ...
3
votes
2
answers
3k
views
how to use proxy in selenium 4.1
i am trying to make an automation project which will use proxy to register in a site. but i am unable to get it work.
I have tried selenium-wire for proxy authentication still it doesn't work
from ...
0
votes
1
answer
807
views
Chrome driver issue in data bricks
I am facing Web driver exception while running below code.
Code:
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.options import ...
0
votes
1
answer
118
views
Firefox browser is not launching, even when we are using the latest version of Selenium WebDriver and browser
The Firefox browser is not launching in the QMetry framework with Selenium version 3.141.59. The browser version is 114.0.1 (64-bit) and the Selenium WebDriver version is geckodriver-v0.33.0-win32 and ...
1
vote
2
answers
1k
views
selenium firefox custom download location seems to be ignored
I have tried everything suggested in SO threads for this so I must be doing something else wrong. So I apologize if this seems like another repeat of many similar threads.
I'm trying to set a custom ...
1
vote
2
answers
79
views
Selenium working differently after a certain line of code
I am trying to make an automated LinkedIn application bot. The basic idea is to login, search for marketing jobs, click on the 'easy apply' filter, and then apply to the jobs listed, one by one.
I'm ...
1
vote
2
answers
3k
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
1
answer
197
views
How can I install Selenium WebDriver in Pycharm when encountering an SSL error with pip?
Selenium WebDriver in python(Pycharm)
It gives an error when I try to load the library "pip install selenium"
WARNING: pip is configured with locations that require TLS/SSL, however the ssl ...
3
votes
1
answer
2k
views
What is the updated argument for Firefox browser to run test (Selenium Java) in headless mode?
I have tried to set the argument as options.addArguments("--headless"); but it's not working. Please note that I don't want to use setHeadless(Boolean) method since it's deprecated now.
I ...
1
vote
2
answers
693
views
Serenity is not using Custom Firefox profile while Launching the Browser
I am using Serenity BDD and I needed to Launch Firefox Browser with a custom profile bacause i wanted to store certs into that profile. So, i wont have any issue with Auth. However, I have added below ...
0
votes
1
answer
1k
views
Unable to launch Firefox browser using Selenium
Unable to launch Firefox browser using Selenium.
Below is the code that I executed:
public class BrowserTest {
public static void main(String[] args) {
System.setProperty("webdriver....
0
votes
1
answer
62
views
How to permanently change "useRecommendedPerformanceSettings" in firefox browser using python even after relaunching the browser?
In this code, settings are changing. But if I relaunch the Firefox browser again, it is reverting back to the old settings
from selenium import webdriver
from selenium.webdriver import Firefox
from ...