class SearchContextBasedBasicLocator extends Object
Constructor and description |
---|
SearchContextBasedBasicLocator
(SearchContext searchContext, NavigatorFactory navigatorFactory) |
SearchContextBasedBasicLocator
(Collection<? extends SearchContext> searchContexts, NavigatorFactory navigatorFactory) |
Type | Name and description |
---|---|
Navigator |
find(By bySelector) |
Navigator |
find(Map<String, Object> attributes, String selector) |
protected Navigator |
findUsingByIfPossible(Map<String, Object> attributes, String selector) |
protected boolean |
hasStringValueForKey(Map<String, Object> attributes, String key) |
protected Navigator |
navigatorFor(Collection<WebElement> contextElements) |
protected String |
optimizeSelector(String selector, Map<String, Object> attributes) Optimizes the selector by translating attributes map into a css attribute selector if possible. |
Groovy API Documentation for Geb 2.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org