RemoteWebElementSize Property WebDriver
Gets a Size object containing the height and width of this element.

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

public Size Size { get; }

Property Value

Type: Size

Implements

IWebElementSize
Exceptions

ExceptionCondition
StaleElementReferenceExceptionThrown when the target element is no longer valid in the document DOM.
See Also

Reference