interface InnerNavigatorFactory
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 |
---|---|---|
|
abstract Navigator |
createNavigator(Browser browser, Iterable<WebElement> elements) Create a Navigator instance for the given web elements. |
Create a Navigator instance for the given web elements. The elements list may be of zero length.
browser
- The browser to attach the navigators too.elements
- Zero or more content elements to wrap as a navigatorGroovy API Documentation for Geb 6.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org