LET url = @dynamic LET doc = DOCUMENT(url) LET el = ELEMENT(doc, "#root") LET expectedP = TRUE LET actualP = ELEMENT_EXISTS(el, '.jumbotron') LET expectedN = FALSE LET actualN = ELEMENT_EXISTS(el, '.foo-bar') RETURN EXPECT(expectedP + expectedN, actualP + expectedN)