Class 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 Detail

      • WebsocketTool

        public WebsocketTool()
    • Method Detail

      • 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