puppeteer in twitter

MarketingBoi

Newbie
Joined
Aug 13, 2019
Messages
23
Reaction score
1
So i tried a few click-a-button scripts for puppeteer in twitter, automation codes seem to work only in basic websites but in twitter, instagram etc, they dont, idk why, after it logs in i cant get puppeteer to click on a button. The only thing it does successfully is filling in the form and logging in. First i thought its because the Follow element is so deeply nested, but even when i call it correctly, it still doesnt click, does anybody know why is this or has a solution for it?
 
Clicking seems to be broken. The coordinates get messed up. Perhaps only works in headless.
You can log all mouse clicks with this to see what's going on:
monitorEvents(document.body, 'click');

One option is to just trigger the clicks via js.
 
Back
Top