public class WebElementToJsonConverter
extends java.lang.Object
implements com.google.common.base.Function<java.lang.Object,java.lang.Object>
RemoteWebElement
objects, which may be
wrapped
, into their JSON representation as defined by
the WebDriver wire protocol. This class will recursively convert Lists and
Maps to catch nested references.Constructor and Description |
---|
WebElementToJsonConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply(java.lang.Object arg) |