I have been trying to open the context menu for my automated test using selenium 2. The things I have tried are:-

```
WebDriver driver = new FirefoxDriver();
Actions actions = new Actions(driver);
//location is = "largeImageF-img"
WebElement webElement = driver.findElement(By.id(location));
actions.contextClick(webElement);

```

Its not opening the context menu.

I tried using 

```
selenium.contextMenu(xpath);
//selenium was instantiated using WebDriverBackedSelenium

```

Any guidance would be appreciated. Thanks