I am new to python just started on python web-scraping. I have to scrape data from this [realtor site](https://example.com)

I need to scrape all the details op **read-state agents** according to their **real-state agency**;
For this **on the web-browser I have to follow the following instructions**

1. Go to [this site](https://www.xample.com/find-agent)
2. click on agency offices button, enter 4000 pin in search box and then submit.
3. then we get list of the **agencies**.
4. go to our team tab and then we get agents their.
5. then we have to go to each **agents page** and record their information.

**Can anyone tell me how to approach this.** Whats the best way to make this type of scrapers.

Do i have to use **selenium** for the interaction with the pages.

I have worked on **request**, **BeautifulSoup** and simple form submit using **mechanize**