The By type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | By |
Initializes a new instance of the By class.
|
![]() | By(Func ISearchContext, IWebElement , Func ISearchContext, ReadOnlyCollection IWebElement ) |
Initializes a new instance of the By class using the given functions to find elements.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | ClassName |
Gets a mechanism to find elements by their CSS class.
|
![]() ![]() | CssSelector |
Gets a mechanism to find elements by their cascading style sheet (CSS) selector.
|
![]() | Equals | (Overrides ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | FindElement |
Finds the first element matching the criteria.
|
![]() | FindElements |
Finds all elements matching the criteria.
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Overrides ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() ![]() | Id |
Gets a mechanism to find elements by their ID.
|
![]() ![]() | LinkText |
Gets a mechanism to find elements by their link text.
|
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() ![]() | Name |
Gets a mechanism to find elements by their name.
|
![]() ![]() | PartialLinkText |
Gets a mechanism to find elements by a partial match on their link text.
|
![]() ![]() | TagName |
Gets a mechanism to find elements by their tag name.
|
![]() | ToString |
Gets a string representation of the finder.
(Overrides ![]() |
![]() ![]() | XPath |
Gets a mechanism to find elements by an XPath query.
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Determines if two By instances are equal.
|
![]() ![]() | Inequality |
Determines if two By instances are unequal.
|
Properties
Name | Description | |
---|---|---|
![]() | Description |
Gets or sets the value of the description for this By class instance.
|
![]() | FindElementMethod |
Gets or sets the method used to find a single element matching specified criteria.
|
![]() | FindElementsMethod |
Gets or sets the method used to find all elements matching specified criteria.
|
See Also