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
显示文件 Open project: asynchrony/Selenium2

Public Methods

Method 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 method

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

ProxiedWebElementInterceptor() public method

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, .
return System