code: function sendKeysFilter(cmdInfo){
                  // 合并连续的sendKeys
                  var cmd = cmdInfo.cmd;
                  var data = cmdInfo.data;
                  if(!mobile && cmd === 'sendKeys'){
                      arrSendKeys.push(data.keys);
                  }
                  else{
                      if(arrSendKeys.length > 0){
                          // 满足条件，进行合并
                          clickFilter({
                              window: lastCmdInfo0.window,
                              frame: lastCmdInfo0.frame,
                              cmd: 'sendKeys',
                              data: {
                                  keys: arrSendKeys.join('')
                              }
                          });
                          arrSendKeys = [];
                      }
                      clickFilter(cmdInfo);
                  }
                  lastCmdInfo0 = cmdInfo;
              }
docs: 合并命令流