ISeleniumFocus Method WebDriver
Move the focus to the specified element; for example, if the element is an input field, move the cursor to that field.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 3.1.0
Syntax

void Focus(
	string locator
)

Parameters

locator
Type: SystemString
an element locator
See Also

Reference