createElement method

  1. @override
WebDriverPageLoaderElement createElement(
  1. Finder finder,
  2. List<Filter> filters,
  3. List<Checker> checkers
)
override

Creates a new element, using the current element as the parent context for the newly created element.

Implementation

@override
WebDriverPageLoaderElement createElement(
    Finder finder, List<Filter> filters, List<Checker> checkers) {
  return WebDriverPageLoaderElement(_driver)
    .._finder = finder
    .._filters = filters
    .._checkers = checkers
    .._listeners = _listeners
    .._parentElement = this;
}