This is a div we're NOT looking for.
This is the div we're looking for.
{"ScriptPreparationCode":"var curElement = null;\r\nvar parentEl = $(\u0022#curBody2\u0022); //Used for last two test cases only.","TestCases":[{"Name":"Id and class chaining selector","Code":"curElement = $(\u0027#curBody2 .desired-element\u0027);","IsDeferred":false},{"Name":"Class selector only","Code":"curElement = $(\u0027.desired-element\u0027);","IsDeferred":false},{"Name":"Id selector then .find","Code":"curElement = $(\u0027#curBody2\u0027).find(\u0027.desired-element\u0027);","IsDeferred":false},{"Name":"Class selector using parent element","Code":"curElement = $(\u0027.desired-element\u0027,$(\u0027#curBody2\u0027));","IsDeferred":false},{"Name":"parentEl with .find","Code":"curElement = parentEl.find(\u0027.desired-element\u0027);","IsDeferred":false},{"Name":"Class selector using parentEl","Code":"curElement = $(\u0027.desired-element\u0027,parentEl);","IsDeferred":false}]}