I’m working on scraping data from the results page of a travel website. Each flight listed on the results page has a button that will open an additional box underneath when clicked that contains the information I need to scrape.
The problem I’m having is that the button I need to click for each individual flight is identical for each flight listed. This is making it very difficult to create a unique selector that will allow me to click each button for every flight on the list.
The link below is an example of the type of page I’m working with. Each flight listed has a down arrow on the right side that can be clicked to reveal more information. How can I automate the clicking of each of these down arrows regardless of how many flights are listed?