Class Connection

java.lang.Object
com.microsoft.playwright.impl.Connection

public class Connection extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setIsTracing

      void setIsTracing(boolean tracing)
    • setApiName

      String setApiName(String name)
    • close

      void close() throws IOException
      Throws:
      IOException
    • sendMessage

      public com.google.gson.JsonElement sendMessage(String guid, String method, com.google.gson.JsonObject params)
    • sendMessageAsync

      public WaitableResult<com.google.gson.JsonElement> sendMessageAsync(String guid, String method, com.google.gson.JsonObject params)
    • internalSendMessage

      private WaitableResult<com.google.gson.JsonElement> internalSendMessage(String guid, String method, com.google.gson.JsonObject params, boolean sendStack)
    • initializePlaywright

      public PlaywrightImpl initializePlaywright()
    • localUtils

      LocalUtils localUtils()
    • getExistingObject

      public <T> T getExistingObject(String guid)
    • registerObject

      void registerObject(String guid, ChannelOwner object)
    • unregisterObject

      void unregisterObject(String guid)
    • processOneMessage

      void processOneMessage()
    • dispatch

      private void dispatch(Message message)
    • createRemoteObject

      private ChannelOwner createRemoteObject(String parentGuid, com.google.gson.JsonObject params)