A default locator for elements for use with the PageFactory. This locator
implements no retry logic for elements not being found, nor for elements being stale.
Inheritance Hierarchy
OpenQA.Selenium.Support.PageObjectsDefaultElementLocator
Namespace: OpenQA.Selenium.Support.PageObjects
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax
The DefaultElementLocator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DefaultElementLocator |
Initializes a new instance of the DefaultElementLocator class.
|
Properties
Name | Description | |
---|---|---|
![]() | SearchContext |
Gets the ISearchContext to be used in locating elements.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LocateElement |
Locates an element using the given list of By criteria.
|
![]() | LocateElements |
Locates a list of elements using the given list of By criteria.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
See Also