Use https://bonigarcia.dev/webdrivermanager/ to solve these issue, 
otherwise you are probably missing something like `System.setProperty
("webdriver.gecko.driver",'/path/to/driver')`

On Monday, April 4, 2022 at 8:06:41 PM UTC-5 Ben Frey wrote:

> It's been a while since I started up a new Geb project, and I haven't done 
> so on Windows before. I set up my dependencies via Gradle and created a 
> very short Spock test. (code: 
> https://github.com/spartanhooah/YT-music-deleter). However, the driver 
> complains "java.lang.IllegalStateException: The path to the driver 
> executable The path to the driver executable must be set by the 
> webdriver.gecko.driver system property". I tried doing so in the test 
> closure in build.gradle but evidently that isn't the correct way to do it. 
> What am I missing?
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/c72fcba6-3c3b-4e19-8e00-d10b077dd6cen%40googlegroups.com.

Reply via email to