Skip to content

Add support for request interception #15

@Wigny

Description

@Wigny

Using phoenix_test_playwright, I noticed there is no documented way of mocking requests by the client to external files, like when loading an external image in a page.

This seems to be possible to achieve in the JS library by using the page.fulfill helper.

Therefore, I wonder if we could have similar helpers in this library that would allow us to call some sort of callback to intercept requests, returning our custom responses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions