open chrome browser via java seleneium 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();