Prezados, boa tarde.
Está sendo apresentada a mensagem: "org.openqa.selenium.WebDriverException: unknown error: net::ERR_SSL_PROTOCOL_ERROR" no momento que executo a aplicação. Estou desconfiando que o problema esteja na classe java "LeilaoApplication" pois a classe "HelloWorldSelenium" está executando até o final e faz a abertura do localhost, porém a aplicação não está sendo iniciada.
Poderiam me ajudar por favor?
Classe LeilaoApplication
package br.com.alura.leilao;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class LeilaoApplication {
//Dspring.profiles.active test;
public static void main(String[] args) {
SpringApplication.run(LeilaoApplication.class, args);
}
}
Classe HelloWorldSelenium
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 () {
System.setProperty("webdriver.chrome.driver", "drivers/chromedriver.exe");
WebDriver browser = new ChromeDriver (); //Interface para abrir navegador.
browser.navigate().to ("https://localhost:8080/"); // abrir o endereço da aplicação.
browser.quit(); // Fechar aplicação.
}
}
Muito obrigado