Class CustomPreview
java.lang.Object
org.openqa.selenium.devtools.v114.runtime.model.CustomPreview
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call.The JSON-stringified result of formatter.header(object, config) call.
-
Constructor Details
-
CustomPreview
-
-
Method Details
-
getHeader
The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject. -
getBodyGetterId
If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.
-