Support Network.setCacheDisabled command for Firefox #23580
Labels
browser: firefox
E2E
Issue related to end-to-end testing
type: enhancement
Requested enhancement of existing feature
What would you like?
I googled a bit and it looks like that Firefox should also support following workaround for cached requests
Mozilla documentation https://wiki.mozilla.org/WebDriver/RemoteProtocol
provides a list of supported commands
https://docs.google.com/spreadsheets/d/e/2PACX-1vRqKh563C0b0pnJruf85REpviTERnEoNEITEH3v9RvSCpkLzu9vw8c8_PAIgJoUpnUviVHV93u4V8V_/pubhtml?gid=108099026&single=true
and
Network.setCacheDisabled
is listed there as supported (experimental).You can also find commits that added support for this command in the Firefox.
However when trying to run above workaround on Firefox, we get such error
![Screenshot from 2022-08-27 10-09-14](https://user-images.githubusercontent.com/58426925/187021704-727505b1-0900-4541-9554-00927395774a.png)
Issue related to #14459
Why is this needed?
Cypress does not provide a solution for not-working
cy.intercept
when request is cached by a Browser,We are forced to use workaround from issue #14459.
But Cypress did not implement handler (?) for this remote debugger protocol command for Firefox. So we can't use that workaround when running tests on Firefox
Other
No response
The text was updated successfully, but these errors were encountered: