14,999 questions
1
vote
2
answers
65
views
Loading unpacked Chrome extension with Selenium 4.34.2
I am trying to load an unpacked Chrome extension that is stored (as an unpacked folder) in the same folder where my script is running. This is the extension.
import time
from selenium import webdriver
...
1
vote
0
answers
106
views
azure function with selenium not working gives internal server 500 error
Here my http_trigger test function seems to run smoothly and is able to write files as expected to my azure blob storage, however when I test extract_signals which uses now a full blown headless ...
0
votes
0
answers
38
views
StaleElementReferenceError in Selenium when running in Docker but not Locally
For this apps test, doing a series of cucumber steps with the verification is in selenium. In the steps we hover over an element which causes a tooltip to pop-up. Selenium is then supposed to locate ...
0
votes
1
answer
36
views
Why does MoveToElement + Click not work, while IJavaScriptExecutor + Clik does?
Novice here, using Selenium 4.34 on .NET 8.0.
Automation test page used: https://demoqa.com/
Sudo:
Open Chrome
Go to URL
Click Book Store Application
Whole script:
using OpenQA.Selenium;
using ...
1
vote
1
answer
71
views
When I try to run my cucumber file on Jenkins, Jenkins looks at my local directory instead of GitHub
I am running Jenkins on my local machine from port 8080, the pipeline is connected to my GitHub through the plugin and I have confirmed that Jenkins can see my Jenkinsfile on my repo. There is a step ...
0
votes
0
answers
65
views
can't make undetected-chromedriver work on mac
I get Error: Message: session not created: cannot connect to chrome at 127.0.0.1:55046
when running:
import undetected_chromedriver as uc
from selenium.webdriver.common.by import By
from selenium....
1
vote
1
answer
2k
views
How to suppress Chrome GCM DEPRECATED_ENDPOINT errors when running Selenium WebDriver?
I'm running a web scraping project using Selenium with ChromeDriver in headless mode, and I'm constantly seeing the following logs in my terminal:
[20376:708:0708/170807.138:ERROR:google_apis\gcm\...
0
votes
1
answer
61
views
Text box value not getting cleared correctly
I have a text field with "textA", I simply want to clear the text and enter "textB"
I have used
TextField.clear() and
TextField.SendKeys(Keys.Control + "a");
TextField....
-1
votes
0
answers
73
views
Unable to launch default Chrome profile in C# , Selenium
Requirement
I have to launch Chrome driver and open Gmail without entering credentials .
Wrote code below in C#, .NET 8. RUN it as an admin . Chrome driver with the default profile is launched, but ...
0
votes
0
answers
86
views
ChromeDriver 138 crashes/ECONNRESET waiting for URL change
I'm running some Nightwatch tests, on a headless browser, running in Docker, on Bitbucket, using the latest Chrome and Chromedriver (v138).
"devDependencies": {
"@percy/cli&...
0
votes
1
answer
183
views
How do I disable this warning from abseil in selenium python when using chromedriver?
This is the code that I tried to run
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('log-level=3')
driver = webdriver.Chrome(options=options)
driver.get("...
2
votes
0
answers
63
views
Linux Chrome throws "Could not start session. Response code 500" with a valid AutoSelectCertificate JSON policy while running automatic tests [closed]
For development of automatic tests with Java/selenium, that uses a P12 certificate for authentication, I'm having problems running tests in Chrome in a Linux Docker environment.
I'm trying to use the ...
0
votes
1
answer
73
views
org.openqa.selenium.SessionNotCreatedException: Could not start a new session
My selenium setup is:
WebDriverManager.chromedriver().setup();
ChromeOptions ops = new ChromeOptions();
ops.addArguments("--remote-allow-origins=*");
ops.addArguments("--disable-popup-...
0
votes
0
answers
52
views
undetected_chromedriver loads Chrome Profile but code crashes afterwards
I wanted to access logins in my chrome profile but every time i try to access it, the window opens correctly but no further action gets performed like opening the link or anything. The code crashes. I ...
0
votes
0
answers
40
views
How can I get Chrome debug or network logs using RemoteWebDriver in Selenium Grid? Console logs work locally but not from remote nodes
I’m trying to capture browser logs during test execution. When I use local WebDriver, I can access these logs using:
GeckoDriverService service = new GeckoDriverService.Builder()
....