Package: geb.navigator

## [Groovy] Interface BasicLocator

- Defines element search operations that are sufficient to be able to implement a Locator on top of.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Navigator` | `find(By bySelector)` Shorthand for `find(null, bySelector, null)`
    `` | `Navigator` | `find(Map<String, Object> attributes, String selector)` Selects elements by both CSS selector and attributes.

- - ### Method Detail

    - #### Navigator find(By bySelector)

      Shorthand for `find(null, bySelector, null)`

      Parameters:
        `bySelector` - a WebDriver By selector
      Returns:
        new Navigator

    - #### Navigator find(Map<String, Object> attributes, String selector)

      Selects elements by both CSS selector and attributes. For example find("input", name: "firstName") will select all input elements with the name "firstName".

      Parameters:
        `selector` - a CSS selector
        `predicates` - a Map with keys representing attributes and values representing required values or patterns
      Returns:
        a new Navigator instance containing the matched elements