Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI flag to choose whether to open a new lighthouse page or not #16260

Closed
Shivam93937 opened this issue Nov 25, 2024 · 1 comment
Closed

CLI flag to choose whether to open a new lighthouse page or not #16260

Shivam93937 opened this issue Nov 25, 2024 · 1 comment

Comments

@Shivam93937
Copy link

Feature request summary

A CLI flag (something like --reuse-page) to re-use the existing page that was running on the browser that puppeteer connects to.
The page can be selected from await lhBrowser.pages().

Yes I am willing to work on this myself.

What is the motivation or use case for changing this?
It will help run lighthouse programmatically inside applications like CEF and Electron where opening a new page (by default) causes a failure when connecting to it through remote debugging port.

How is this beneficial to Lighthouse?
It will widen the audience to which lighthouse can be used and increase the tool's users.

Mentioned the changes in the screenshot:
lh module changes

@adamraine
Copy link
Member

adamraine commented Nov 25, 2024

Closing as duplicate of #16259

@adamraine adamraine closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
@GoogleChrome GoogleChrome locked as resolved and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants