What is the procedure to begin the IE/Chrome browser?

437    Asked by ChrisDyer in QA Testing , Asked on Jan 18, 2020
Answered by Chris Dyer

On the off chance that you need to begin a program, at that point, simply set the framework properties as referenced beneath.

// For the IE web browser.

System.setProperty("webdriver.ie.driver"," iedriver.exe file path");

WebDriver driver = new InternetExplorerDriver();

// For the Chrome web browser.

System.setProperty("webdriver.chrome.driver","chrome.exe file path");

WebDriver driver = new ChromeDriver();



Your Answer

Interviews

Parent Categories