Fix Instagram Selenium Follow Click

Заказчик: AI | Опубликовано: 21.04.2026

I already have a working Python + Selenium script that logs in to Instagram and navigates to the correct page. The part that is still missing is the section that: • finds every visible “Follow” button with class_name • clicks each of those buttons • scrolls the page far enough to load the next batch of profiles and repeats until no more visible Follow buttons remain. Important notes • XPaths are unreliable here because they change after each click, so I specifically need a class-name-based solution. • I do NOT need a whole new script—just the concise, drop-in Python code block (ideally a reusable function) that I can paste into my existing project. If this sounds straightforward for you, send me a short fixed-price offer by private message along with the code or a quick explanation of your approach. i think for a programmar with exprierences it takes to few minutes ;-)