I'm thinking it's about time I moved my handful of...
# questions
j
I'm thinking it's about time I moved my handful of Grails 5 apps to Grails 6, so I've been looking at the process today. The biggest problem I have, which is kind of a show-stopper which I'm sure lots of other people must have run into, is that I cannot get a new test Grails 6.1.2 application to run at all, which doesn't inspire confidence. Whether created via create-app, or from the Application Forge, any attempt to run or build it hits this error: A problem occurred evaluating root project 'testapp'.
Could not find method iedriverserver() for arguments [3.141.59] on extension 'webdriverBinaries' of type com.github.erdi.gradle.webdriver.WebDriverBinariesPluginExtension
Any idea what this is? To be clear, this is a complete vanilla web app on which I have done nothing, and I imagine it is completely reproduceable to anyone who tries. Just do 'grails create-app testapp' with Grails 6.1.2 and try to run it.
m
The iedriverserver is added when the OS is windows. This should probably be removed from the Cli/Forge as it clearly does not work out of the box. In the mean time, removing it in `build.gradle`will get you past that.
Copy code
webdriverBinaries {
    chromedriver '110.0.5481.77'
    geckodriver '0.32.2'
    //iedriverserver '3.141.59'
    edgedriver '110.0.1587.57'
}
👍 1
j
Thanks, that's helpful. The OS is in fact Windows, but with Git Bash. I'll give it a go.
Did the job!
👍 1
I'm kind of assuming the move to Grails 6 from 5 is a worthwhile one, just to stay up to date. Not really looked into what advantages it brings.
m
167 Views