How EnumerationWebDriver
Provides the lookup methods for the FindsBy attribute (for using in PageObjects)

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

public enum How
Members

  Member nameValueDescription
Id0 Finds by Id(String)
Name1 Finds by Name(String)
TagName2 Finds by TagName(String)
ClassName3 Finds by ClassName(String)
CssSelector4 Finds by CssSelector(String)
LinkText5 Finds by LinkText(String)
PartialLinkText6 Finds by PartialLinkText(String)
XPath7 Finds by XPath(String)
Custom8 Finds by a custom By implementation.
See Also

Reference