Add waiting, window closing and page switching options to withNewWindow() #167

geb-bot opened this Issue Jan 23, 2012 · 3 comments


None yet

2 participants

geb-bot commented Jan 23, 2012

Originally created by Marcin Erdmann.

And also throw an own exception when no window has been opened, now it looks like web driver is throwing the exception which is not the case.

geb-bot commented Apr 30, 2012

Originally posted by John Murph.

Just a comment on the page switching options. On the mailing list, Luke suggested this syntax:

withNewWindow({ /* opening action */}, page: SomePage) {}

Also, after the window closure (the body) returns the context should be automatically switched back to the calling context.

geb-bot commented Nov 7, 2012

Originally posted by Marcin Erdmann.

Fixed in geb/geb@5749221

geb-bot commented Nov 7, 2012


@geb-bot geb-bot added the Improvement label Apr 12, 2015
@erdi erdi was assigned by geb-bot Apr 12, 2015
@geb-bot geb-bot added this to the 0.9.0 milestone Apr 12, 2015
@geb-bot geb-bot closed this Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment