Level 29
Sep 17, 2020
1
Level 8
Puppeteer.js : get href attribute of link with given text
Hi everybody, is there a way in puppeteer to get the href attribute of an anchor element with text "See more".
I want to grab the href attribute of an element like this:
<a href="/this-is-what-i-want">See more</a>
maybe it's possble to do with eval?
Please or to participate in this conversation.