Gets a Size object containing the height and width of this element.
Namespace: OpenQA.Selenium.RemoteAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Implements
IWebElement SizeExceptions
Exception | Condition |
---|---|
OpenQA.Selenium StaleElementReferenceException | Thrown when the target element is no longer valid in the document DOM. |
See Also