1
2
3
4
5
{"ScriptPreparationCode":"var doc = document;\r\nvar testElement = doc.getElementById(\u0027testElement\u0027);","TestCases":[{"Name":"getElementsById \u002B getElementsByClassName","Code":"var test = doc.getElementById(\u0027testElement\u0027).getElementsByClassName(\u0027testElementChild3\u0027).innerHTML;","IsDeferred":false},{"Name":"querySelector \u002B querySelector","Code":"var test = doc.querySelector(\u0027#testElement\u0027).querySelector(\u0027.testElementChild3\u0027).innerHTML;","IsDeferred":false},{"Name":"querySelector","Code":"var test = doc.querySelector(\u0027#testElement .testElementChild3\u0027).innerHTML;","IsDeferred":false},{"Name":"cache \u002B getElementsByClassName","Code":"var test = testElement.getElementsByClassName(\u0027testElementChild3\u0027).innerHTML;","IsDeferred":false},{"Name":"cache \u002B querySelector","Code":"var test = testElement.querySelector(\u0027.testElementChild3\u0027).innerHTML;","IsDeferred":false}]}