예제 #1
0
        protected override void Execute(CodeActivityContext context)
        {
            ChromeWebSocket socket = new ChromeWebSocket();

            int    fnId         = MessageId.Get(context);
            string webSocketURL = ChromeWebSocketURL.Get(context);
            string jsFunction   = JSFunction.Get(context);
            string result       = socket.executeJSInChrome(webSocketURL, fnId, jsFunction, false);
        }
예제 #2
0
        protected override void Execute(CodeActivityContext context)
        {
            ChromeWebSocket socket = new ChromeWebSocket();

            int    fnId         = MessageId.Get(context);
            string webSocketURL = ChromeWebSocketURL.Get(context);
            string mwthod       = Method.Get(context);
            string parameters   = Params.Get(context);
            string result       = socket.executeJSInChrome(webSocketURL, fnId, mwthod, parameters, false);
        }