C# Class OpenQA.Selenium.Support.PageObjects.PageFactory.ProxiedWebElementInterceptor

Provides an interceptor to assist in creating the Page Object. This class cannot be inherited.
Inheritance: IInterceptor, IWrapsElement
Afficher le fichier Open project: asynchrony/Selenium2

Méthodes publiques

Méthode Description
Intercept ( IInvocation invocation ) : void

Intercepts calls to methods on the class.

ProxiedWebElementInterceptor ( ISearchContext searchContext, IEnumerable bys, bool cache ) : System

Initializes a new instance of the ProxiedWebElementInterceptor class.

Method Details

Intercept() public méthode

Intercepts calls to methods on the class.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation An IInvocation object describing the actual implementation.
Résultat void

ProxiedWebElementInterceptor() public méthode

Initializes a new instance of the ProxiedWebElementInterceptor class.
public ProxiedWebElementInterceptor ( ISearchContext searchContext, IEnumerable bys, bool cache ) : System
searchContext ISearchContext The driver used to search for element.
bys IEnumerable The list of methods by which to search for the elements.
cache bool to cache the lookup to the element; otherwise, .
Résultat System