Selenium drop boxes loop

HI,

I’m trying to use a selenium-based workflow to extract data form this site:
http://www.cbtregisteruk.com/

I am trying to select the geographical search drop-down box, to set up a loop to cycle through each dropdown. However, it doesn’t seem to have a element which can be selected and clicked. Can someone help?

Thanks!

Hi,

Attached is the workflow in which you can loop over all the options in “Geographical Search” list.


selenium search.knwf (42.0 KB)

The top flow extracts all the options and starts the loop over them (Aberdeenshire, Anglesey, Angus, …).
Then the rest of the workflow: Navigates to the main page, then finds the list option, sends the option value, finds search button, clicks, waits for 1 sec, finds the table, extracts the table and ends the loop (with the option “Allow changing table specifications” as some search results are empty and the columns get different headers). At last a column filter and row filter to clean the table.

Best,
Armin

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.