(response: Response)
| 323 | |
| 324 | def test_change_response_headers(driver, pages): |
| 325 | def add_header(response: Response): |
| 326 | headers = response.headers.copy() |
| 327 | headers["x-modified"] = "true" |
| 328 | response.set_headers(headers) |
| 329 | |
| 330 | handler_id = driver.network.add_response_handler(["**/formPage.html"], add_header) |
| 331 | try: |
nothing calls this directly
no test coverage detected