et i = 0; i < targets.length; i++) {
                xPositions.push((targets[i].x + width / 2.0) * scale + frameLeft);
                yPositions.push((targets[i].y + height / 2.0) * scale + frameTop);
              }
              return sendInputAt(inputSource, xPositions[0], yPositions[0]).then(function() {
                return sendInputAt(inputSource, xPositions[1], yPositions[1]);
              }).then(function() {
                return sendInputAt(inputSource, xPositions[2], yPositions[2]);
      