I am not able to run my script in any of the browsers. Below is the error i get for firefox. The location where firefox is installed is correct. Dont know what is wrong.
It seems that Firefox gets installed in the App data folder
Path C:\Users\users\AppData\Local\Mozilla Firefox
So you can set the firefox bin property as below
System.setProperty("webdriver.firefox.bin", "C:\\Users\\*USERNAME*\\AppData\\Local\\Mozilla Firefox\\Firefox.exe");
Adding this resolved the issue for me