public class JsonToWebElementConverter
extends java.lang.Object
implements com.google.common.base.Function<java.lang.Object,java.lang.Object>
WebElements from their JSON representation. Will recursively convert Lists
and Maps to catch nested references. All other values pass through the converter unchanged.| Constructor and Description |
|---|
JsonToWebElementConverter(RemoteWebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(java.lang.Object result) |
protected RemoteWebElement |
newRemoteWebElement() |
public JsonToWebElementConverter(RemoteWebDriver driver)
public java.lang.Object apply(java.lang.Object result)
apply in interface java.util.function.Function<java.lang.Object,java.lang.Object>protected RemoteWebElement newRemoteWebElement()