public class WebElementDecorator extends Object implements org.openqa.selenium.support.pagefactory.FieldDecorator
Copyright (c) 2019 Daniel Keiss, Deutsche Telekom AG This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.
| Constructor and Description |
|---|
WebElementDecorator(@NonNull org.openqa.selenium.WebDriver webDriver) |
| Modifier and Type | Method and Description |
|---|---|
Object |
decorate(ClassLoader loader,
Field field) |
protected Object |
getEnhancedObject(Field field,
org.openqa.selenium.support.pagefactory.DefaultElementLocatorFactory defaultElementLocatorFactory) |
protected boolean |
isListWithWebElementEnhanced(Field field) |
protected boolean |
isWebElementEnhanced(Field field) |
public WebElementDecorator(@NonNull
@NonNull org.openqa.selenium.WebDriver webDriver)
public Object decorate(ClassLoader loader, Field field)
decorate in interface org.openqa.selenium.support.pagefactory.FieldDecoratorprotected boolean isWebElementEnhanced(Field field)
protected boolean isListWithWebElementEnhanced(Field field)
Copyright © 2017–2020. All rights reserved.