Creates Navigator instances from zero or more WebElement instances. Designed to be the extension point for injecting a custom navigator implementation.
|Type Params||Return Type||Name and description|
Create a Navigator instance for the given web elements.
Create a Navigator instance for the given web elements. The elements list may be null or zero length. Which means that they navigator should represent “no matched content” (a.k.a EmptyNavigator)
browser- The browser to attach the navigators too.
elements- Zero or more content elements to wrap as a navigator
Groovy API Documentation for Geb 2.3 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org