question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Client-side redirect before 'load' event rejects previous goto()

See original GitHub issue

Am launching a browser and hitting an URL but sometime browser is getting closed and throws below error, this is happening infrequently:

Error: Navigation to https://test.com/ was canceled by another one
    at LifecycleWatcher._onCommittedNewDocumentNavigation (/Users/PlayWright/node_modules/playwright-core/lib/frames.js:856:45)
    at FrameManager.frameCommittedNewDocumentNavigation

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dgozmancommented, Feb 6, 2020

I am able to repro, this is indeed an issue. Thank you, @kblok!

1reaction
kblokcommented, Feb 6, 2020

Check this out @dgozman

(async () => {
  const browser = await playwright.chromium.launch({
    headless: false
  });
  const context = await browser.newContext();
  const page = await context.newPage("https://portal.azure.com/");
  await page.screenshot({ path: `example.png` });
  await browser.close();
})();
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I redirect to another webpage? - javascript
So Use the assign() method if you want to load a new document, andwant to give the option to navigate back to the...
Read more >
Redirections in HTTP - MDN Web Docs - Mozilla
In HTTP, redirection is triggered by a server sending a special redirect response to a request. Redirect responses have status codes that start ......
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users, introduce a simple stability voting system and have a core...
Read more >
Using OAuth 2.0 for Web Server Applications | YouTube Data ...
This document explains how web server applications use Google API Client Libraries or Google OAuth 2.0 endpoints to implement OAuth 2.0 ...
Read more >
Firebase JavaScript SDK Release Notes - Google
Fixed a bug that caused Firebase SDKs to throw an error in Firefox browsers when ... Introduce client-side indexing with beta API setIndexConfiguration()...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found