Element not interactable

87 views
Skip to first unread message

Shanthi Kandasamy

unread,
Mar 7, 2020, 10:29:50 AM3/7/20
to seleniu...@googlegroups.com
Hi All,

I'm working on a web table it has functionality like if click on the header, table content will be sorted in a specific way when I try clicking I'm getting element not interactable exception, I tried giving waits and javascript nothing works

Anybody can suggest me something else to try please?

Regards
Dhivya

Kogul S

unread,
Mar 7, 2020, 11:19:10 AM3/7/20
to seleniu...@googlegroups.com
i. try to use different locators i.e XPath, CSS selectors etc.
ii. Use javascript executor click action
iii. use explicit wat, element to be clickable. 


--
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 selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CABwD1humwY%2B25k0fmR78Ps_EGALFARprNttSfSvXfTDuVFresA%40mail.gmail.com.

John Underatker

unread,
Mar 7, 2020, 11:21:24 AM3/7/20
to seleniu...@googlegroups.com
JavaScript click or move to element and then click.
It will resolve your issue

Shanthi Kandasamy

unread,
Mar 9, 2020, 4:50:31 AM3/9/20
to seleniu...@googlegroups.com
I've tried both but not working.. Anything else could be a reason?

Athithya raj

unread,
Mar 9, 2020, 6:12:39 AM3/9/20
to seleniu...@googlegroups.com
The reason could be , you are trying to click on a element which is overlaid by other element. The stacktrace would give info on which element is overlapped as "other element obscures it " . 

Kogul S

unread,
Mar 10, 2020, 12:34:27 AM3/10/20
to seleniu...@googlegroups.com
Before proceeding further.  We would like to see the code.

Kogul S

unread,
Mar 10, 2020, 12:35:54 AM3/10/20
to seleniu...@googlegroups.com
as @john mentioned  JavaScript click or move to element click should work & it should resolve the issue. 

Josh Abrahamsen

unread,
Mar 11, 2020, 11:51:58 PM3/11/20
to Selenium Users
Could also try Element.SendKeys(Keys.Enter) instead of Element.Click()
Reply all
Reply to author
Forward
0 new messages