WebDriverPageLoaderElement constructor

WebDriverPageLoaderElement(
  1. WebDriver _driver
)

Constructs an element without context. Corresponds to the global context, i.e. the root HTML node.

Implementation

WebDriverPageLoaderElement(this._driver)
    : _utils = WebDriverPageUtils(_driver),
      _cachedElement = null,
      _finder = null,
      _parentElement = null {
  assert(_driver != null);
}