Skip to content

misc: Connect WebDriver BiDi client to Firefox inside Cypress to replace CDP / Classic WebDriver #30220

@AtofStryker

Description

@AtofStryker

What would you like?

With the implementation of #30219 finished, I would like to connect the newly written BiDi client to Firefox to replace CDP and Classic Webdriver for Firefox versions 130 and up.

Why is this needed?

CDP is planned on being removed from Firefox at the end of 2024. Moving forward, WebDriver BiDi needs to be the automation client Firefox uses.

Other

This should look something like a new BiDiAutomation class being used to wire the prerequest behavior and common behaviors ( in grey) outlined in the State of Automation spreadsheet.

This ticket does NOT include work to port over methods from the @packages/extension and only should contain relevant prerequest / service worker implementations for Firefox that are currently handled by CDP. The extension replacement work is captured in #30221

We also need to gate this behavior behind some type of configuration option that allows users to turn BiDi on or off to override the default of enabling Bidi for Firefox 130+. This can be an escape hatch if there are issues with our implementation until we can release a fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions