none
I want run my selenium code with Edge browser? for that i downloaded the web driver, then copy and paste the my web driver into my project after that run my code it.s showing error like "This version of MSwebdriver.exe is not compatible with the installed

    Question

  • d version of windows 10"?

    socan u please help me....

    My code is:

    package First;

    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.edge.EdgeDriver;
    import org.openqa.selenium.edge.EdgeOptions;

    public class Demo {


    // TODO Auto-generated method stub
    public static void main(String[] args) throws InterruptedException {
    // TODO Auto-generated method stub
    System.setProperty("webdriver.edge.driver", "C:\\Users\\Ganesh\\Downloads\\MicrosoftWebDriver.exe");
            WebDriver driver = new EdgeDriver();
            Thread.sleep(5000);
            driver.manage ().window().maximize();
            Thread.sleep(5000);
            driver.get("https://www.goair.in/");
            Thread.sleep(5000);

    }

    }

    Friday, September 29, 2017 9:31 AM