Hi folks,
  I'm doing something rather ambitious, upgrading an old test framework 
from Geb 1.1.1 to Geb 6. Most problems have been worked out, but I'm 
hitting my head against the wall with browser cookies. Under Geb 1, the 
behaviour was to quit and relaunch the browser for every test, unless 
resetBrowser() was overridden to do nothing. It was a bit slow, but it was 
effective.

Under Geb 6, the driver is cached and this is causing problems with some 
tests. I've tried numerous techniques to clear cookies but none have 
worked. I tried using "quitDriverOnBrowserReset = true" and ran into this 
issue: https://github.com/geb/issues/issues/657 . I tried the workaround, 
setting "cacheDriver = false" but then ran into my final problem: when the 
browser is quit, it's not respawned for the next test. Instead, I get the 
same error as issue 657 - "Session ID is null. Using WebDriver after 
calling quit()?"

Has anyone else run into this? Is this a bug in Geb 6, or have I brought 
forward code from Geb 1 that is somehow preventing a new driver from being 
spawned? If no one else is facing this issue, I'll keep digging into the 
latter possibility.

-Steve

-- 
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/63099d81-885b-4433-b7d1-570a9a243757n%40googlegroups.com.

Reply via email to