Kendo UI drop down findElement

94 views
Skip to first unread message

tmbekwa756

unread,
Jul 14, 2023, 9:22:44 AM7/14/23
to Selenium Users
Good day Colleagues,

I have been struggling for weeks to find and element on a Kendo drop down list. I keep getting the OpenQA.Selenium.NoSuchElementException: 'no such element: Unable to locate element: - exception.. Please could you help me in this regard. I'm writing automation code with Selenium webdriver in C#

the HTML looks like:

//< span class= "k-state-selected k-in" >


//              < div class= "MenuLink " >
//                < span class= "MenuLinkText" > menu text</ span >


//              </ div >
//            </ span >

Mirko Boruc

unread,
Jul 14, 2023, 10:11:37 AM7/14/23
to seleniu...@googlegroups.com
As far as I remember, we were executing js scripts against Kendo UI dropdowns, when I was working with this. Simply - note DOM structure before selection and after selection and instead od trying to click onto the dropdown - execute js DOM modification in order to mimic user-action dropdown selection.

Br

--
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/fab6e7ed-6f40-4c93-9371-73545f0b1798n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages