Accessing the hyperlink through electron


#1

Hi,
I am a beginner in electron.
These are the following things I need help with:

  • I am trying to download a pdf or read a pdf from a website.
  • I need to get to the pdf link which is loaded dynamically into the hyperlink attribute based on my filter options.(I am successful on this one).

i tried the following ways but i couldn’t get the raw value of the href.

  1. executeJSAsync($('td div[class="invoice-history-grid-container"] table')[1].outerHTML);
  2. UDD.executeJSDownload($('hide-on-med-and-down viewpdf tooltipped')[0].click(), s);
  3. let t = await UDD.executeJS(document.querySelector("a").getAttribute("href"));

#2
Ixx xxx xxe xx xx xx
xx xx-32 xx xx xx xx picture_as_pdf picture_as_pdf
YY YY-32 YY YY YY YY picture_as_pdf picture_as_pdf