Impossible de trouver un correspondant de capacités avec le sélénium 3.8.1 et gecko pilote 0.19.0

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
//import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class Webdriver {

    public static void main(String[] args) throws InterruptedException {
        //TODO Auto-generated method stub


        System.setProperty("webdriver.gecko.driver", "C:\\Selenium\\geckodriver.exe");
        WebDriver driver = new FirefoxDriver();
        //System.setProperty("webdriver.chrome.driver","C:\\Selenium\\chromedriver.exe");
        //WebDriver driver = new ChromeDriver();

        driver.get("https://maps.mapmyindia.com");

        Thread.sleep(2000);
        driver.findElement(By.id("auto")).sendKeys("TCS");

        Thread.sleep(2000);
        driver.findElement(By.id("auto_geo")).click();

Lorsque j'exécute ce code sur eclipse luna il y a une erreur: Exception in thread "main" org.openqa.le sélénium.SessionNotCreatedException: Impossible de trouver un correspondant de capacités

  • qui version de firefox que vous utilisez
InformationsquelleAutor shivam | 2018-01-05