Automation Question: Download Automation PDF

Tell me how can we launch different browsers in Selenium WebDriver?

Tweet Share WhatsApp

Answer:

We should create an instance of a driver of a particular browser:

WebDriver driver = new FirefoxDriver();

Download Automation PDF Read All 108 Automation Questions
Previous QuestionNext Question
Tell us how could you explain the main difference between WebDriver and RC?Tell us the difference between assert and verify commands?