Class CustomPreview

java.lang.Object
org.openqa.selenium.devtools.v85.runtime.model.CustomPreview

@Beta public class CustomPreview extends Object
  • Constructor Details

  • Method Details

    • getHeader

      public String getHeader()
      The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.
    • getBodyGetterId

      public Optional<RemoteObjectId> 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.