Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selenium fields containing a word
#1
Hi Guys,

I was wondering if it is possible using Selenium to interact with a field if it contains a word, for example:

<select id="field_10_month" name="field_10_month"
<select id="field_10_day" name="field_10_day"
<select id="field_10_year" name="field_10_year"

With the fields above if the first one contained the word: month then i would know in the script to select a month, the same idea would go for day and year

Is this even possible with selenium at the minute?

cheers guys

Graham
Reply


Messages In This Thread
Selenium fields containing a word - by graham23s - Jul-23-2019, 07:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Registration Form Fields rwahdan 2 1,930 Aug-09-2022, 10:35 AM
Last Post: Addweb
  [Intermediate] Key Word Scrapper with Python and Selenium MIPython 0 5,795 Dec-21-2017, 03:35 PM
Last Post: MIPython
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,681 Nov-03-2017, 08:41 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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