Trying to scrape table that comes from choosing a selection from a dropdownlist

I am trying to scrape a table depending on a dropdownlist. I have already read https://forum.webscraper.io/t/scraping-text-from-a-drop-down-list/910d
but I can't figure out how to work it out.

The url I am interested in is

https://www.whoscored.com/Regions/252/Tournaments/2/Seasons/7811/Stages/17590/TeamStatistics/England-Premier-League-2019-2020

On the first table, click on "Detailed" card and then appears the desired dropdownlist with Shots as selection. How can I scrape the table for selection "Goals" for example?

Thanks a lot.

1 Like