Using Puppeteer, I'm trying to navigate to a new page for different sets of query parameters. Puppeteer updates the URL's query parameters, but doesn't navigate to a new page. This seems to be the expected behavior, since it takes pressing enter twice to go to a new page in my browser when testing manually.
Here's the line of code:
await page.goto(`https://www.google.com/get/sunroof/building/${lat}/${lng}/#?f=${type}&b=${amount}`);
Changing lat and lng goes to new pages... type and amount does not.
Bonus: An alternative to navigating to a new page might be be to call the function(s) on the webpage that handle the query parameter data. They're bound to buttons and a dropdown on the page... the parameters appear in the URL when the buttons and dropdown are clicked.
The app is Angular version 1.6.4. I'm not sure whether this is possible... but would be awesome if it was!