Teste:
package br.com.alura.leilao;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class HelloWorldSelenium {
@Test
public void hello() { //drivers/chromedriver
System.setProperty("webdriver.chrome.driver", "/drivers/chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.navigate().to("http://localhost:8080/leiloes");
//driver.get("http://localhost:8080/leiloes");
driver.quit();
}
}