Beauty
Catering
Beautysalon
{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n}","TestCases":[{"Name":"querySelector","Code":"console.log(document.querySelector(\u0027.textbox option[value=\u0022Beauty\u0022]\u0027))","IsDeferred":false},{"Name":"Array","Code":"function optionExists (select, value) {\r\n const options = Object.values(select.options).map(option =\u003E option.value)\r\n return options.includes(value)\r\n}\r\n\r\nconst select = document.getElementById(\u0027mydropdown\u0027)\r\nconsole.log(optionExists(select, \u0027Beauty\u0027))","IsDeferred":false}]}