UNPKG

@labnex/cli

Version:

CLI for Labnex, an AI-Powered Testing Automation Platform

12 lines 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extractInputField = extractInputField; function extractInputField(step) { const inputFieldPattern = /(?:input|field):\s*([^,\s]+)/i; const match = step.match(inputFieldPattern); if (match && match[1]) { return match[1].trim(); } return undefined; } //# sourceMappingURL=extractInputField.js.map