Replies: 2 comments 1 reply
-
BTW, ask another question, i saw some methods like: |
Beta Was this translation helpful? Give feedback.
-
@zw963 you can try play with options for wait_for_idle(connections: 0, duration: 0.05, timeout: @page.browser.timeout)
Sort of, it could be, however, I don't think your case related to memory lack.
Anyway, need to play with the website to see closer and analyze the reasons. It could be fab if you are able to provide more details and the source as well, let's convert it to a discussion and proceed with it. |
Beta Was this translation helpful? Give feedback.
-
I have code like this:
Then load it use:
It works when first time scrap, but, if timeout happen, when goto some_url again,
wait_for_idle
will keep block current network request, utilFerrum::TimeoutError
happen, and raise error like this:But after remove all
browser.network.wait_for_idle
, all works quite well.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions