WebDriverPageLoaderElement.createFromElement constructor
WebDriverPageLoaderElement.createFromElement(
- 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);
}