Dear Scraper Community,
I am having difficulties looping over a dropdown menu of a search page that opens the results in a new page. Specifically, I want my scraper to select the dropdown-option 'monday' from the weekday menu (german: 'Montag' option from 'Wochentag' menu) > then click 'Search' > scrape the results (seminar titles). Do the same for Tuesday, Wednesday etc.
URL: Suche nach Veranstaltungen - Leibniz Universität Hannover
Although my wrapper for the dropdown menu successfully selects all weekdays (as visible in the element preview) the Web Scraper ends after scraping the results for monday, without proceeding to tuesday and all other days.
Do you guys have an idea how to fix that?
Many thanks in advance!
Sitemap:
{"_id":"Uni_Hannover_Veranstaltungssuche","startUrl":["Suche nach Veranstaltungen - Leibniz Universität Hannover Wochentag","parentSelectors":["_root"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"select#k_wochentag\.wochentagid option:not(:contains('Alles auswählen'))","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":1000,"discardInitialElements":"discard-when-click-element-exists","multiple":true,"selector":"html"},{"id":"Click Search","parentSelectors":["Select Wochentag"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"input[name='search_start'][tabindex]","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":1000,"discardInitialElements":"do-not-discard","multiple":false,"selector":"html"},{"id":"elements wrapper","parentSelectors":["Select Wochentag"],"type":"SelectorLink","selector":"td a","multiple":true,"linkType":"linkFromHref"},{"id":"Veranstaltungsname","parentSelectors":["elements wrapper"],"type":"SelectorText","selector":"h1","multiple":false,"regex":""}]}