Package: geb.navigator.factory

## [Groovy] Interface NavigatorFactory

- The object that produces Navigator objects. A browser has-a NavigatorFactory, and passes it down to pages/modules etc.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `Navigator` | `createFromNavigators(Iterable<Navigator> navigators)` Create a navigator, backed by the given navigators.
    `Navigator` | `createFromWebElements(Iterable<WebElement> elements)` Create a navigator, backed by the given web elements.
    `Navigator` | `getBase()` The base navigator for this factory.
    `Locator` | `getLocator()` The locator used for all content lookups from this factory.
    `NavigatorFactory` | `relativeTo(Navigator newBase)` Create a new factory, relative to the given navigator.

- - ### Method Detail

    - #### Navigator createFromNavigators(Iterable<Navigator> navigators)

      Create a navigator, backed by the given navigators.

      Returns:
        The created navigator
      Parameters:
        `navigators` - The navigators to back the navigator

    - #### Navigator createFromWebElements(Iterable<WebElement> elements)

      Create a navigator, backed by the given web elements.

      Returns:
        The created navigator
      Parameters:
        `elements` - The web elements to back the navigator.

    - #### Navigator getBase()

      The base navigator for this factory.

      Returns:
        The base navigator for this factory.

    - #### Locator getLocator()

      The locator used for all content lookups from this factory.

      Returns:
        The locator used for all content lookups from this factory.

    - #### NavigatorFactory relativeTo(Navigator newBase)

      Create a new factory, relative to the given navigator.

      Returns:
        The new navigator factory.
      Parameters:
        `newBase` - The base to use for the new navigator factory.