# Manually able to click button, but Button "not intractable" in script

**URL:** <https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [October 15, 2020, 5:25pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336 "2020-10-15T17:25:19Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 15, 2020, 5:25pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/1 "2020-10-15T17:25:19Z")

</div>

I’m using Katalon in Manual mode for doing my web testing (not great at coding).

I created a script but it won’t click 3 specific buttons stating:  
“Caused by: org.openqa.selenium.ElementNotInteractableException: element not interactable  
(Session info: chrome=86.0.4240.75)”

I have even deleted the script and the items in the object repository. Then I re-added and the items in the object repository and wrote the script from scratch, and it still won’t click on three of the buttons

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [October 15, 2020, 5:31pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/2 "2020-10-15T17:31:18Z")

</div>

Ensure the elements are “ready” - this usually involved waiting until they are present, visible or clickable.

In essence, your test code runs like lightning. The browser… like a snail in comparison.

Start with this one - look to your left in the tree for others:

> **[\[WebUI\] Wait For Element Present](https://docs.katalon.com/katalon-studio/docs/webui-wait-for-element-present.html)**
>
> Description Wait for the given element to present within the given time (in seconds)  Parameters Param Param Type Mandatory Description to TestObject Required Represent a web element. timeOut  int  Required Maximum...

---

<div class="post-metadata">

**Author:** ![plaidshirtakos](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/plaidshirtakos/32/9361_2.png) [@plaidshirtakos](https://forum.katalon.com/u/plaidshirtakos)\
**Post date:** [October 15, 2020, 6:22pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/3 "2020-10-15T18:22:32Z")

</div>

You should check, that you have captured the right element. Check locators of element in your repository.

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 16, 2020, 7:02am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/4 "2020-10-16T07:02:36Z")

</div>

Thanks for the advice,

I do however verify that the specific element is present before the Click step and that passes

 ![Image 21](https://europe1.discourse-cdn.com/katalon/original/2X/2/2222c8a7352d5e603bf1beadba344a857640dcbf.png)

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 16, 2020, 7:02am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/5 "2020-10-16T07:02:38Z")

</div>

Hi,

I took a week to build my repository to ensure that I have everything correctly saved as I wanted to avoid something like this.

Just a note, this program I’m automating has 4 screens that has Help Icons, the 1st Help Icon works as expected, it’s just the other 3 that keep saying “not interactable”

---

<div class="post-metadata">

**Author:** ![anuradha](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/anuradha/32/16103_2.png) [@anuradha](https://forum.katalon.com/u/anuradha)\
**Post date:** [October 16, 2020, 7:12am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/6 "2020-10-16T07:12:15Z")

</div>

Hi @Kayleen you can try to click on them using js.  
Thanks

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [October 16, 2020, 7:17am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/7 "2020-10-16T07:17:49Z")

</div>

@Kayleen

Try to use Wait For Element Clickable, because being present doesn’t mean it’s clickable yet.

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 16, 2020, 7:28am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/8 "2020-10-16T07:28:36Z")

</div>

@ThanhTo

Thank you, I tried this but it still marked the element as not interactable.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [October 16, 2020, 7:29am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/9 "2020-10-16T07:29:55Z")

</div>

@Kayleen

That’s weird. Can you try EnhanceClick to see if it can click the thing.

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 16, 2020, 7:34am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/10 "2020-10-16T07:34:46Z")

</div>

@ThanhTo

Just tried that and it passed (did get a JS error, but that won;t hinder testing.)

THANK YOU

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [October 16, 2020, 12:01pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/11 "2020-10-16T12:01:16Z")

</div>

I predict the cause is “something” is in front of the target. `enchancedClick` has fallen back on using JavaScript which will allow a click to sneak underneath the obstruction.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [October 16, 2020, 12:42pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/12 "2020-10-16T12:42:50Z")

</div>

@Kayleen

Please be aware, you have not solved anything - yet. You merely found a way to move on with your test. Your code now does something no human user can do.

That’s fine if you control all conditions around that particular click. I test like that all the time. But if you are not sure, you should continue to find out what the true cause of the problem is.

If you want to push for a more robust solution, let me know.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [October 16, 2020, 12:58pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/13 "2020-10-16T12:58:02Z")

</div>

@Kayleen

Let me clarify, Selenium click (what the Click Keyword in Katalon does) is designed to mimic a user click as closely as possible, which means that if an element is not interactable, an error will be thrown (and things like that).

On the other hand, Enhance Click falls back on Javascript click, which isn’t designed to mimic a user click, may successfully click on the object, but it doesn’t mean that a user can, which ruins the point of automation.

Was gonna come back to say you should investigate more, but @Russ_Thomas beat me to it.

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 16, 2020, 1:04pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/14 "2020-10-16T13:04:07Z")

</div>

@Russ_Thomas and @ThanhTo

I would like to find out why these 3 are ‘not interactable’ within Katalon. I used to manually test this specific set and there is no issues when clicking on these 3 buttons.

I have informed my development team about this issue, I have not mentioned the work around as I want them to see what they can find on their side first 🙂

Thank you both for all the help so far, it is greatly appreciated

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [October 16, 2020, 4:07pm UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/15 "2020-10-16T16:07:55Z")

</div>

> [@Kayleen](#):
>
> I have informed my development team about this issue, I have not mentioned the work around as I want them to see what they can find on their side first

Ask them…

1. Is there an element (perhaps invisible) that appears above the page while it is loading (or otherwise in a state of transition) that is eventually removed? A prime candidate here is a “spinner” - the image itself might be small, but the surrounding div (or whatever) likely fills the whole screen.

2. Are they using CSS `pointer-events` or similar? If the page css is modified after a server call, that might explain why clicks aren’t getting through until that happens.

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 19, 2020, 6:13am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/16 "2020-10-19T06:13:45Z")

</div>

Morning @anuradha, I tried that as well, but it still gave the "not interactable’ error

---

<div class="post-metadata">

**Author:** ![Kayleen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kayleen/32/14629_2.png) [@Kayleen](https://forum.katalon.com/u/Kayleen)\
**Post date:** [October 19, 2020, 7:06am UTC](https://forum.katalon.com/t/manually-able-to-click-button-but-button-not-intractable-in-script/48336/17 "2020-10-19T07:06:23Z")

</div>

Morning,

Just had a call with the Head Developer, He found that the clicks are “in-line”, he is changing this to be under Event Handler.
