Interface SearchContextTestEnricher
public interface SearchContextTestEnricher
The test enricher taking account there is
SearchContext linked to the enriched object. Usually the
SearchContext is given by WebDriver or WebElement instance.- Author:
- Juraj Huska, Jan Papousek, Matous Jobanek
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms enrichment on the given object with the givenSearchContext.intReturns the enricher precedence.Object[]Performs resolve for the given method with the givenSearchContext.
-
Method Details
-
enrich
Performs enrichment on the given object with the givenSearchContext.- Parameters:
searchContext- the context which should be used for enrichmenttarget- instance to be enriched
-
resolve
Object[] resolve(org.openqa.selenium.SearchContext searchContext, Method method, Object[] resolvedParams) Performs resolve for the given method with the givenSearchContext.- Parameters:
searchContext- the context which should be used for resolvemethod- method to be resolvedresolvedParams- parameters that has (not) been resolved so far
-
getPrecedence
int getPrecedence()Returns the enricher precedence. Zero precedence is is the lowest one.
-