I am trying to scrape data from a page that only loads certain data based on which options are selected in the drop-down menus at the top. I have tried using element click, but I only seem to able to select different validation states (like select.ng-touched or select.ng-dirty). I want to be able to change the selections in the drop down box, then scrape the data that appears.
Here is an example page: https://stats.nba.com/player/203518/matchups/?Season=2018-19&SeasonType=Regular%20Season
Sitemap: {"_id":"matchup-scraper","startUrl":["https://www.nba.com/#/"],"selectors":[{"id":"stats","type":"SelectorLink","parentSelectors":["_root"],"selector":"li.nba-nav__container--center-menu-item:nth-of-type(7) a","multiple":false,"delay":0},{"id":"players","type":"SelectorLink","parentSelectors":["stats"],"selector":"div.nav-inner__menu-item:nth-of-type(3) a","multiple":false,"delay":0},{"id":"player-index","type":"SelectorLink","parentSelectors":["players"],"selector":"a[title='View Player Index']","multiple":false,"delay":0},{"id":"select-player","type":"SelectorLink","parentSelectors":["player-index"],"selector":".players-list__name a","multiple":true,"delay":0},{"id":"matchups","type":"SelectorLink","parentSelectors":["select-player"],"selector":"a[data-type-beta='matchups']","multiple":false,"delay":0},{"id":"table","type":"SelectorText","parentSelectors":["matchups"],"selector":"td:nth-of-type(n+4)","multiple":true,"regex":"","delay":0},{"id":"touched","type":"SelectorElementClick","parentSelectors":["matchups"],"selector":"select.ng-touched","multiple":false,"delay":0,"clickElementSelector":"select.ng-touched","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"}]}