Package com.microsoft.playwright
Interface WebSocketFrame
-
- All Known Implementing Classes:
WebSocketImpl.WebSocketFrameImpl
public interface WebSocketFrameTheWebSocketFrameclass represents frames sent overWebSocketconnections in the page. Frame payload is returned by eitherWebSocketFrame.text()orWebSocketFrame.binary()method depending on the its type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]binary()Returns binary payload.java.lang.Stringtext()Returns text payload.
-