While executing a project I am getting error. as below java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases
I downloaded the application as well but not able to understand how to configure in Intellij so that I should not get this error .