core library


applyFiltersAndChecks(List<PageLoaderElement> elements, List<Filter> filters, List<Checker> checkers) List<PageLoaderElement>
Functionality shared in multiple PageLoader subclasses. Applies a list of filters and checks to a set of elements.
staleElementWrapper<T>(MethodToRetry<T> method, ClearCacheMethod clear, IsStaleException isStaleException) → T
Retries method if an exception is thrown and isStaleException is true for said exception.


ClearCacheMethod = void Function()
Method for clearing the cache.
IsStaleException = bool Function(Object exception)
Returns true if the exception indicates a stale element was found.
MethodToRetry<T> = T Function()
Method to retry.