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.

selenium-webdriver
-1 votes
0 answers
14 views

Python selenium webscraping recaptcha

I want to scrape a website but before that there is a recaptcha and I even got the data using api,and i also injected it into the website as the webpage has no submit button I couldn't submit. the ...
18 votes
7 answers
29k views

Selenium working with Chrome, but not headless Chrome

I've developed a couple of Python scripts using Selenium and, at first, PhantomJS. While heading toward automated downloads, I switched for (headed) Firefox (which worked) and then Chrome with the ...
1 vote
1 answer
32 views

XPath search with text containing soft hyphen

/div[contains(text(),"Inverter")] This is the code that we currently used to map some objects in selenium with xpath. The problem now is, that they introduced soft hyphens now into their ...
0 votes
0 answers
9 views

Getting unwanted not secure web window on trying to perform any action on any web element on current webpage

Screenshot of my code output I tried the below code to navigate to a browser enter url - https://www.opencart.com/index.php?route=cms/demo and perform click action on a web element. But on trying to ...
0 votes
1 answer
14 views

How to exclude only certain child element classes in Selenium's find_elements [closed]

What I want <div class="first second"> <p>get text</p> </div> <div class="first second third"> <p>not get text</p> </div> For ...
-3 votes
0 answers
43 views

Getting an error while trying to test using selenium [closed]

I am following python documentation and terminal is throwing me traceback error, also browser starts and it quits even I don`t have a line for that from selenium import from selenium.webdriver.common....
2 votes
4 answers
8k views

The method until(Function<? super WebDriver,V>) in the type FluentWait is not applicable for the arguments (boolean, ExpectedCondition<WebElement>)

I have been given two conditions based on which the webdriver needs to wait for either of the conditions to fulfill before moving ahead with execution. I am using Explicit wait along with ...
0 votes
0 answers
9 views

How to get value in #shadown-root (close)

want to get the Metamask private key data in a tag wrapped by #shadown-root (close). Help me please I can't access it. Each key in the private keychain is wrapped inside #shadown-root (close). This is ...
0 votes
0 answers
24 views

Facebook log in using selenium on linux server

I've got this project in mind. Part of it is logging in a facebook account. This code works perfectly on my local machine(windows) and local server(ubuntu) but it doesn't work when i run it on an ...
0 votes
0 answers
6 views

Why doesn't pywinauto click on open on this filedialog?

Context: I am creating a simple program which clicks 'browse' on a web browser which opens a Filedialog, enters a file I know exists and clicks open. Problem: Currently the Program opens the ...
0 votes
0 answers
6 views

SeleniumBase example failing Cloudflare Turnstile

I'm encountering an issue with SeleniumBase while trying to automate a form submission that includes a Cloudflare Turnstile CAPTCHA. The script fails with a NoSuchElementException when attempting to ...
0 votes
1 answer
95 views

Getting stuck in trying to web scrape PrizePicks CS2 props

I am trying to web scrape CS2 props from Prizepicks, but it's getting stuck at one piece of code and I don't know how to fix this part. I tried to use the api thing but it's not working too well for ...
0 votes
0 answers
20 views

Trouble Intercepting CAPTCHA Parameters Using Selenium and JavaScript for 2Captcha

I am trying to intercept CAPTCHA parameters from a webpage using Selenium and JavaScript. My goal is to use the 2Captcha service to solve the turnstile CAPTCHA on ahrefs. The issue I'm facing is that ...
-4 votes
1 answer
30 views

Best approach to simulate purchases for stock level information using Python and Selenium [closed]

I'm developing a web scraping service, primarily focusing on the fashion industry. My goal is to provide comprehensive data about products, including their stock levels. To achieve this, I need to ...

15 30 50 per page
1
2 3 4 5
10562