RE: I’m automating script using java using selenium webdriver. But i’m getting stuck on switch to new tab and pass url in new tab as well using chrome browser.Can you provide be solution for that.

Add Comment
2 Answers

Hi ,

u need to import the chrome driver and path to use the chrome driver browser.
here are the code of that.
System.setProperty(“webdriver.chrome.driver”, “<path where chromdriver.exe stored.>”);

and then create the instance of chromedriver class.

Train Answered on May 31, 2016.
Add Comment

Your Answer

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