Windmill getPageText function never ends

139 Views Asked by At

Some days ago I started a project where I need to create a web scraper. An user suggested me to try Windmill.

Everything is fine but I have a problem: when I call to getPageText() function it sometimes hungs and never ends. I have tried some possible solutions but without success. Besides, I haven't found any information about this problem so I don't know how to proceed.

Any idea?

1

There are 1 best solutions below

0
hectorpal On

Try one of these:

client.waits.sleep(milliseconds=12000)
client.waits.forPageLoad(timeout='60000')