Python Forum
Multiple input box in a webpage have same XPATH
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple input box in a webpage have same XPATH
#2
it looks like driver.find_elements_by_xpath('(//*[@id="d_value"])') returns list. Check how many elements it has. In any case, even if it is one element list, you need to get the desired element.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Multiple input box in a webpage have same XPATH - by buran - Jul-18-2018, 01:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  need help with xpath pythonprogrammer 1 2,812 Jan-18-2020, 11:28 PM
Last Post: snippsat
  webpage input module rudolphyaber 2 2,246 Feb-26-2019, 12:13 AM
Last Post: Larz60+
  display multiple sensors on webpage python flask jinja pascale 6 5,363 Jan-29-2019, 10:10 AM
Last Post: pascale
  Scrape Multiple items from a webpage Prince_Bhatia 2 3,385 Sep-12-2017, 06:08 AM
Last Post: Prince_Bhatia

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020