I am trying to add a new tab using Webdriver 2.0 in Chrome but couldn't get the result.I have followed few answers provided in different forums.As I am very new to java and the answers available are more specific to Java scripting,I have posted this query to get a simple solution if possible.
E.g : The following statement is not triggering any action but the result in Selenium shows pass. Please advise. driver.findElement(By.tagName("body")).sendKeys(Keys.CONTROL +"t");