Skip to main content

Questions tagged [selenium-webdriver]

Selenium WebDriver provides the WebDriver API for controlling browsers in different programming languages ("language bindings"). When using this tag, also add a tag for the programming language you are using.

1 vote
0 answers
21 views

What option I can set for network request blocking in Safari using Selenium?

There is an option that I can set to avoid requests from specific url in Selenium (Java) for Chrome browser ChromeOptions options = new ChromeOptions(); options.addArguments("--host-resolver-...
Dzmitry Kamarou's user avatar
1 vote
0 answers
55 views

ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)

I am trying to install Selinium and this is the error that I am getting, not sure what I m doing wrong here, I am running Windows 11 By the way I am using this on the Admin of Command Prompt< I ...
Owais Ahmed's user avatar
0 votes
0 answers
23 views

Sign in - Google accounts (choose a account) - Cant seem to be able to click the account (python selenium)

Its the page where you choose which account to login with on a website. I have a hard time clicking the account element. I have no idea if im writing the wrong path or it has something to do with a ...
Kaka's user avatar
  • 1
0 votes
0 answers
16 views

pyshadow and selenium says that button on site is inactive

pyshadow went threw all shadow roots on reddits post site to the selector #device-upload-button but it cant click on it. Error is Element with CSS #device-upload-button is not present on screen i ...
Y. Y's user avatar
  • 1
0 votes
0 answers
12 views

Can we select specific scenarios to run in cucumber tests?

I want to choose which scenarios to run using testNG.xml file, like I need to add certain scenarios in specific suit and decide which suite to run; for example I need to make a regression suit that ...
Mohammed Abdelmaksoud MiddleEa's user avatar
-1 votes
0 answers
18 views

How to run selenium or similar tool in a VPS without any pre-installed browser using JAVA?

I have a java project which uses selenium to get cookies after the user gets authenticated in frontend: public class SeleniumAuthenticator { private WebDriver driver; public ...
Davi Américo's user avatar
0 votes
0 answers
14 views

Appium: Android: Unable to Scroll towards the selected accessibility id

Using: driver.findElement(new AppiumBy.ByAndroidUIAutomator("new UiScrollable(new UiSelector().scrollable(true)).scrollIntoView(text(\"See More\"));")); and Getting and Error:  ...
Monkey's user avatar
  • 1
0 votes
0 answers
31 views

Using schedule with Python & Selenium

I have a web automation script created with python and selenium. I intend to have the script executed by task scheduler ahead of time (maybe a few seconds before) and have web driver wait until ...
Aaron's user avatar
  • 57
0 votes
0 answers
10 views

Running selenium or appium tests through browsermob proxy to capture network data with PAC system proxy settings

I am using hybrid automation framework using selenium/appium/rest assured etc, where we follow below steps: launch the chrome browser -> listen to network calls -> get a particular field value ...
user26404417's user avatar
0 votes
0 answers
17 views

Is there any way to handle Change Your Password prompt in Google Chrome using Selenium?

I am trying to automate an e-commerce website using Selenium-Java in Google Chrome where I do the login using username and password. Once the authentication is successful, the homepage opens. This ...
Sayan's user avatar
  • 1
0 votes
1 answer
19 views

Trying to scavanage data using Selenium but save button isn't working

I am trying to save the booth addresses using Selenium for machine learning algorithms, but the save button is not getting clicked: I tried all types of selectors, different methods, JavaScript, and ...
Anurag Sinha's user avatar
0 votes
0 answers
21 views

Selenium XPATH for Google general search - how to improve results

I wrote a Python program to run a Google search for each company name in an Excel sheet. However, I get a lot more search results when manually searching the company names up on google. I suspect it's ...
evenevaa's user avatar
1 vote
1 answer
28 views

How to follow user on X?

My code: def follow_user(username): driver.get(f"https://x.com/{username}") time.sleep(2) follow = EC.element_to_be_clickable((By.XPATH, '//span[text()="Follow"]')) ...
Piotr Misiuda's user avatar
-1 votes
1 answer
25 views

Trying to get data from a website with locator and captcha

I am trying to gather data from this website: https://locator.infusioncenter.org/ for a personal project of mine. I would like to gather a file containing all the locations that show up on the locator....
Tim's user avatar
  • 1
1 vote
0 answers
32 views

Select item inside a react-select dropdown list in Selenium with Java

I have this element, where it has this: aria-activedescendant="react-select-2--option-3" and when I click the menu dropdown shows 4 options (option-0, option-1, option-2, and the one I need ...
Andrea Gonzalez's user avatar

15 30 50 per page