org.openqa.selenium.remote.internal
Class WebElementToJsonConverter
java.lang.Object
org.openqa.selenium.remote.internal.WebElementToJsonConverter
- All Implemented Interfaces:
- com.google.common.base.Function<Object,Object>
public class WebElementToJsonConverter
- extends Object
- implements com.google.common.base.Function<Object,Object>
Converts 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.
- See Also:
-
WebDriver JSON Wire Protocol
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
WebElementToJsonConverter
public WebElementToJsonConverter()
apply
public Object apply(Object arg)
- Specified by:
apply
in interface com.google.common.base.Function<Object,Object>
Copyright © 2013. All Rights Reserved.