Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jan 24, 2023 · 3 comments

Comments

@molnaredom
Copy link

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
Copy link
Author

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

@AyaanAhmed25
Copy link

Im facing the same issue

@johndeve26
Copy link

i can help you to fix the bot to click reject all. then it works perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants