### 🚀 Feature Request There should be an API to test search params of the page, something like: ```ts await expect(page).toHaveSearchParams({ foo: "bar" }); ``` ### Example _No response_ ### Motivation [`toHaveURL`](https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-have-url) is not sufficient for testing search params for multiple reasons: - Params need to be URL escaped - Param order needs to be consistent - The path needs to be known