public class CustomFieldDecorator
extends org.openqa.selenium.support.pagefactory.DefaultFieldDecorator
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.support.pagefactory.ElementLocatorFactory |
factory |
Constructor and Description |
---|
CustomFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
decorate(ClassLoader loader,
Field field) |
protected EWebElement |
proxyForEWebElement(ClassLoader loader,
org.openqa.selenium.support.pagefactory.ElementLocator locator)
Return eWebelement object
|
protected org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory
public CustomFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory)
public Object decorate(ClassLoader loader, Field field)
decorate
in interface org.openqa.selenium.support.pagefactory.FieldDecorator
decorate
in class org.openqa.selenium.support.pagefactory.DefaultFieldDecorator
protected EWebElement proxyForEWebElement(ClassLoader loader, org.openqa.selenium.support.pagefactory.ElementLocator locator)
loader
- locator
- Copyright © 2014. All rights reserved.