object.dblclick() or object.trigger('dblclick') not working on a webelement

15 views
Skip to first unread message

Sikander

unread,
Apr 21, 2017, 6:25:16 PM4/21/17
to webdriver
Hi,

I wanted to double click on a webelement using jQuery.
The following code is not working.
jQuery("#m_domainListControl_m_dataListGrid tr:nth-child(2)").dblclick() OR
jQuery("#m_domainListControl_m_dataListGrid tr:nth-child(2)").trigger('dblclick')

Thanks,
Reply all
Reply to author
Forward
0 new messages