Error handling
# crawlee-js
m
Hello error handling behaviour is little unclear for some requests 400 are considered sometime as ok sometime as error even more weird i sometime got empty html (i'm 100% sure that not the produced response)
Copy code
<html><head></head><body></body></html>
? even after adding
Copy code
await waitForSelector('#myID')
how i suppose to deal with that ? thanks
o
Hi, I'll need more context here. Can you share a code snippet?
m
Hi thanks for responding me by using waitForSelector + await page.$eval(id, el => el.innerHTML) is finally do the job 🙂
✅