Exception occurs if you instantiate a EdgeDriver Exception occurs if you instantiate a EdgeDriver selenium selenium

Exception occurs if you instantiate a EdgeDriver


My first guess based on experience is that you're running the incorrect version of MicrosoftWebDriver.exe.

The executable is built with Windows but ships separately and takes a hard dependency on being the same build as the OS it's running on.

You can find what build of the OS you're on by following these steps:

  1. Go to Start > Settings > System > About and denote the OS Build.

    The releases so far are:

    • Windows 10 - TH1 - 10240
    • Windows 10 Fall Update - TH2 - 10586
    • Windows 10 Anniversary Update - RS1 - 14393
  2. Next you'll want to visit Micorosoft's WebDriver page and choose the appropriate download: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/