-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I regularly get errors like:
[INFO ] 2017-11-17 14:14:59.927 [pool-4-thread-2] QueryWorker - stale element reference: element is not attached to the page document
(Session info: headless chrome=62.0.3202.94)
(Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
do you recognize them? Any ideas how to approach them?
Currently I just restart the thread and try again, eventually I am able to scrape the data off the target website but I have the feeling I use the wrong approach.