Defines the interface through which the user controls elements on the page.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.21.0.0 (2.21.0.0)

Syntax

C#
public interface IWebElement : ISearchContext
Visual Basic
Public Interface IWebElement _
	Inherits ISearchContext
Visual C++
public interface class IWebElement : ISearchContext

Remarks

The IWebElement interface represents an HTML element. Generally, all interesting operations to do with interacting with a page will be performed through this interface.

See Also