WebDriverActiveElement Method
Returns the element with focus, or BODY if nothing has focus.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebDriver
Dim returnValue As WebElement

returnValue = instance.ActiveElement()

Return Value

Type: WebElement

[Missing <returns> documentation for "M:Selenium.WebDriver.ActiveElement"]

See Also