I am trying to run Webdriver code on Internet explorer but getting error
Started InternetExplorerDriver server (32-bit)
2.53.1.0
Listening on port 21520
Only local connections are allowed
Exception in thread "main" java.lang.NullPointerException
Then I googled my problem and do the following fix :-
`
DesiredCapabilities caps = DesiredCapabilities.internetExplorer();
caps.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);
`
Also, I set IE Zoom to 100% and Set Protection mode to enable. Create Dword BFCACHE using Regedt32.exe but still IE show me same error. Please help. I don't understand what the problem is.