class DefaultInnerNavigatorFactory extends Object
Default implementation of InnerNavigatorFactory. Uses NonEmptyNavigator and EmptyNavigator.
| 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 0.11.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org