how to launch browser using selenium webdriver code example
Example: how to open chrome browser in selenium
I would create chrome driver from webdriver manager by typing
WebDriverManager.chromedriver().setup();
driver = new ChromeDriver();