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

error: other element would receive the click (search input box) #3

Open
Tylersuard opened this issue Jun 10, 2022 · 1 comment
Open

Comments

@Tylersuard
Copy link

raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (508, 30). Other element would receive the click:

...

@MariyaSha
Copy link
Owner

MariyaSha commented Dec 20, 2022

My apologies for the delay @Tylersuard, I'm so focused on YouTube that I rarely check issues on Github :(
My rule of thumb with those types of errors is - if it doesn't work with Python, it doesn't mean it's not gonna work with Javascript ;)

So try something along these lines:
driver.execute_script("arguments[0].click();", the_element_I_want_to_click_on)
Instead of:
the_element_I_want_to_click_on.click()

You can see an example in this tutorial on mine at minute 33:52
https://youtu.be/aSeqMYNhEHo

I hope it helps! :D

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