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

another element <tp-yt-iron-overlay-backdrop class="opened"> obscures it #11

Closed
xiaoxinhuozhu opened this issue Aug 14, 2021 · 1 comment

Comments

@xiaoxinhuozhu
Copy link

I am a newbie.I keep having the following problem, but with the same configuration, my other machine is working fine.
Using python3.8 (3.8.2) Traceback (most recent call last): File "main.py", line 137, in <module> main() File "main.py", line 47, in main upload_file( File "/root/up/YouTubeUploader/src/upload.py", line 33, in upload_file _set_advanced_settings(driver, game, kids) File "/root/up/YouTubeUploader/src/upload.py", line 118, in _set_advanced_settings WebDriverWait(driver, 20).until(EC.element_to_be_clickable( File "/root/.cache/pypoetry/virtualenvs/youtubeuploader-qpcdujY--py3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click self._execute(Command.CLICK_ELEMENT) File "/root/.cache/pypoetry/virtualenvs/youtubeuploader-qpcdujY--py3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute return self._parent.execute(command, params) File "/root/.cache/pypoetry/virtualenvs/youtubeuploader-qpcdujY--py3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/root/.cache/pypoetry/virtualenvs/youtubeuploader-qpcdujY--py3.8/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 <tp-yt-paper-radio-button class="style-scope ytcp-audience-picker" name="NOT_MADE_FOR_KIDS"> is not clickable at point (626,781) because another element <tp-yt-iron-overlay-backdrop class="opened"> obscures it
After checking, I know the problem is here, but I still don't know how to solve it. Could you help me
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, "ytcp-button#create-icon"))).click()

@MorMundHS-MA
Copy link
Member

This is unfortunately the same issue as #8. Google sometimes requires verification, which we cannot automate at the moment.

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

2 participants