unknown error: Element is not clickable at point (1312, 845)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

unknown error: Element is not clickable at point (1312, 845)

anshul nayak

Hi All,

     Is someone has any solution for below error - 

Chrome driver version - 2.35

Selenium version - 3.0.1


unknown error: Element

<a href="#add-content-location-select-thumbnail" class="btn btn-green-reverse add-content-nav-btn nextButton" id="nextButton5" data-toggle="tab" data-content-dest-sequence="13" data-content-sequence="11" aria-expanded="false">

 

...</a>

 

 

 

is not clickable at point (1312, 845). Other element would receive the click: <div class="modal fade in" id="content-success-message" tabindex="-1" role="dialog" style="display: block;">...</div>

        (Session info: chrome=67.0.3396.99)


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CA%2BMjnvufcU5ptULeHRnKbrNGmfEJvwP-7Eg8O2DkVGLStwukfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: unknown error: Element is not clickable at point (1312, 845)

Kyle McGonagle
Hi Anshul,

Based on that error it look's like your click can't be completed because a "success" modal is obscuring it. Is this a transient modal that will fade out after a few seconds or so?
If it's not you'll need identify whatever button on the modal you can click to dismiss it. If it is transient, try adding a WebDriverWait, using an expected condition of the id of that modal to be invisible.

In Python (my language of choice) it would look something like this, largely similar in other language bindings:

success_modal_locator = (By.ID, "content-success-message")

WebDriverWait(driver, 10).until(expected_conditions.invisibility_of_element_located(success_modal_locator))


There's a chance this won't work 100% of the time... I find in the application I write tests against, I often have to write a WebDriverWait for the modal to appear as well, or else my tests may move on too quickly and this failure can occur in subsequent steps in the test.

Let us know how it goes!
Kyle

On Thursday, July 5, 2018 at 8:47:48 AM UTC-4, anshul nayak wrote:

Hi All,

     Is someone has any solution for below error - 

Chrome driver version - 2.35

Selenium version - 3.0.1


unknown error: Element

<a href="#add-content-location-select-thumbnail" class="btn btn-green-reverse add-content-nav-btn nextButton" id="nextButton5" data-toggle="tab" data-content-dest-sequence="13" data-content-sequence="11" aria-expanded="false">

 

...</a>

 

 

 

is not clickable at point (1312, 845). Other element would receive the click: <div class="modal fade in" id="content-success-message" tabindex="-1" role="dialog" style="display: block;">...</div>

        (Session info: chrome=67.0.3396.99)


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f48505df-58f9-4f33-9ef0-08d6a3ac92be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: unknown error: Element is not clickable at point (1312, 845)

srikanth samala
In reply to this post by anshul nayak
Hi,


Element is not clickable use java script click definitely it will work


Thanks 
Srikanth 

On Thu 5 Jul, 2018, 6:17 PM anshul nayak, <[hidden email]> wrote:

Hi All,

     Is someone has any solution for below error - 

Chrome driver version - 2.35

Selenium version - 3.0.1


unknown error: Element

<a href="#add-content-location-select-thumbnail" class="btn btn-green-reverse add-content-nav-btn nextButton" id="nextButton5" data-toggle="tab" data-content-dest-sequence="13" data-content-sequence="11" aria-expanded="false">

 

...</a>

 

 

 

is not clickable at point (1312, 845). Other element would receive the click: <div class="modal fade in" id="content-success-message" tabindex="-1" role="dialog" style="display: block;">...</div>

        (Session info: chrome=67.0.3396.99)


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CA%2BMjnvufcU5ptULeHRnKbrNGmfEJvwP-7Eg8O2DkVGLStwukfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALpnBFSDUc8SuNf87vm8PmHKuj7pddbb0aE2LDsNpFWX8F%3DY2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: unknown error: Element is not clickable at point (1312, 845)

total QA
Hi,

If Element is not clickable then find out the parent of the element and perform click operation on it. It will work.


Regards.
total-qa.com

On Friday, July 6, 2018 at 10:22:19 AM UTC+5:30, srikanth samala wrote:
Hi,


Element is not clickable use java script click definitely it will work


Thanks 
Srikanth 

On Thu 5 Jul, 2018, 6:17 PM anshul nayak, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="2dodEkqAAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">anshul...@...> wrote:

Hi All,

     Is someone has any solution for below error - 

Chrome driver version - 2.35

Selenium version - 3.0.1


unknown error: Element

<a href="#add-content-location-select-thumbnail" class="btn btn-green-reverse add-content-nav-btn nextButton" id="nextButton5" data-toggle="tab" data-content-dest-sequence="13" data-content-sequence="11" aria-expanded="false">

 

...</a>

 

 

 

is not clickable at point (1312, 845). Other element would receive the click: <div class="modal fade in" id="content-success-message" tabindex="-1" role="dialog" style="display: block;">...</div>

        (Session info: chrome=67.0.3396.99)


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="2dodEkqAAQAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="2dodEkqAAQAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/CA%2BMjnvufcU5ptULeHRnKbrNGmfEJvwP-7Eg8O2DkVGLStwukfw%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/CA%2BMjnvufcU5ptULeHRnKbrNGmfEJvwP-7Eg8O2DkVGLStwukfw%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/CA%2BMjnvufcU5ptULeHRnKbrNGmfEJvwP-7Eg8O2DkVGLStwukfw%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/CA%2BMjnvufcU5ptULeHRnKbrNGmfEJvwP-7Eg8O2DkVGLStwukfw%40mail.gmail.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b08bbcf4-1227-4eeb-91c2-081acff34112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.