Cypress has spent a few weeks on prepping our firefox automation to cut over from CDP to BiDi. There was some precursor work to do this, such as moving to geckodriver and webdriver in order to have access to a BiDi client on modern automation infrastructure.
Since doing this, we have spiked into cutting over to BiDi, which more details can be seen in the spike issue comment #30351 (comment).
From what I can see, there are a few blockers for us right now from moving over to BiDi from CDP. This is also being tracked on Firefox's side in https://bugzilla.mozilla.org/show_bug.cgi?id=1604723.
Priority issues for Cypress in the Bidi Context is cuirrently captured in Webdriver Bidi Roadmap Planning (Cypress Copy). The Cypress team is currently going through issues to prioritize support that we want/need. Original document is here and will hopefully merge our priorities upstream soon.
Our mapping of CDP/web extension methods to BiDi methods is currently captured in the
Cypress State of Automation document.
The below checklist is representative from the above link to roadmap planning, reflect P2 issues and under (p1 is more severe than p2)
Cypress has spent a few weeks on prepping our firefox automation to cut over from CDP to BiDi. There was some precursor work to do this, such as moving to geckodriver and webdriver in order to have access to a BiDi client on modern automation infrastructure.
Since doing this, we have spiked into cutting over to BiDi, which more details can be seen in the spike issue comment #30351 (comment).
From what I can see, there are a few blockers for us right now from moving over to BiDi from CDP. This is also being tracked on Firefox's side in https://bugzilla.mozilla.org/show_bug.cgi?id=1604723.
Priority issues for Cypress in the Bidi Context is cuirrently captured in Webdriver Bidi Roadmap Planning (Cypress Copy). The Cypress team is currently going through issues to prioritize support that we want/need. Original document is here and will hopefully merge our priorities upstream soon.
Our mapping of CDP/web extension methods to BiDi methods is currently captured in the
Cypress State of Automation document.
The below checklist is representative from the above link to roadmap planning, reflect P2 issues and under (p1 is more severe than p2)
resourceTypetonetworkevents. Issue tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1904892 and mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1604723. This is critical to Cypress to support cookie management, proxy logging, proxy correlation, and thecy.intercept()API. UPDATE: December 13th, 2024 This can now be mapped via theinitiatorTypeadded in Expose initiatorType and destination on network.Request w3c/webdriver-bidi#809 which removes the major blocker for us to move to BiDi. This should be available in Firefox 135.browsingContext.downloadWillBegin, but this doesn't look to be currently supported as a "no event exist" error is thrown. Cypress also would need something likePage.downloadCompletein CDP to fully move this out of our web extension. It looks like this might be fulfilled in webdriver-bidi should let users know when a download is completed w3c/webdriver-bidi#427. We currently work around this in our web extension so it isn't a blocker to base adoption.