Selenium-Debugging Error Element is not clickable at point X Y

0 votes

I am trying to scraping a website using Selenium Webdriver. I want to click on "Next Page" buttom, Below is gthr code I used:

 driver.find_element_by_class_name('pagination-r').click()

it works for many pages but not for all, I got this error

WebDriverException: Message: Element is not clickable at point (918, 13). Other element would receive the click: <div class="linkAuchan"></div>

I tried this

driver.implicitly_wait(10)

el = driver.find_element_by_class_name('pagination-r')

action = webdriver.common.action_chains.ActionChains(driver)

action.move_to_element_with_offset(el, 918, 13)

action.click()

action.perform()

but I got the same error

Jul 2, 2018 in Selenium by Martin
• 4,320 points
8,936 views

1 answer to this question.

0 votes

Another element is covering the element you are to click. You could use execute_script() to click on this.

element = driver.find_element_by_class_name('pagination-r')

driver.execute_script("arguments[0].click();", element)

answered Jul 2, 2018 by Samarpit
• 5,910 points
How I can take input from user in arguments instead of indices in above example?
Can you be more clear on your question? It's a bit unclear what you are trying to ask.
You just saved my life <3

Related Questions In Selenium

0 votes
1 answer

What is the actual conflict while performing click() on web element, and getting an error like element is not clickable at point(x,y)?

Hey @sastry, the error Element is not clickable ...READ MORE

answered Nov 27, 2019 in Selenium by Sirajul
• 59,230 points
3,522 views
+1 vote
5 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

answered Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
83,151 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,673 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,142 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,221 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,874 views
+1 vote
2 answers
0 votes
1 answer

Selenium ChromeBrowser get() method is not working

Make sure you are passing a valid ...READ MORE

answered May 25, 2018 in Selenium by Samarpit
• 5,910 points
2,706 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP