org.openqa.selenium.remote.internal
Class JsonToWebElementConverter
java.lang.Object
org.openqa.selenium.remote.internal.JsonToWebElementConverter
- All Implemented Interfaces:
- com.google.common.base.Function<Object,Object>
public class JsonToWebElementConverter
- extends Object
- implements com.google.common.base.Function<Object,Object>
Reconstitutes WebElement
s from their JSON representation. Will recursively convert Lists
and Maps to catch nested references. All other values pass through the converter unchanged.
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 |
JsonToWebElementConverter
public JsonToWebElementConverter(RemoteWebDriver driver)
apply
public Object apply(Object result)
- Specified by:
apply
in interface com.google.common.base.Function<Object,Object>
newRemoteWebElement
protected RemoteWebElement newRemoteWebElement()
Copyright © 2012. All Rights Reserved.