mifi / instauto

Instagram bot / automation library written in Javascript for Node.js
797 stars 145 forks source link

Error: No node found for selector: input[name="username"] #151

Open OakandRocks opened 1 year ago

OakandRocks commented 1 year ago

Error: No node found for selector: input[name="username"] at assert (/app/instauto/node_modules/puppeteer/lib/helper.js:270:11) at DOMWorld.type (/app/instauto/node_modules/puppeteer/lib/DOMWorld.js:433:5) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Instauto (/app/instauto/src/index.js:1031:5) at async /app/instauto/example.js:103:22 -- ASYNC -- at Frame. (/app/instauto/node_modules/puppeteer/lib/helper.js:111:15) at Page.type (/app/instauto/node_modules/puppeteer/lib/Page.js:1070:29) at Instauto (/app/instauto/src/index.js:1031:16) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async /app/instauto/example.js:103:22 Closing browser

OakandRocks commented 1 year ago

Triple checked user:pass

OakandRocks commented 1 year ago

Issue also happens when dryrun is true

OakandRocks commented 1 year ago

Running on Debian 10

divyesh-puri commented 9 months ago

@OakandRocks Can you check if user-agent used is of mobile? If thats the case then I think there is a change in text of "Log In" to "Log in" which is causing this issue. In codebase you can try search Login form button and change containsText's text to "Log in"