I faced such issue, I solved these issue by removing both the browser. Please follow the steps below.
1- Remove both the browser from Add Remove program.
2- Delete both browsers folder from AppData-
For Google - C:\Users\youruser\AppData\Local\Google (delete folder name google)
For FireFox - C:\Users\youruser\AppData\Roaming\Mozilla
3- Remove Registory entry for Chrome and FireFox
For Firefox- Computer\HKEY_LocalMachine\Software\WOW64Node\Mozilla (Delete Mozilla key)
For Chrome - Computer\HKEY_LocalMachine\Software\WOW64Node\Google (Delete Google Key)
4- Now change wptdriver.in file and uncomment installer line for Chrome and Firefox.