redianmarku / instagram-follower-scraper

A python script that can automatically scrape other people followers on instagram and save them in a txt file.
248 stars 89 forks source link

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element #10

Open HiMark146 opened 2 years ago

HiMark146 commented 2 years ago

Hi, as soon as I launch the bot, I get this error message and can't log in to instagram (the bot gets stuck on the "cookie acceptance" page). Can you help me? This is the error message:

Traceback (most recent call last):
  File "C:\Python\Python310\lib\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "C:\Python\Python310\lib\site-packages\selenium\webdriver\remote\webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "C:\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <button class="sqdOP  L3NKy   y3zKF     " type="submit">...</button> is not clickable at point (292, 439). Other element would receive the click: <div class="_7UhW9   xLCgt      MMzan   KV-D4           uL8Hv         ">...</div>
  (Session info: chrome=101.0.4951.54)
simekdaniel commented 2 years ago

Hey, I was facing the same problem. QUICK AND EASY FIX: You have to be fast and just quickly click on ACCEPT (cookies) and then there was in my caase another pop up to get IG app. I just again fastly clicked on "Not now" and the bot is working.

Hope it will help you...