Open Bug 2037070 (firefox-devtools-mcp-bidi-migration) Opened 6 months ago Updated 1 day ago

[meta] Refactor firefox-devtool-mcp to only use WebDriver BiDi

Categories

(Developer Infrastructure :: Firefox MCP, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Depends on 5 open bugs, Blocks 4 open bugs)

Details

(Keywords: meta, Whiteboard: [meta])

At the moment firefox-devtools-mcp relies on selenium which uses both WebDriver Classic and BiDi.

To have a better control over the features available to the MCP it would be beneficial to drop the Selenium layer and directly create a WebDriver BiDi Session.

The main blocker to switch to BiDi 100% is that all commands which work today against privileged contexts in WebDriver Classic will need to have an equivalent in BiDi.

At the moment we can already evaluate scripts against chrome contexts in BiDi but we also need to be able to take screenshots, send actions etc...

I had a branch to switch to BiDi already at https://github.com/juliandescottes/firefox-devtools-mcp/tree/switch-bidi-old but this is based on a much older version of the mcp.

I also had a basic bidi node client at https://github.com/juliandescottes/firefox-bidi-client which was extracted from the MCP.

See Also: → 2054088
See Also: → 2055164
Depends on: 2056470

Let's make this a meta and start filing individual bugs per module / group of tools to migrate.

Summary: Refactor firefox-devtool-mcp to only use WebDriver BiDi → [meta] Refactor firefox-devtool-mcp to only use WebDriver BiDi
Whiteboard: [meta]
Depends on: 1966217
Depends on: 2007067
Depends on: 2071799
Depends on: 2072748
Depends on: 2074460
See Also: → 2074530
Depends on: 2074530
Depends on: 2078656
Depends on: 2080967
Depends on: 2080969
Depends on: 2080970
Depends on: 2073093
Depends on: 2080972
Depends on: 2080973
Depends on: 2080974
Depends on: 2080977
Alias: firefox-devtools-mcp-bidi-migration
Blocks: 2081596
Blocks: 2081622
Blocks: 2081635
Depends on: 2083461
Blocks: 2090154
Depends on: 2095024
You need to log in before you can comment on or make changes to this bug.