Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

-2 votes
1 answer
49 views

Is this a Selenium oddity?

The following piece of code runs without error: from selenium import webdriver from selenium.webdriver import ChromeOptions from selenium.webdriver.support.ui import WebDriverWait from selenium....
SIGHUP's user avatar
  • 25k
0 votes
2 answers
46 views

Selector for a button with no unique ID

I was writing test selectors for selenium in python for a website like Booking.com. For one example I had to automate selecting a button from a list of buttons. The format for the button is as under: &...
Dark Geek's user avatar
0 votes
0 answers
43 views

Need to locate XPath for label element (which is not interactable in UI)

<div class="custom-control custom-checkbox" style="padding-left: 0px; margin-top: -4px !important;" xpath="1"> <input type="checkbox" autocomplete=&...
Naresh p's user avatar
0 votes
0 answers
42 views

How to extract text from a CSS ::before pseudo-element using Selenium in Python?

I am trying to extract the text content from a ::before pseudo-element in an HTML document. I understand that traditional HTML parsers like BeautifulSoup cannot render CSS and thus cannot access ...
Uzair Ahmed.'s user avatar
0 votes
1 answer
68 views

In selenium java: cannot switch to modal role="dialog" displayed on page

I am opening the page here: page I am unable to click the cookie dialog! I cannot see an iframe or an alert window, either. I tried getWindowHandles without success. This is my Selenium Test: package ...
Leder's user avatar
  • 362
-1 votes
1 answer
35 views

selenium google extension automation Traceback error

To keep my trust wallet account safe, I constantly log out of my account and I decided to write a python code to quickly log it back in, but when I try to select it with things like xpath or css ...
Yahya Balcı's user avatar
1 vote
0 answers
43 views

using Selenium on R for web scraping of dynamic content

I am quite new on R and am currently trying to do web scrapping on the ISO website. I have trouble using Selenium : it does not seem to be compatible with my chrome version, despite me trying to ...
Laura cogez's user avatar
0 votes
1 answer
37 views

Why can't I click on button within a embed element using Selenium C#?

There is an embed element within an iframe element in the page. It contains a pdf viewer and I want to click on the download arrow. <div id="__pdfviewer0" data-sap-ui="__pdfviewer0&...
Noob_Number_1's user avatar
-1 votes
1 answer
60 views

How to select correct path to click item on website using python selenium webdriver in firefox css_selector

I currently try to create a loop to click all links on a website https://www.hatvp.fr/le-repertoire/liste-des-entites-enregistrees/ one after another. I found this part in the html code that could ...
scraper34863's user avatar
0 votes
1 answer
62 views

Wildcard for paths in CSS selector [duplicate]

I want to use CSS selectors to identify elements. For correct identification, I use a combination of path and attribute based selectors. Example: div[attribute='test'] > div > div > div > ...
clel's user avatar
  • 311
0 votes
1 answer
59 views

How to find the find the div data element using Selenium web driver and Python

I need to select "Australia" from this list using Selenium web driver, Python. And I have tried XPath and CSS selector but could not properly locate the element. driver.find_element(By.XPATH,...
Naomi Athukorala's user avatar
0 votes
1 answer
50 views

Can't find element text using XPATH with Selenium

I keep getting the following exception because I cannot find an element. I have tried everything from CSS Selectors to XPATH: selenium.common.exceptions.NoSuchElementException: Message: no such ...
beginner_coder1's user avatar
0 votes
2 answers
80 views

Why selenium can't find element to click using xpath or css selector?

I am trying to click on a ">" on the page here but the chrome XPATH or CSS Selector can't find it. I am trying to navigate through dates and get a table per date. https://theanalyst.com/...
Michael WS's user avatar
  • 2,561
0 votes
0 answers
53 views

I cannot click an Xpath element - Selenium ( v. 4.2 or higher) - Python

I am trying to draw data from a government website related to air quality and other statistical data. I am trying to automate the data retrieval process. However, following the entry into the data ...
Otag's user avatar
  • 143
0 votes
1 answer
55 views

Unable to remove pop-up immediately using selenium in python

I am new to webscraping through Jupyter and want to scrape women's jackets from url only using CSS paths. I am using undetected chromedriver, when I load the url through selenium I get this pop-up ...
Satish M's user avatar

15 30 50 per page
1
2 3 4 5
186