Package org.openqa.selenium.remote
Class JsonToWebElementConverter
java.lang.Object
org.openqa.selenium.remote.JsonToWebElementConverter
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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getElementKey
(Map<?, ?> resultAsMap) protected String
getShadowRootKey
(Map<?, ?> resultAsMap) protected RemoteWebElement
protected RemoteWebElement
setOwner
(RemoteWebElement element)