Closed Bug 1853882 Opened 10 months ago Closed 23 days ago

Add support for optional arguments for "network.provideResponse" command in beforeRequestSent phase

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
5

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: whimboo, Assigned: jdescottes)

References

(Blocks 3 open bugs, )

Details

(Whiteboard: [webdriver:m11:blocked], [wptsync upstream])

Attachments

(3 files)

No description provided.
Points: --- → 5
Priority: -- → P2
Whiteboard: [webdriver:m9]
Whiteboard: [webdriver:m9] → [webdriver:m10]
Depends on: 1880477

We should re-evaluate points based that the basic implementation of the feature has been moved out to its own bug.

Points: 5 → ---
Points: --- → 5
Summary: Implement "network.provideResponse" command → Add support for optional arguments for "network.provideResponse" command
Whiteboard: [webdriver:m10] → [webdriver:m11]

May I know what's the latest update on this issue.

I am using selenium-webdriver.

My use case is to mock api response body in an E2E test.

(In reply to ankit90.anand from comment #2)

May I know what's the latest update on this issue.

I am using selenium-webdriver.

My use case is to mock api response body in an E2E test.

Hi, thanks for your interest. We will start the implementation this week. I first need to clarify the blockers for the various scenarios for provideResponse. Fully mocking responses should normally be fine.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Depends on: 1900375
Whiteboard: [webdriver:m11] → [webdriver:m11:blocked]
Summary: Add support for optional arguments for "network.provideResponse" command → Add support for optional arguments for "network.provideResponse" command in beforeRequestSent phase
Blocks: 1901055
Blocks: 1903821
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b3fb1a5bf8a
[bidi] Handle additional arguments for network.provideResponse in network module r=webdriver-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/b19c62fc0bc7
[wdspec] Add tests for provideResponse in beforeRequestSent phase r=webdriver-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/25d7cdb185fa
[puppeteer] Update expectations and implementation for firefox provideResponse r=webdriver-reviewers,alexrudenko,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46921 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m11:blocked] → [webdriver:m11:blocked], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.