LET doc = DOCUMENT("http://getbootstrap.com/docs/4.1/components/collapse/", true) LET el = ELEMENT(doc, "#collapseTwo") CLICK(doc, "#headingTwo > h5 > button") WAIT_CLASS(el, "show") RETURN TRUE