I have an electron app which will access website B at startup. 

I could do config in GebConfig.groovy to launch the electron app as below. 
Then after Geb running, it will launch the app first, and seems to 
re-direct to baseURL soon because the page will refresh soon when it starts 
up (currently the baseURL is the same with that in electron app, i.e. 
website B). If I leave baseURL to empty or other website, it will report 
"unhandled inspector error: {"code":-32000,"message":"Cannot navigate to 
invalid URL"}". Just want to ensure we need to use the same baseURL between 
GebConfig.groovy and electron app?

driver = {
   ChromeOptions options = new ChromeOptions()
   options.setBinary("path to electron app")
   DesiredCapabilities capabilities = new DesiredCapabilities()
   capabilities.setCapability(ChromeOptions.CAPABILITY, options)
   new ChromeDriver(capabilities)

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 geb-user+unsubscr...@googlegroups.com.
To post to this group, send email to geb-user@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to