RE: Getting Error while loading IE browser

When i try to perform the below script I’m getting error and IE browser is not getting loaded/getting Crashed.

package automationFramework;


public class LaunchingIE {

public static void main(String[] args) throws InterruptedException {
//Path to the folder where you have extracted the IEDriverServer executable
String service = “C:\\Users\\naresh.gande\\ServerIE\\IEDriverServer_x64_2.39.0\\IEDriverServer.exe”;
System.setProperty(“”, service);
InternetExplorerDriver driver = new InternetExplorerDriver();


//Wait for 5 Sec

// Close the driver


Note: If i commented out Thread and quit commands script is running perfect but if add them back IE is crashing.

Naresh G

Add Comment
2 Answers

Try with any other url, say  Before that try launching IE browser manually and accept all default option for the browser, if asked before loading the URL.

Train Answered on May 3, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.