Needing to search first then scrape with URLs that don't change

I am trying to scrape physician details (name, practice type, address) from this website: [https://www.cpsbc.ca/public/registrant-directory]

The website changes to this URL after a search (https://www.cpsbc.ca/public/registrant-directory/search-result) which unfortunately doesn't include any of the search parameters. I can't start scraping from there as I'm required to search from the parent site and enter a value, which I'd like to do by City/Town e.g. Kamloops. I only have 50 or so towns I want to search and scrape physician details for, so if there is a way to direct the URL to the search results for those towns then it would be doable, as I can't seem to find anyway through webscraper to initiate a search through any of the selectors.

Thanks in advance for any tips - I hadn't seen anyone pose this question here. I seem to be able to build the rest of the sitemap based off the data preview when I'm working with search results.