I am working on a website that contains multiple cards, each featuring a button that triggers navigator.share, opening a dialog with a link inside. I need to extract that link using Puppeteer for nodejs, but I am unable to share the website’s link, as it is not my property. The website is built with Angular, and I am struggling to identify the call that opens the sharing dialog. Is there a way to achieve this?
Update
I understand the difficulty of my request. Unfortunately, it's a relatively complex site, and to reproduce a working version, I wouldn't even know what to do. I'm attaching a file that might be able to handle navigator.share.
UPDATE
This is the butto to raise the event:
<a _ngcontent-chr-c5="" class="btn btn-whatsapp w-100 ng-star-inserted">
<i _ngcontent-chr-c5="" class="fas fa-share"></i> SHARE LINK
</a>