How to perform right click using Selenium WebDriver?
package pkg_selenium; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.interactions.Actions; public class DoubleClick { public static WebDriver driver; public static void main(String args[]) throws Exception{ // Initialize WebDriver driver = new FirefoxDriver(); // Wait For Page To Load driver.manage().timeouts().pageLoadTimeout(60,TimeUnit.SECONDS); // Go to google Page driver.get("http://www.google.co.in/"); // Maximize Window driver.manage().window().maximize(); ...