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.

Error: You probably have multiple tabs open to the same origin. : ( puppeteer + lighthouse )

See original GitHub issue

Hi,

I understand that the above mentioned issue ( in headline ) is already discussed and resolved here : https://github.com/GoogleChrome/lighthouse/issues/3024 But I am trying to use lighthouse programmatically integrated with puppeteer and here I am encountering this issue Error: You probably have multiple tabs open to the same origin.. Please help me on how can I resolved this issue programmatically.

Thank you

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
patrickhulcecommented, Apr 2, 2019

@ankurgpt6719 the content on the page is never retained with Lighthouse at the moment anyhow, we always reload the page.

Glad you got it working! See #1769 if you have input on not requiring the refresh.

I’ll go ahead and close this for now since you got it working, but feel free to reopen if there’s more to add.

0reactions
ankurgpt6719commented, Apr 2, 2019

@patrickhulce suggested solution is definitely one of the working solution. But this would not meet the case if the data needs to be retained during the LH run ( we lose the content when page is navigated or closed ). Haven’t explored much around the passes in configuration , would this be helpful ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

GoogleChrome/lighthouse - Gitter
I was using nodejs v9.11.1 , then i switched to v8.10.0 however I still get that error, slightly different this time. Error: connect...
Read more >
Protractor-puppeteer-plugin
Protractor-puppeteer plugin, Protractor, Puppeteer, Lighthouse, NodeJS ... Error: 'Error: You probably have multiple tabs open to the same origin.
Read more >
lighthouse - npm
lighthouse -batch-parallel - Run multiple Lighthouse runs in parallel to accelerate the data collecting process, get the result stream (csv, json ...
Read more >
Making Better Use of Lighthouse with Puppeteer
Lighthouse analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices. The metrics you get ...
Read more >
Browser instance get killed while running light house ...
Solution: You need to copy the session token or id from the Puppeteer and pass it on to Google Light House when it...
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