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
Members
Member name | Value | Description | |
---|---|---|---|
Id | 0 | Finds by Id(String) | |
Name | 1 | Finds by Name(String) | |
TagName | 2 | Finds by TagName(String) | |
ClassName | 3 | Finds by ClassName(String) | |
CssSelector | 4 | Finds by CssSelector(String) | |
LinkText | 5 | Finds by LinkText(String) | |
PartialLinkText | 6 | Finds by PartialLinkText(String) | |
XPath | 7 | Finds by XPath(String) | |
Custom | 8 | Finds by a custom By implementation. |
See Also