Comment Comment by blubbi2 Probably easier to just use an assertion library here. E.g. assert.ok(element) parent blubbi2 10 years ago