1,043 questions
1
vote
1
answer
49
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 ...
0
votes
1
answer
52
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
41
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
43
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
52
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
39
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 ...
0
votes
0
answers
144
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
68
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 ...
0
votes
0
answers
136
views
"WebDriverException: Message: Service unexpectedly exited. Status code was: 64" with Selenium 4.21, Firefox 127 and GeckoDriver 0.34
I have a portable installation of Firefox 127 alongside GeckoDriver 0.34, and the following code on Selenium 4.21 (Python 3.11.7).
C:\Users\myuser\Portables\Geckodriver is in my local path environment....
1
vote
0
answers
26
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
504
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
56
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
66
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
200
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
297
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]')....