RE: How to open new tab in chromedriver? The following code is not working for chrome driver. Any other ways


Driver().findElement(By.cssSelector("body")).sendKeys(Keys.CONTROL+"t");

Add Comment
4 Answers

Hey,

I’m facing the same problem i.e. The problem here is even after i switch the control to new tab (driver.switchto().window(“new tab handle”)) , the actions are happening in my old tab.

Do you have any solution for that? Also How we can switch back to old tab in Chrome.

Default Answered on May 25, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.