Consistent Page Close Issue in Playwright Crawler (Crawlee) on Async Locator Operations #2185
Unanswered
wojtekKrol
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm encountering a consistent issue with Playwright in the context of the Crawlee library. Each time I perform an async operation on a locator instance, specifically using
await
, the page unexpectedly closes. This issue happens every single time without fail.The following simplified code snippet showcases where the problem occurs:
Key details:
await
on the locator instance.I am at a loss as to why this is happening. Is this a known issue with Playwright or Crawlee, or is there a mistake in my implementation? Any insights, advice, or shared experiences would be immensely appreciated.
Thank you in advance for any help you can provide!
Those are settings of my my Playwright instance:
Here is a video presenting how it works in my case:
2023-11-17.09-36-57.mp4
If you need any additional information/data just let me know,
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions