class DefaultInnerNavigatorFactory extends Object
Default implementation of InnerNavigatorFactory. Uses NonEmptyNavigator and EmptyNavigator.
| Type Params | Return Type | Name and description |
|---|---|---|
|
Navigator |
createNavigator(Browser browser, List<WebElement> elements)If {@code elements ! |
If elements != null && elements.size() > 0 a is returned, otherwise {@link EmptyNavigator.
browser - The browse to associate with the navigatorelements - The elements to back the navigatorGroovy API Documentation for Geb 2.3.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org