Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import java.lang.reflect.Method;

/**
* Intercepts requests to {@link io.appium.java_client.MobileElement}.
* Intercepts requests to {@link WebElement}.
*/
class ElementInterceptor extends InterceptorOfASingleElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import java.util.List;

/**
* Intercepts requests to the list of {@link io.appium.java_client.MobileElement}.
* Intercepts requests to the list of {@link WebElement}.
*/
class ElementListInterceptor extends InterceptorOfAListOfElements {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public static WebDriver unpackWebDriverFromSearchContext(SearchContext searchCon
((WrapsDriver) searchContext).getWrappedDriver());
}

// Search context it is not only Webdriver. Webelement is search context too.
// RemoteWebElement and MobileElement implement WrapsDriver
// Search context it is not only WebDriver. WebElement is search context too.
// RemoteWebElement implements WrapsDriver
if (searchContext instanceof WrapsElement) {
return unpackWebDriverFromSearchContext(
((WrapsElement) searchContext).getWrappedElement());
Expand Down