Hash-based navigation with puppeteer
问题 I am trying to navigate to the url which contains # in the url which is returning Error: Navigation Timeout Exceeded: 30000ms exceeded it('should go to new link', async function(){ await page.goto('https://example.com/#/abc', {waitUntil: 'networkidle2'}) await page.waitForNavigation() await page.waitFor(15000); }) Original code expects a path to a tag having value as #/abc await page.waitForSelector('a tag selector') await page.click('a tag selector') await page.waitForNavigation() await page