title: How to open a link in the adjacent window or tab using actions class (Context click on element->sendkeys ArrowDown ->sendkeys Enter)
body: <p>I want to open a link of an application in a new window. Using actions class is opening the link in same window i am currently on.</p>
  
  <p>I have tried using Actions class with the below code on both chrome driver and firefox driver with multiple applications but none worked.</p>
  
  <pre><code>System.setProperty("webdriver.gecko.driver", "D:\\MySpace\\AmozonEcomm\\Dependencies\\geckodriverv21.exe");
  WebDriver driver = new FirefoxDriver(); //Creating an instance of Chrome driver
  driver.manage().window().maximize();
  driver.get("http://automate-apps.com/");
  driver.manage().window().maximize();
  driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
  
  Actions action = new Actions(driver);
  action.contextClick(driver.findElement(By.partialLinkText("Selenium Questions"))).sendKeys(Keys.ARROW_DOWN).sendKeys(Keys.ARROW_DOWN).sendKeys(Keys.ENTER).build().perform();
  </code></pre>
  
  <p>My expectation is that the link should get opened in a new window as i am trying to select the "Open link in new window" option after context click. But evrytime the link is getting opened in same window.</p>