Open selique opened 3 years ago
I'm not sure what's happening here, it seems to only happen sometimes, and I cannot reproduce it.
I added code that takes screenshot when this error occurs. enable it with the option screenshotOnError: true
After taking a screenshot upon the error, I got this. So it seems to be caused by some kind of throttling from instagram's side.
if something happens like that, what I do is delete cookies and restart the service, or is there something else?
i try restart but i think the elements change or id from DOM
Failed to follow user's images solwinkler_ Error: Evaluation failed: Error: Like button section not found at likeCurrentUserImagesPageCode (puppeteer_evaluation_script:38:27) at ExecutionContext._evaluateInternal (/opt/bitnami/projects/instauto/node_modules/puppeteer/lib/cjs/puppeteer/common/Execut ionContext.js:217:19) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async ExecutionContext.evaluate (/opt/bitnami/projects/instauto/node_modules/puppeteer/lib/cjs/puppeteer/common/Execution Context.js:106:16) at async likeCurrentUserImages (/opt/bitnami/projects/instauto/node_modules/instauto/index.js:439:5) at async followUserFollowers (/opt/bitnami/projects/instauto/node_modules/instauto/index.js:509:15) at async Object.followUsersFollowers (/opt/bitnami/projects/instauto/node_modules/instauto/index.js:538:9) at async /opt/bitnami/projects/instauto/example.js:65:5