Class WebSocketFrame

java.lang.Object
org.openqa.selenium.devtools.v85.network.model.WebSocketFrame

public class WebSocketFrame extends Object
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
  • Constructor Details

  • Method Details

    • getOpcode

      public Number getOpcode()
      WebSocket message opcode.
    • getMask

      public Boolean getMask()
      WebSocket message mask.
    • getPayloadData

      public String getPayloadData()
      WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.