ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Chrome: I can't do an action in the context menus #1042

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm calling the ContextClick for a link, and the context menu appears and 
disappear very quickly, and in consequence it is not possible to click in any 
the of the context menu items. The context menu is not a html menu, it is the 
browser menu.

This is the code that I'm using:
Dim actBuilder As New Interactions.Actions(docElem)
actBuilder.MoveToElement(link)
actBuilder.ContextClick
actBuilder.SendKeys("k")   'it is to call the save link as menu item
actBuilder.Build.Perform()

I also tried with all the actions in the same line, but it doesn't work.
The same code works fine in IE 11 and FireFox 35.0.1

I'm using the following binaries in Win 7:
C# web driver 2.43.1
Chromedriver 2.13
Chrome version 40.0.2214.115

Original issue reported on code.google.com by cnieva@gmail.com on 25 Feb 2015 at 6:35

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 27 Feb 2015 at 5:17