text
{"ScriptPreparationCode":null,"TestCases":[{"Name":"getElementById","Code":"const element = document.getElementById(\u0027element\u0027);\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"getElementsByClassName","Code":"const element = document.getElementsByClassName(\u0027element\u0027)[0];\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"querySelector (ID)","Code":"const element = document.querySelector(\u0027#element\u0027);\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"querySelector (class)","Code":"const element = document.querySelector(\u0027.element\u0027);\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"querySelector (attribute)","Code":"const element = document.querySelector(\u0027[data-trigger]\u0027);\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"querySelectorAll (ID)","Code":"const element = document.querySelectorAll(\u0027#element\u0027)[0];\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"querySelectorAll (class)","Code":"const element = document.querySelectorAll(\u0027.element\u0027)[0];\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false},{"Name":"querySelectorAll (attribute)","Code":"const element = document.querySelectorAll(\u0027[data-trigger]\u0027)[0];\r\nelement.innerText = \u0027text\u0027;","IsDeferred":false}]}