@labnex/cli
Version:
CLI for Labnex, an AI-Powered Testing Automation Platform
12 lines • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractDropdownField = extractDropdownField;
function extractDropdownField(step) {
const dropdownFieldPattern = /(?:dropdown|select):\s*([^,\s]+)/i;
const match = step.match(dropdownFieldPattern);
if (match && match[1]) {
return match[1].trim();
}
return undefined;
}
//# sourceMappingURL=extractDropdownField.js.map