System path for gecko driver not working

I have been on your post regarding gecko driver and it’s use in running selenium tests. I have set path of gecko driver in system path but it seems it’s not working as I have to still use System.setproperty() in my code. can you suggest any solution for this.

Default Asked on November 6, 2017 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    because you dont have use setPropriety when you set driver in your system path

    I m just used this:

    webDriver driver = new FirefoxDriver()

    Default Answered on November 9, 2017.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.