(context: PlaywrightPreNavCrawlingContext)
| 786 | |
| 787 | @crawler.pre_navigation_hook |
| 788 | async def pre_hook(context: PlaywrightPreNavCrawlingContext) -> None: |
| 789 | send_request_response = await context.send_request(str(server_url / 'user-agent')) |
| 790 | check_data['pre_send_request'] = dict(json.loads(await send_request_response.read())) |
| 791 | |
| 792 | @crawler.post_navigation_hook |
| 793 | async def post_hook(context: PlaywrightPostNavCrawlingContext) -> None: |
nothing calls this directly
no test coverage detected