How do I store all the data in the table by making sure the next button is clicked and at the same time get data for all the seasons from the dropdown list? I figured out a way to resolve the next button issue, but am still unable to use the drop down list.
thanks.
Url: https://www.premierleague.com/stats/top/players/ontarget_scoring_att
Sitemap:
{"_id":"plstats","startUrl":["https://www.premierleague.com/stats/top/players/ontarget_scoring_att"],"selectors":[{"id":"elements","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"td","multiple":true,"delay":"1000","clickElementSelector":"div.paginationBtn.paginationNextContainer","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueCSSSelector"},{"id":"rank","type":"SelectorText","parentSelectors":["elements"],"selector":"parent","multiple":false,"regex":"","delay":0},{"id":"seasons","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.dropDown.active li:nth-of-type(n+2)","multiple":false,"delay":0,"clickElementSelector":"div.paginationBtn.paginationNextContainer","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueCSSSelector"}]}