No context menu when I right click

113 views
Skip to first unread message

Jesse McCann

unread,
Feb 20, 2017, 6:00:18 AM2/20/17
to Selenium Users
Hello,

I'm watching a tutorial for Selenium IDE, and it says that if I right click in Firefox while recording, a Selenium context menu opens with test options (e.g. title assert). However, when I right click, a dropdown appears, but contains no Selenium options (just the normal Firefox ones).

Any idea what's going on?


~Jesse

Paolo Macias

unread,
Feb 22, 2017, 11:17:13 PM2/22/17
to Selenium Users
I have the same exact same issue using firefox 51.0.1 (32-bit) and selenium IDE 2.9.1. It was set to record and still no context menu.

Paolo Macias

unread,
Feb 22, 2017, 11:17:29 PM2/22/17
to Selenium Users
Found a solution, just install this plugin: https://addons.mozilla.org/pl/firefox/addon/flow-control/

Andreas Tolfsen

unread,
Feb 23, 2017, 6:31:07 PM2/23/17
to seleniu...@googlegroups.com
Also sprach Jesse McCann <jessebla...@gmail.com>:

> I'm watching a tutorial for Selenium IDE, and it says that if I right
> click in Firefox while recording, a Selenium context menu opens with
> test options (e.g. title assert). However, when I right click, a
> dropdown appears, but contains no Selenium options (just the normal
> Firefox ones).

Note that WebDriver is not meant to be able to do OS-level interaction.
Since the context menu is an OS-level widget and not part of the web
platform, it is just incidental that FirefoxDriver (which IDE uses for
automation of older Firefoxen) is able to open this menu.

If you need to automate newer Firefoxen, 47 and onwards, you need to
use geckodriver. geckodriver is an implementation of the W3C WebDriver
protocol, which explicitly says that a right click in a document
_should not_ open the context menu, since that is out of scope of
interacting with a web document.

So my advice to you would be to be careful about what you use the
context menu interaction for. You don’t say what you want to achieve
by automating this menu, but I suspect there are platform alternatives
for what you want to achieve.

Pawan Chaudhary

unread,
Apr 12, 2017, 1:38:01 AM4/12/17
to Selenium Users
i am also facing same issue. issue is not getting resolved even after installing flow control plugin.
Reply all
Reply to author
Forward
0 new messages