Attribute
<div class="parent">
<a href="/about">About</div>
</div>
{
"link": {
"selector": "a",
"attr": "href"
},
}
// or use this shortcut
{
"link": "a @ href"
}{
"link": "/about"
}Last updated
<div class="parent">
<a href="/about">About</div>
</div>
{
"link": {
"selector": "a",
"attr": "href"
},
}
// or use this shortcut
{
"link": "a @ href"
}{
"link": "/about"
}Last updated
<div class="parent">
<a href="https://google.com" rel="noreferrer">Google</div>
</div>{
"link": {
"selector": "a",
"attr": ["href", "rel"]
},
}
// or use this shortcut
{
"link": "a @ href, rel"
}{
"link": {
"href": "https://google.com",
"rel": "noreferrer"
}
}{
"link": {
"selector": "a",
"attr": "$all"
},
}
// or use this shortcut
{
"link": "a @ $all"
}{
"link": {
"href": "https://google.com",
"rel": "noreferrer"
}
}j