-1

At the time of aceess url below error display:

Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\geckodriver\geckodriver.exe

AstroCB
  • 12,337
  • 20
  • 57
  • 73
  • Please read [ask], especially the part about [mcve] (MCVE), and [How much research effort is expected?](https://meta.stackoverflow.com/questions/261592/how-much-research-effort-is-expected-of-stack-overflow-users) This will help you debug your own programs and solve problems for yourself. If you do this and are still stuck you can come back and post your MCVE, what you tried, and the execution result including any error messages so we can better help you. Also provide a link to the page and/or the relevant HTML. – JeffC Jun 29 '17 at 17:34

1 Answers1

0

You need to download geckodriver from the below URL and configure its path in your webdriver. If you could tell us which language you are using, we shall provide you with sample code.

https://github.com/mozilla/geckodriver/releases

You may also download the windows build for your platform(geckodriver.exe) and just copy it to C:\geckodriver which is the default path.

JSN
  • 2,035
  • 13
  • 27
  • I am using Java language – Santosh Bisale Jun 29 '17 at 11:57
  • @SantoshBisale - If you are not using default location then you need to set System property **webdriver.gecko.driver** as shown in this post https://stackoverflow.com/questions/37785686/how-to-use-the-gecko-executable-with-selenium – JSN Jun 29 '17 at 12:00