(page: Page)
| 261 | |
| 262 | |
| 263 | def test_sync_set_default_timeout(page: Page) -> None: |
| 264 | page.set_default_timeout(1) |
| 265 | with pytest.raises(TimeoutError) as exc: |
| 266 | page.wait_for_function("false") |
| 267 | assert "Timeout 1ms exceeded." in exc.value.message |
| 268 | |
| 269 | |
| 270 | def test_close_should_reject_all_promises( |
nothing calls this directly
no test coverage detected