Boa tarde!
Segue erro que dá quando tento rodar: java.lang.NoClassDefFoundError: org/openqa/selenium/HasAuthentication
Código: import org.junit.jupiter.api.Test; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver;
public class HelloWorldSelenium {
@Test
public void hello() {
System.setProperty("webdriver.chrome.driver", "drivers/chromedriver");
WebDriver browser = new ChromeDriver();
browser.navigate().to("http://localhost:8080/leiloes");
browser.quit();
}
}