Skip to main content

All Questions

Tagged with
-1 votes
1 answer
156 views

How to locate an element by Xpath/CSS selectors using Playwright

How to locate an element by Xpath/CSS selectors using Playwright TS/JS? There are many locators in Playwright (in comparison to Selenium) such as getByRole and getByText. Is there any locator like ...
I.sh.'s user avatar
  • 1,325
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
-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
29 views

When I'm typing an Xpath or CSS selector in the console why won't matching results appear while typing? Results only appear after pressing Enter

So previously when I was using the Chrome Console to type Xpaths or CSS selectors, any matching results would automatically appear below and would update as I typed. However for some reason now when I'...
hobbes125's user avatar
0 votes
1 answer
45 views

How can I find a relative xpath for buy button

I want to find the xpath of the buy button. I created the paths using copying through chrome but they are not working on everypage of the website where I require them to work. I require a path such ...
kajezevu's user avatar
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
1 vote
1 answer
23 views

How to Extract the Name 'Terence Crawford' from an HTML Segment, Excluding the Span Element?

I am currently facing difficulty retrieving the name 'Terence Crawford' from an HTML segment. The challenge lies in excluding the span element, which is present within the same parent element. <td ...
Muhammad Noman'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
52 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

Problem with obtaining title of a tooltip in selenium webdriver

I am trying to find a way to obtain a title of a tooltip displayed on mouse over event on a page: https://demo.nopcommerce.com/nike-floral-roshe-customized-running-shoes This tooltip appears when ...
fotrenc's user avatar
  • 80
0 votes
1 answer
441 views

Clicking on element with seleniumbase

I'm trying to click in a element with seleniumbase but its not happening as expected I tried following method but its not working for some reason: <code> driver.click('div[class="ovm-...
Marsango's user avatar
0 votes
3 answers
306 views

Java + Selenium - Unable to Click Dropdown(Not a Select dropdown) and Select a Value from the drop down

In JAVA Selenium - I am not able to click the dropdown and select a value from it, this is not a select dropdown. This is a saleforce site. I have seen it working 1 in 10 executions but not getting it ...
Venkatram Ayyer's user avatar
-1 votes
1 answer
181 views

Not able to access Reddit login button which is placed inside several shadow-roots [closed]

On Reddit.com when I click on Log In Button a Dialog Appears to fill the Login Details, but the Log In In Button on the Dialog is Not Accessible through any Locators. When I copy various Locators ...
Suryansh Singh Rajput's user avatar
0 votes
0 answers
30 views

CSS Selectors returns null with Puppeteer & JS

I'm trying to use CSS selectors for classes with dynamic class names and id's. So far, if I'm using XPATH, the code works. If I'm using css selectors in the website console, such as document....
manubmxnsb's user avatar

15 30 50 per page
1
2 3 4 5
146