WebDriverPageLoaderElement.createFromElement constructor

WebDriverPageLoaderElement.createFromElement(
  1. WebElement element
)

Constructs an element from a WebElement.

Implementation

WebDriverPageLoaderElement.createFromElement(sync_wd.WebElement element)
    : _driver = element.driver {
  _utils = WebDriverPageUtils(_driver);
  _parentElement = null;
  _cachedElement = element;
  _finder = WebElementFinder(element);
}