(self, browser: Browser)
| 313 | |
| 314 | @pytest.mark.skip(reason='Flaky under the CI environment') |
| 315 | def test_http3_works(self, browser: Browser) -> None: |
| 316 | impit = Client(browser=browser, http3=True) |
| 317 | |
| 318 | response = impit.get('https://curl.se', force_http3=True) |
| 319 | assert response.status_code == 200 |
| 320 | assert 'curl' in response.text |
| 321 | assert response.http_version == 'HTTP/3' |
| 322 | |
| 323 | @pytest.mark.parametrize( |
| 324 | ('method'), |