How do I launch the browser using Web Driver?

Solution

For FireFox browser:

WebDriver driver = new FireFoxDriver();

For Chrome Driver:

WebDriver driver = new ChromeDriver();

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media