How to stimulate context menu of application instead of Brower's

30 views
Skip to first unread message

Deepika Singh

unread,
Jul 13, 2015, 2:20:12 PM7/13/15
to webd...@googlegroups.com
Hi,

I want to stimulate context menu of Application but using the  context_click of action class, selenium is opening Context menu of Browsers not application. Is there any way to perform the required action.

I am using below command to do so:
driver.action.context_click(driver.find_element(Selector)).perform

Please help if there is any solution.

darrell

unread,
Jul 15, 2015, 12:57:16 AM7/15/15
to webd...@googlegroups.com
The Java bindings allow for right click using sendKeys() rather than using an Action. Maybe there is a second way in the Ruby bindings to send a right click. I did a quit search the keys::KEYS does not have a right click for the sendkeys method but maybe there is something somewhere that will do the same thing and it is just located somewhere other than sendkeys.
Reply all
Reply to author
Forward
0 new messages