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); }
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); }