github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/element/attrs/get.fql (about) 1 LET url = @lab.cdn.static + '/overview.html' 2 LET doc = DOCUMENT(url) 3 4 LET el = ELEMENT(doc, "body > header > a") 5 LET attrs = [ 6 el.attributes.class, 7 el.attributes.href 8 ] 9 10 LET expected = '["navbar-brand mr-0 mr-md-2","http://getbootstrap.com/"]' 11 LET actual = TO_STRING(attrs) 12 13 T::EQ(actual, expected) 14 15 RETURN NONE