in Testing by
Q:
How do I launch the browser using WebDriver?

▼ Show 2 Answers

0 votes
by
The following syntax can be used to launch the Browser:

WebDriver driver = new FirefoxDriver();

WebDriver driver = new ChromeDriver();

WebDriver driver = new InternetExplorerDriver();
0 votes
by
The following syntax can be used to launch Browser:

WebDriver driver = new FirefoxDriver();

WebDriver driver = new ChromeDriver();

Web Driver driver = new Internet Explorer Driver();
Learn More with Madanswer

Related questions

0 votes
asked Dec 9, 2019 in Testing by Robindeniel
...