Gets the ID of the element
Namespace: OpenQA.Selenium.RemoteAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
protected string Id { get; }
Protected ReadOnly Property Id As String
Get
Protected ReadOnly Property Id As String
Get
protected:
property String^ Id {
String^ get ();
}
This property is internal to the WebDriver instance, and is
not intended to be used in your code. The element's ID has no meaning
outside of internal WebDriver usage, so it would be improper to scope
it as public. However, both subclasses of
RemoteWebElement
and the parent driver hosting the element have a need to access the
internal element ID. Therefore, we have two properties returning the
same value, one scoped as internal, the other as protected.