playwright_assert_response
Validate HTTP responses in browser automation by asserting expected data in the response body, ensuring accuracy for initiated requests during web interactions.
Instructions
Wait for and validate a previously initiated HTTP response wait operation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | Identifier of the HTTP response initially expected using `Playwright_expect_response`. | |
value | No | Data to expect in the body of the HTTP response. If provided, the assertion will fail if this value is not found in the response body. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Playwright MCP Server
- clear_codegen_session
- end_codegen_session
- get_codegen_session
- playwright_assert_response
- playwright_click
- playwright_click_and_switch_tab
- playwright_close
- playwright_console_logs
- playwright_custom_user_agent
- playwright_delete
- playwright_drag
- playwright_evaluate
- playwright_expect_response
- playwright_fill
- playwright_get
- playwright_get_visible_html
- playwright_get_visible_text
- playwright_go_back
- playwright_go_forward
- playwright_hover
- playwright_iframe_click
- playwright_iframe_fill
- playwright_navigate
- playwright_patch
- playwright_post
- playwright_press_key
- playwright_put
- playwright_save_as_pdf
- playwright_screenshot
- playwright_select
- start_codegen_session