RetryingElementLocator ClassWebDriver
A locator for elements for use with the PageFactory that retries locating the element up to a timeout if the element is not found.
Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.Support.PageObjectsRetryingElementLocator

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

public class RetryingElementLocator : IElementLocator

The RetryingElementLocator type exposes the following members.

Constructors

  NameDescription
Public methodRetryingElementLocator(ISearchContext)
Initializes a new instance of the RetryingElementLocator class.
Public methodRetryingElementLocator(ISearchContext, TimeSpan)
Initializes a new instance of the RetryingElementLocator class.
Public methodRetryingElementLocator(ISearchContext, TimeSpan, TimeSpan)
Initializes a new instance of the RetryingElementLocator class.
Top
Properties

  NameDescription
Public propertySearchContext
Gets the ISearchContext to be used in locating elements.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLocateElement
Locates an element using the given list of By criteria.
Public methodLocateElements
Locates a list of elements using the given list of By criteria.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference