given this response I want to save the value of “href”.
<li class="list-group-item">
<a id="Test IDP" class="ln-List_Element" tabindex="(3" title="Velg Test IDP" href="/Account/ExternalLogin?provider=testidp-oidc&returnUrl=%2Fconnect%2Fauthorize%2Fcallback%3FauthzId%3D29107B505672D5E805F20347833D87F75116C5DC499E0693CBF5F48F2BCDFEC3">
<div>
<span class="ln-List_Element_Logo">
<img src="/img/test-idp.png" alt="Test IDP">
</span>
</div>
<div class="ln-List_Element_Service">
<span class="ln-List_Element_Service_Name">Test IDP</span>
<span class="ln-List_Element_Service_Info">Logg inn med en fiktiv bruker i vår Test IDP. Bare tilgjengelig i testmiljøer.</span>
</div>
</a>
</li>
I think the css-selector would be a good match, but not sure how to construct the xpression. i.e.
.check(css(“#Test IDP”,“href”).saveAs(“idp”))