Class WebsocketTool

java.lang.Object
com.logicaldoc.web.websockets.WebsocketTool

public class WebsocketTool extends Object
Utility functions to interact with the user interface from within the Automation
Since:
8.5.3
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • WebsocketTool

      public WebsocketTool()
  • Method Details

    • showMessage

      public void showMessage(Session session, String message, String level)
      Send to the Interface the command to display a message
      Parameters:
      session - the current session
      message - the message to display
      level - the priority, it could be: info, warn or error
    • openUrl

      public void openUrl(Session session, String url, String target)
      Send to the Interface the command to open an URL
      Parameters:
      session - the current session
      url - the url to open
      target - the target windows, if not specified the '_blank' target will be used