I use Chrome to navigate the page. Once it loads, I can use F12 on Chrome and be able to select the fields and get their names. In my case, I want to reach id = “gmcrefnumber” field. But I can’t see that in “Find Elements” node in Selenium.
This is what I am trying to do;
Open the website
Start the loop (I need to search multiple numbers)
Put GMC number in GMC reference number field
Get Results (Names, Status, Specialist Register entry date, etc)
Search again (There is a link on top left of the page to go back to search again)
Provide the results in a table format
Once I accomplish above, I am planing to create similar flow for name search this time.
Unfortunately; due to GDPR and company policy, I can’t provide any license numbers here but you may search some common names (James, Eric, etc) and get some license numbers from the website if you need it.
mentioned <input> element is within a <frame>, so you’ll explicitly need to switch to that frame. As this is a common question and I’m feeling lazy currently, I just link to an existing thread which gives the details:
I think one of either “Find Elements” queries was wrong (didn’t have time for a thorough check, so I’m just giving the solution … which is probably not good didactics, bear with me ). I configured them as follows:
(instead of the auto-generated selectors I looked at the DOM structure and used the name attribute as selector). This seems to work for me. Here’s the flow: