Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Actions action = new Actions(driver);
- action.keyDown(Keys.CONTROL).sendKeys(Keys.TAB).build().perform();
- and
- driver.findElement(By.cssSelector("body")).sendKeys(Keys.CONTROL +"t");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement