Detecting Navigation with Puppeteer
问题 I'm looking for a "best practice" (besides "don't do that") when using Puppeteer with a page that may (but not always) reload when a radio button is clicked, a select option is selected, etc. The use case is I'm navigating an eCommerce page with options, and some of those options cause the page to reload, some of them don't. I've tried hooking into the on("load") event to try and catch when this happens, and reset my page variable, but I can't get the "timing" correct, and still end up with