ILoadableComponent InterfaceWebDriver
Interface allows for the component to be used in Nested Component scenarios such that the child component class does not have to declare the generic type of the parent explicitly.

Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax

public interface ILoadableComponent

The ILoadableComponent type exposes the following members.

Methods

  NameDescription
Public methodLoad
Loads the component.
Top
Examples

public class HypotheticalLoadableComponent : LoadableComponent<T> { ILoadableComponent parent; public HypotheticalLoadableComponent(ILoadableComponent parent) { this.parent = parent; } protected void EvaluateLoadedStatus() { //code to determine loaded state } protected void ExecuteLoad() { parent.Load(); //loads the parent //code to load this component } }
See Also

Reference