onFrameNavigate = (frame) => {
              if (frame === page.mainFrame()) {
                page.off('hotSuccess', onHotSuccess);
                clearTimeout(hmrTimeout);
                hmrStatus = 'reloaded';
                resolve();
              }
            }
@param {import('puppeteer').Frame} frame
@returns {void}