Skip to content

feat: agentic browsing in lighthouse#1931

Draft
lusayaa wants to merge 4 commits intoChromeDevTools:mainfrom
lusayaa:lighthouse-agentic-browsing
Draft

feat: agentic browsing in lighthouse#1931
lusayaa wants to merge 4 commits intoChromeDevTools:mainfrom
lusayaa:lighthouse-agentic-browsing

Conversation

@lusayaa
Copy link
Copy Markdown

@lusayaa lusayaa commented Apr 22, 2026

Comment thread src/third_party/LIGHTHOUSE_MCP_BUNDLE_THIRD_PARTY_NOTICES
Comment thread src/tools/lighthouse.ts Outdated
@matthiasrohmer
Copy link
Copy Markdown
Collaborator

matthiasrohmer commented Apr 23, 2026

A drive-by nit: this seems to fail when chrome://flags/#enable-webmcp-testing is not Enabled. Could that be? With Antigravity I get Protocol error (WebMCP.enable) if use a out of the box Chrome instance. Might be good to handle this error case, as I assume most people don't have it enabled by default and I am not too sure when it will be.

@OrKoN
Copy link
Copy Markdown
Collaborator

OrKoN commented Apr 23, 2026

Interesting, the test tests/tools/lighthouse.test.ts seems to pass but I guess Lighthouse might be sending WebMCP.enable conditionally.

@lusayaa
Copy link
Copy Markdown
Author

lusayaa commented Apr 23, 2026

Ah I suppose that was kind of on purpose to surface an error with the backend. Does the whole lighthouse run fail for you or just the specific WebMCP audits? @matthiasrohmer

@matthiasrohmer
Copy link
Copy Markdown
Collaborator

Yep the whole run failed, and the agent just stopped. :)

@OrKoN OrKoN force-pushed the lighthouse-agentic-browsing branch from a4cab75 to 4667438 Compare April 27, 2026 12:06
@OrKoN
Copy link
Copy Markdown
Collaborator

OrKoN commented Apr 27, 2026

I am not able to reproduce the error but I do not get a new category in the results (Chrome Canary, launched via build/src/bin/chrome-devtools-mcp.js --channel=canary --chrome-arg='--enable-features=WebMCPTesting,DevToolsWebMCPSupport'):

Screenshot 2026-04-27 at 14 16 52

@OrKoN
Copy link
Copy Markdown
Collaborator

OrKoN commented Apr 27, 2026

I am not able to reproduce the error but I do not get a new category in the results (Chrome Canary, launched via build/src/bin/chrome-devtools-mcp.js --channel=canary --chrome-arg='--enable-features=WebMCPTesting,DevToolsWebMCPSupport'):

Screenshot 2026-04-27 at 14 16 52

I had a stale build somehow.

@OrKoN
Copy link
Copy Markdown
Collaborator

OrKoN commented Apr 27, 2026

Discussed offline: this PR waits for a follow-up Lighthouse update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants