CYBERDEVILZ / YoutubeBot

YouTube Bot is a basic python script that tries to increase the number of views on your YouTube video. Sometimes, we struggle to get views even though our contents are great. View counts also contribute to the YouTube algorithm. Hence, this tool might help you in such situation. Remember! Do not overuse as it is completely unethical.
MIT License
160 stars 68 forks source link

selenium.common.exceptions.ElementClickInterceptedException: Message: Element <button class="ytp-play-button ytp-button"> is not clickable at point (59,481) because another element <tp-yt-iron-overlay-backdrop class="opened"> obscures it #41

Open molnaredom opened 1 year ago

molnaredom commented 1 year ago
resolution = 2240.0, 1260.0
img0 size -> 1045, 588
img1 size -> 583, 121
thumbnail size -> 1045, 588
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/home/molnar/YoutubeBot2/Firefox/YouTubeBot.py", line 89, in start
    plybtn.click()
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: Element <button class="ytp-play-button ytp-button"> is not clickable at point (59,481) because another element <tp-yt-iron-overlay-backdrop class="opened"> obscures it

https://www.youtube.com/watch?v=AJEg-d-U2eY

image image

molnaredom commented 1 year ago

Maybe the program does not click on the ACCEPT ALL button?

AyaanAhmed25 commented 7 months ago

Im facing the same issue