12,286 questions
2
votes
1
answer
87
views
How to run the AdGuard extension in WebDriver?
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from selenium....
0
votes
0
answers
42
views
Cucumber steps are undefined in WebdriverIO + Appium with TypeScript
I am trying to implement Cucumber in my Appium + WebdriverIO framework, but I am stuck: my steps are coming up as undefined even though they are correctly defined.
Project structure:
Project name
├─ ...
1
vote
1
answer
148
views
Appium fails to find chromedriver for WebView: Trying to use binary that doesn’t exist
I’m trying to automate an Android WebView app using Appium + WebdriverIO (v9) for my hybrid app.
My test fails when I try to switch to the WebView context:
[0-1] 2025-09-25T13:54:41.590Z WARN ...
2
votes
2
answers
92
views
Get url of second tab using selenium?
I'm trying to get the second tab url using the following code -
import time
import os, sys
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver....
0
votes
1
answer
59
views
How to select only one Webdriver to run the test
I am learning selenium with Pytest and have configured conftest.py like this
import pytest
from selenium import webdriver
from pages.homepage import HomePage
def pytest_addoption(parser):
parser....
0
votes
2
answers
72
views
Iterating through List of WebElements not working correctly in Selenium Java
I have tried looking for answer or solution for this everywhere on the internet as to why this is happening but came with no luck. I thought I would has my question here. The project I am working on ...
0
votes
1
answer
84
views
Chromedriver with proxy
We have a test software based on chromedriver. The test is a site check from one computer, but under different proxies. The proxy is connected via a JavaScript script. About a month ago, I had to edit ...
0
votes
1
answer
59
views
Appium can not manage Apple Passcode prompt
Stack:
IDEA Intelij, Java 17, Appium, AppiumServer 2.16.2, XCUITest driver, Apple
Problem:
Appium dies on the Apple Passcode screen.
0
votes
1
answer
91
views
I can't seem to get .waitForDisplayed/exists methods to work for elements the moment i switch between apps
const el = browser.$('//android.view.View[@content-desc="Login"]');
await el.waitForDisplayed({timeout:5000});
if this snippet gets executed without shifting between apps, it works like a ...
-2
votes
1
answer
66
views
Used webdriver.ChromeService to save path as a service, but os.path.expanduser function does not recognize the format
I'm trying to scrape a real estate website, but I'm getting an error early in the process.
Here's the problematic code:
chromedriver = webdriver.ChromeService(executable_path=r"D:/My Download/...
0
votes
1
answer
471
views
Selenium WebDriver: "Session not created - Chrome not reachable" when using a copied Chrome profile
I am trying to automate Chrome using Selenium by creating a new Chrome profile, copying the contents of the Default profile, and launching it with Selenium to retrieve cookies. However, I keep ...
0
votes
0
answers
42
views
Selenium ChromeDriver freezes in the constructor on an Async operation
I'm using this code to create a new instance of Selenium ChromeDriver in C#:
internal static IWebDriver createMyDriver()
{
var opt = new ChromeOptions();
var userProfile = Environment....
0
votes
0
answers
67
views
Cache access denied error when chrome driver is used to reach a portal behind a proxy server
I have services running on docker containers:
-Python-Behave
-Selenium
-Chrome driver
I am trying to run the python container with a proxy. There is some problem when i try to reach the URL over the ...
1
vote
3
answers
230
views
Selenium webdriver stop after open Chrome window with existing profile
Selenium webdriver stop after open Chrome window with existing profile.
After last Chrome update, i have problem with my code. Driver updated too.
driver = webdriver.Chrome(executable_path='C:\...
1
vote
1
answer
90
views
Selenium doesn't open website with provided url (url is valid)
I try to open whois EURID website with no luck. Selenium opens browser (tried with Chrome and FF), but when I try to open particular URL (http://whois.eurid.eu/):
nothing opens, I got blank page only.
...
1
vote
1
answer
66
views
C# Selenium "window.angular is undefined" when waiting for elements to be displayed
I have a C# automation framework with Selenium, Webdriver and XUnit.
I have the following issue on my app, but I will give you an example using StackOverflow page, as I get the same issue.
I have a ...
0
votes
0
answers
80
views
Error When Rotating Proxy Selenium Webdriver Message: invalid argument: unrecognized capability: acceptSslCerts Stacktrace: GetHandleVerifier
Please help me to solve this error. I want to scraping using selenium webdriver and rotating proxy, but i don't know what is the correct configuration to seting proxy and got this error. How to do ...
0
votes
3
answers
118
views
Starting automated tests with Edge Driver
I already got the tests running with chrome, but now we need to test also with MS Edge.
I have downloaded the correct Edge WebDriver (version-vise) and got it up and running with the selenium ...
0
votes
0
answers
105
views
How does one include TypeScript types for WebDriverIO
I have followed the instructions for configurating WebDriverIO (and Mocha) for a TypeScript. Specifically to: install tsx;
$ npm install tsx --save-dev
and include the following in tsconfig.ts;
{
...
0
votes
0
answers
70
views
Selenide - problem with working in offline mode
In my project we are using Selenide framework in the vm where there is no access to normal internet network. The problem is that selenide always tries reach the https://googlechromelabs.github.io/ and ...
0
votes
1
answer
42
views
Selenium Webdriver cannot input text into field by XPATH in TinyMCE
I have followed the instructions, but my script isn't working:
# Wait for the iframe to be present
print("a")
result_frame = WebDriverWait(driver, 10).until(
EC....
1
vote
1
answer
268
views
Problem using python with selenium and getting error: net::ERR_HTTP2_PROTOCOL_ERROR
I had a MacBook and I was running a code in Python. I never had any problems with its execution.
Last month, I bought a new MacBook "MacBook Air (M3)" and ran the same code.
On the new ...
0
votes
0
answers
112
views
How can i run selenium on cloud server properly
I'm using selenium on streamlit cloud server and for that i have issues related to chrome, chrome driver, their versioning. There are other threads about this issue but none is solving my problem.
I'm ...
0
votes
1
answer
256
views
How to use socks5 proxy login and password selenium
I would like to connect via selenium to socks5 proxy but it does not want to accept login and password please help me please in solving this problem.
My code:
System.setProperty("webdriver....
0
votes
1
answer
192
views
WebDriverError: session not created: 'DevToolsActivePort file doesn't exist' since upgrade from chrome v127 to v128 (or higher) in docker environment
I'm trying to run webdriver.io tests in a docker container against a recent chrome version.
When using a docker image with chrome 127, my tests run fine. After upgrading chrome to v128 or later, I get ...
0
votes
1
answer
104
views
Logging Selenium webdriver configuration at runtime
We have some Selenium tests (defined as part of a .NET test project) that work fine when running locally but don't when run from an Azure DevOps pipeline. We currently suspect that something is ...
1
vote
1
answer
295
views
Webdriver BiDi listeners, getting bodies of request and response
Hi I am trying to replace devtools with BiDi in my project. Can I get request and response bodies from BeforeRequestSent and ResponseDetails? any form like json or byte sequence or string would be ...
0
votes
1
answer
248
views
Switch context to webview is failed in hybrid mobile application automation using webdriveIO
I am trying setup webview automation for my app which is running in Android and iOS devices as a hybrid application(written in react native0
While running my automation code
I am trying to switch ...
0
votes
1
answer
72
views
How do I automatically scroll to a specific section in the DOM using Selenium?
I'm trying to use Selenium to scroll to a specific section on a webpage and retrieve the text from that section.
Context:
I’m working with a webpage that disables text highlighting through CSS ...
0
votes
1
answer
96
views
Extracting titles using selenium
I'm trying to scrape recipe titles from a website, Link using Selenium, but I’m encountering an issue where I can only extract some of the titles, while others return empty strings.
I’m using the ...
1
vote
0
answers
47
views
How to move from Yes to No in toggle switch using selenium java
Here I need to move from Yes to No, so please guide me how to locate XPath for toggle switcher, and please refer below html code
WebElement toggleswitch =wait.until(ExpectedConditions....
0
votes
1
answer
129
views
Error using Selenium WebDriver and Capybara in Rails application
I'm using rails 6.1 with ruby 2.6.5 and I’m creating tests for an Active Admin new page, The best way I found to test this new page was by using the gems Capybara, Webdrivers, and Selenium-Webdrivers. ...
1
vote
0
answers
19
views
How to locate the automation's "Emulator Extended Control Xpath"
After using webdriver io for a while, I want to automate some tasks. For example, I want to use the Touch sensor in the Android emulator, but I can't seem to find the xpath or send keys for that. I've ...
1
vote
0
answers
136
views
Laravel/Dusk-Tests: keys() not working (e.g. ARROW_DOWN, ENTER, ..)
I'm kind of new to Laravel and Dusk-Tests and encountering issues with the Laravel\Dusk\Browser keys()-method. It looks like, that the sent commands are ignored by Chrome. This is the code:
$browser-&...
0
votes
1
answer
179
views
How to disable image/video download and How to make CSS disabled in selenium WebDriver of JAVA
I am using Chrome WebDriver latest version of now (Version 129.0.6668.59 (Official Build) (64-bit)).
Chrome Driver version 129.0.6668.58
I want to get a title or head of any URL (Youtube, Instagram, ...
0
votes
1
answer
181
views
JMeter WebDriver Sampler: "Invalid call sequence" error with Groovy script after upgrade to WebDriver 4.13.0.1
I'm using JMeter 5.6.3 with the WebDriver Sampler version 4.13.0.1 and Groovy for scripting. After upgrading to this version, I started encountering the following error:
2024-09-17 19:30:23,748 ERROR ...
0
votes
1
answer
389
views
How Can I Simultaneously Press Ctrl + A While Using Python Selenium?
I am using action chains and lines like the following:
actions.click(elementimclickingon).send_keys(Keys.CONTROL + "A").perform()
I have subsequent actions in the above line before, like ....
1
vote
0
answers
130
views
WebDriver.Print Timeout
I have the following extremely simple example:
driver.Navigate().GoToUrl("https://example.com");
PrintDocument printDocument = driver.Print(new PrintOptions());
File.WriteAllBytes(...
0
votes
0
answers
24
views
Is there a way to wait for a specific network call in Selenium for Python?
I'm trying to use Selenium for Python to open Chrome and visit a webpage and would like to do a waitFor that waits for a particular outbound network request from the page I'm visiting to be completed. ...
1
vote
0
answers
66
views
python click_btn no response
text filled in textbox but click is no response
i am newbie, i try below programme it can help me to fill the text in text box, but it does not click to send out message and return error and try 3 ...
4
votes
3
answers
34k
views
Chrome Version 128.0.6613.85 Web driver issue [duplicate]
I have chrome browser of Version 128.0.6613.85 and i want to download the correct webdriver for it.
I checked the official webdriver website but i can't find the correct version for it. i want the ...
0
votes
0
answers
174
views
Where can I find a list of all available SafariOptions with Selenium?
I am looking for capabilities, preferences, and arguments that I can set with SafariOptions, SafariService, and webdriver.Safari in Selenium.
There are many answers out there regarding ChromeOptions ...
0
votes
0
answers
2k
views
Chromedriver and Chrome version error with puython
The current Chrome version is 127.0.6533.120. The Chromedriver version is 127.0.6533.119, which was automatically downloaded with the command:
service = Service(executable_path=ChromeDriverManager()....
0
votes
1
answer
39
views
Python just dies out without opening firefox
so im trying to translate a website with selenium and firefox profiles, this is my code:
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
#Firefox driver settings
...
0
votes
0
answers
47
views
Exception in thread "main" java.lang.NoClassDefFoundError in Eclipse
Exception in thread "main" java.lang.NoClassDefFoundError: dev/failsafe/Policy
at org.seleniumhq.selenium.http/org.openqa.selenium.remote.http.ClientConfig.<clinit>(ClientConfig....
0
votes
1
answer
28
views
Selenium Xpath to select text between span
I am trying to select the HITT element shown below.
<span class="classname"> HITT </span>
So I tied the following Xpath expression:
//span[@class="classname" and text()...
0
votes
1
answer
343
views
Excessive proxy data usage with Selenium and undetected-chromedriver
I'm developing a bot using Python 3.12.4 on Windows 10 64-bit with Selenium and undetected-chromedriver. The bot logs into a website and navigates to a specific page without performing any further ...
0
votes
2
answers
71
views
Python selenium invalid Xpath expression
So I am trying to use selenium Chrome webdriver to select an element based on the Xpath.
browser.find_element('xpath', "div[dyc-date='19990301']").click()
I am getting the following error:
...
1
vote
0
answers
294
views
Error starting the browser: [WinError 193] %1 is not a valid Win32 application | Python Selenium
PROBLEM
Presenting the problem and the solution together:
While developing some Selenium code, I encountered the error [WinError 193] %1 is not a valid Win32 application, which was always related to ...
0
votes
0
answers
100
views
Selenium WebDriver [WinError 10061] error
I'm running Selenium tests using Python and Chrome WebDriver on Windows 10. The setup was working perfectly a couple of days ago, but now I'm getting a ConnectionRefusedError, where it everytime tries ...