Running Selenium Script on Firefox Browser:
Go to google and search for geckodriver.exe download and download geckodriver.exe. Or download the firefox driver.exe file which is geckodriver.exe from the following location.
https://github.com/mozilla/geckodrive...
Download the right version based on the operating system you are using and if windows, 32 bit or 64 bit.
Once you download the driver set the system property for this driver exe file.
Firefox Driver:
System.setProperty(“webdriver.gecko.driver”,”Path to firefox driver”);