org.openqa.selenium.WebDriverException: The path to the driver executable must be set by the webdriver.ie.driver system property; for more information, see http://code.google.com/p/selenium/wiki/InternetExplorerDriver. The latest version can be downloaded from http://selenium-release.storage.googleapis.com/index.html

This is due to not setting the webdriver.ie.driver correctly.

Download the ie driver from selenium hq website.

Parse the correct iedriver path with register node -Dwebdriver.ie.driver

C:\Users\Admin\Downloads>java -jar selenium-server-standalone-2.44.0.jar -role w
ebdriver -hub http://localhost:4444/grid/register -Dwebdriver.ie.driver=C:\Users
\Admin\Downloads\IEDriverServer_Win32_2.44.0\IEDriverServer.exe -port 5566

And my code to invoke the driver

DesiredCapabilities capability = DesiredCapabilities.internetExplorer();
capability.setBrowserName("internet explorer");
capability.setPlatform(Platform.WINDOWS);
driver = new RemoteWebDriver(new URL("http://localhost:5566/wd/hub"), capability);

No images available.