Questions tagged [findelement]

180 questions
1
vote
1 answer

ElementNotInteractableException when sending keys (email field) Python Selenium

I am trying to login to this website using Selenium: https://openwho.org/sessions/new . However, none of my attempts of sending keys to the email and password fields work. I have tried to find the field using various methods (i.e. XPATH, ID, CSS…
1
vote
2 answers

Grab and Click Button using Selenium Python

There are several size options under 'SELECT SIZE' on this site: https://www.myntra.com/sports-shoes/puma/puma-men-black-eternity-nitro-running-shoes/14521968/buy I have been trying to somehow click one button to choose size of the shoes using…
1
vote
1 answer

Can't click a button in python

Good afternoon everyone, I am new to doing Web Scraping in Python, I would appreciate it if you could help me solve this problem that is occurring to me when clicking on a button (I have been able to do it in others), below is my code: opts =…
1
vote
1 answer

Selenium Driver - finding element with no ID, Name, Xpath, Tag, Class, CSS Selector

I'm working with Python and Selenium, and trying to select a username field to automate login for an application, however, the webdriver's find_element method doesn't want to play nicely with the username field I've found. Below is the object's HTML…
Justin123
  • 57
  • 5
1
vote
2 answers

web scraping RSelenium findElement

I feel this is supposed to be simple but I have been struggled to get it right. I'm trying to extract the Employees number ("2,300,000") from this webpage: https://fortune.com/company/walmart/ I used Chrome's extension SelectorGadget to locate the…
Xian Zhao
  • 81
  • 1
  • 11
1
vote
2 answers

Selenium C#: How to identify element without particular child element

I have following elements on the page: No tickets
..

..

..

There are several the same…
srulom
  • 93
  • 3
1
vote
2 answers

Selenium : Get a div that contains a specific div class inside it

I have a page structure which contains a classname assigned to multiple divs. But there is one specific div that will contain a specific div.class inside it which happens dynamically.
1
vote
1 answer

How can I find all of the descendants with a specific attribute of an web element using ChromeDriver

While trying to figure out how to locate a specific group of web elements, I came across this question and I was wondering if I can do the same action just that it would give me only the descendants elements that contain a specific attribute. For…
1
vote
2 answers

Verify if an element is present in a matrix in ProLog

Good night everyone, I'm in the middle of some busy days trying to deliver a small project for my Logic Programming classes, where the theme is based on operations on matrices. Well, one of those asked operations was to verify if a certain element…
1
vote
1 answer

Cannot find element in selenium python?

I am trying to navigate to a search box and send_keys with selenium python but completely stuck. And here is the source code snippet:
JonR23
  • 11
  • 2
1
vote
3 answers

WebElement.findElement is not finding child element

I am trying to get child element (Card Number) from an html codes where html tags and class names are same. Below is the html code snippet
  • Arjun
    • 321
    • 3
    • 9
    • 20
  • 1
    vote
    2 answers

    Finding value using Xpath (with no unique identifiers) in Python Selenium

    I'm having trouble trying to get the colour of a vehicle in Selenium using Python. I've checked YouTube, stackoverflow and all the usual resources but can't seem to find an answer that makes sense (I'm relatively new to Python and Selenium). I'm…
    Joshua bailey
    • 57
    • 1
    • 7
    1
    vote
    2 answers

    Finding all possible button elements in Selenium python

    I am trying to get all buttons from a website but it seems the Selenium syntax has changed without the docs being updated. I am trying to get the buttons from the website as follows: from selenium import webdriver from…
    geds133
    • 1,503
    • 5
    • 20
    • 52
    1
    vote
    2 answers

    python selenium: unable to locate element, svg-icon button inside shadow-root

    I'm new in selenium and trying to click icon button. I've used find_element_by_xpath, class_name, or by_id but it always returned an error message: Message: no such element: Unable to locate element. I was assuming that it was because of…
    1
    vote
    0 answers

    I can't use xpath in Selenium... Get message: Unable to locate element: {"method":"xpath","selector":"... bla-bla... :)

    I have a little problem, but because im absolutely beginner, i cant find the answers... Could you help me? So, I run a little realtor business, and I would like to scrape the local ads on FB Marketplace. But for some reason, I can't progress, when I…
    1 2
    3
    11 12