How do I open Chrome in Selenium?
Set the “webdriver. chrome. driver” system attribute to the path of your ChromeDriver.exe file and create a ChromeDriver class: setProperty(“webdriver. chrome…”);
Maximize the window for the driver (). window(). maximise();
driver.get(“URL link”) to open the URL https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjvs4naxNL3AhV0T2wGHY80Cl8QFnoECAkQAQ&url=https%3A%2F%2Fwww.javatpoint.com%2Fselenium-webdriver-running-test-on-chrome-browser&usg=AOvVaw0564vVEdOJbcr8YmVrODkI