Skip to content

Commit 0a1919c

Browse files
authored
Fix element interceptor documentation. (#283)
1 parent c0eb7c2 commit 0a1919c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/com/nordstrom/automation/selenium/model/RobustElementWrapper.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ public RobustElementWrapper(
152152
}
153153

154154
/**
155-
* This is the method that intercepts component container methods in "enhanced" model objects.
155+
* This is the method that intercepts <b>WebElement</b> methods in "wrapped" element objects.
156156
*
157-
* @param obj "enhanced" object upon which the method was invoked
157+
* @param obj "wrapped" object upon which the method was invoked
158158
* @param method {@link Method} object for the invoked method
159159
* @param args method invocation arguments
160160
* @return {@code anything} (the result of invoking the intercepted method)
@@ -205,7 +205,9 @@ private Object invoke(Method method, Object... args) throws Exception {
205205
}
206206

207207
/**
208-
* {@inheritDoc}
208+
* Get the <b>WebElement</b> object contained within this wrapper.
209+
*
210+
* @return unwrapped {@link WebElement} object
209211
*/
210212
@Override
211213
public WebElement getWrappedElement() {

0 commit comments

Comments
 (0)