I have a selenium script which i want to run on some other user's machine. I have set 'firefox' as my default browser in the selenium script. Now the user's machine does not have 'firefox' installed on his machine. Is there any code available that can fetch which browser is installed on that user's machine and run the script in that browser?
I want to have 3 browsers in my script like IE, Firefox and Chrome. The script must run on any one browser which is installed on user's machine.
Any help will be appreciated. Thanks