diff --git a/playwrightcapture/capture.py b/playwrightcapture/capture.py index 322a450..2ff39b5 100644 --- a/playwrightcapture/capture.py +++ b/playwrightcapture/capture.py @@ -696,6 +696,7 @@ async def __frame_consent(self, frame: Frame) -> bool: "Accept", "Agree and close", "I agree", + "Agree", # Dutch "Accepteer", # Spanish @@ -1414,6 +1415,8 @@ def _retry_browser_error(self, exception: Error) -> bool: 'Error receiving data: Connection reset by peer', 'Internal SOCKSv5 proxy server error.', 'Host unreachable through SOCKSv5 server.', + # JS stuff + 'TurnstileError: [Cloudflare Turnstile] Error: 300030.', # The browser barfed 'Target page, context or browser has been closed', ]: