# Unable to click on object Caused by: element click intercepted Other element would receive the click

**URL:** <https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916>\
**Category:** Miscellaneous\
**Created:** [March 20, 2025, 10:10am UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916 "2025-03-20T10:10:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ygradova](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ygradova/32/30227_2.png) [@ygradova](https://forum.katalon.com/u/ygradova)\
**Post date:** [March 20, 2025, 10:10am UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/1 "2025-03-20T10:10:27Z")

</div>

Please assist. I get the error “element click intercepted” when try to select the value from dropdown. Found related topic with advice to add `WebUI.waitForElementClickable` keyword before the Click action. I added it. And WebUI.waitForElementClickable is successfully passed, but the next step - Click on this element fails with the error above.

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/e/b/ebc74f3a8dd57b46ba727da84323630d1e808247.jpeg)

This’s my HTML

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/8/9/8929ab33d83ffb4a0b8d95cf8a2f383902e7a8a0.jpeg)

And my locator. I tried Custom attributes, position, neighbor and full XPath - nothing works

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/1/7/172489c889b36728808bb66296891e89b0d192b4.jpeg)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [March 20, 2025, 11:36am UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/2 "2025-03-20T11:36:40Z")

</div>

> [@ygradova](#):
>
> Found related topic with advice to add `WebUI.waitForElementClickable` keyword before the Click action.

PLS try using `WebUI.waitForElementVisible` keyword instead of `waitForElementClickable`.

---

<div class="post-metadata">

**Author:** ![ygradova](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ygradova/32/30227_2.png) [@ygradova](https://forum.katalon.com/u/ygradova)\
**Post date:** [March 20, 2025, 2:46pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/3 "2025-03-20T14:46:58Z")

</div>

It doesn’t help. Still the same ‘Wait For Element Visible’ function is passed (says Object is visible). And then “Unable to click on object element not interactable”

I have MacOs 15.3 and Katalon Studio 10.1.0

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [March 20, 2025, 3:10pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/4 "2025-03-20T15:10:18Z")

</div>

Can you try and see if either of the below make a difference?

```auto
import org.openqa.selenium.WebElement as WebElement
import org.openqa.selenium.JavascriptExecutor as JavascriptExecutor
import com.kms.katalon.core.webui.common.WebUiCommonHelper as WebHelper

WebElement element = WebHelper.findWebElement(findTestObject('...'), 10)
WebUI.executeJavaScript("arguments[0].click()", Arrays.asList(element))

```

or

`WebUI.enhancedClick(findTestObject('...'))`

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [March 20, 2025, 8:28pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/5 "2025-03-20T20:28:15Z")

</div>

I played with your situation some and perhaps you can use the below pathway to check on your object and then click on the second one:

```auto
import org.openqa.selenium.WebElement as WebElement
import com.kms.katalon.core.webui.driver.DriverFactory as DriverFactory

WebDriver driver = DriverFactory.getWebDriver();

List<WebElement> listOptions = driver.findElements(By.xpath('//div[starts-with(@id,"rc_select_) and contains(@id,"_list")]/following-sibling::div[1]//div[@class="rc-virtual-list-holder-inner"]/div/div'));

WebUI.verifyMatch(listOptions.get(0).getText(), "Areyeng M Mphahlele", false)
WebUI.verifyMatch(listOptions.get(1).getText(), "ashley muleya", false)
WebUI.verifyMatch(listOptions.get(2).getText(), "dsfds dfds", false)
WebUI.verifyMatch(listOptions.get(3).getText(), "faith Sebothoma", false)
WebUI.verifyMatch(listOptions.get(4).getText(), "Gwen.N Baloyi", false)
WebUI.verifyMatch(listOptions.get(5).getText(), "Hit not man test Test15", false)
WebUI.verifyMatch(listOptions.get(6).getText(), "Hlayisani Mazuze", false)
WebUI.verifyMatch(listOptions.get(7).getText(), "HlayiTest Mazuze", false)
WebUI.verifyMatch(listOptions.get(8).getText(), "holy mary", false)

listOptions.get(1).click();

```

You can check the pathway I use to see if it returns 9 objects, one for each of your items in the list. Hit the F12 key and then choose, “Open Dev-Tools”. Click into the HTML area that should open, and then hit CTRL + F to open the Find textbox. Copy and paste the pathway I used above into the Find box and you should see 1 of 9 to the right of the Find box.

Another thing you should do to ensure you are on the correct object is to use the Dev-Tools selector (the top left icon) or hit CTRL + SHIFT + C and then click on your object. Look on the side scroll bar to see if it **moves** between different areas of your page when you select your object like you did to get the image above and where the Dev-Tools selector indicates.

---

<div class="post-metadata">

**Author:** ![ygradova](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ygradova/32/30227_2.png) [@ygradova](https://forum.katalon.com/u/ygradova)\
**Post date:** [March 21, 2025, 9:40am UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/6 "2025-03-21T09:40:12Z")

</div>

thanks  
I tried this JS click

```auto
def clickUsingJS(TestObject to, int timeout) {
		WebDriver driver = DriverFactory.getWebDriver()
		WebElement element = WebUiCommonHelper.findWebElement(to, timeout)
		JavascriptExecutor executor = ((driver) as JavascriptExecutor)
		executor.executeScript('arguments[0].click()', element)
	}

```

it doesn’t click on the required element, though the test passed successfully (this field isn’t mandatory)

---

<div class="post-metadata">

**Author:** ![gmarichal](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gmarichal/32/28810_2.png) [@gmarichal](https://forum.katalon.com/u/gmarichal)\
**Post date:** [March 21, 2025, 12:33pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/7 "2025-03-21T12:33:23Z")

</div>

Hello there, this is a common challenge in WebUI automation world.

As you can se, the error messages explains that other elemente is receiving the click event. Sometime a presceding element in the HTML take that click and in unable to propagate through the element you expect.

In your case, I can see a similar DIV element that contains the DIV element you want to click, Have you tried to click on that element intead of the nested DIV?

the Xpath locator should be very similar. //div[@title=‘ashley muleya’].

---

<div class="post-metadata">

**Author:** ![ygradova](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ygradova/32/30227_2.png) [@ygradova](https://forum.katalon.com/u/ygradova)\
**Post date:** [March 24, 2025, 3:51pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/8 "2025-03-24T15:51:57Z")

</div>

tried - doesn’t work

---

<div class="post-metadata">

**Author:** ![ygradova](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ygradova/32/30227_2.png) [@ygradova](https://forum.katalon.com/u/ygradova)\
**Post date:** [March 24, 2025, 3:52pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/9 "2025-03-24T15:52:02Z")

</div>

it fails `No signature of method: static org.openqa.selenium.By.XPath() is applicable for argument types: (String) values: [//div[starts-with(@id,"rc_select_) and contains(@id,"_list")]/following-sibling::div[1]//div[@class="rc-virtual-list-holder-inner"]/div/div] Possible solutions: xpath(java.lang.String), name(java.lang.String), with(groovy.lang.Closure), each(groovy.lang.Closure), getAt(java.lang.String), wait()`

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [March 24, 2025, 4:11pm UTC](https://forum.katalon.com/t/unable-to-click-on-object-caused-by-element-click-intercepted-other-element-would-receive-the-click/168916/10 "2025-03-24T16:11:06Z")

</div>

As the pathway is to be a String and since I already use double quotes within it, you need to have a **single** quote at the beginning and another at the end, like:

```auto
driver.findElement(By.xpath('//div[starts-with(@id,"rc_select_") and contains(@id,"_list")]/following-sibling::div[1]//div[@class="rc-virtual-list-holder-inner"]/div/div'))

```
