@wppconnect/wa-js - v4.8.4-rc.0
    Preparing search index...

    Function getQRCode

    • Return the QR code WhatsApp is showing, read from the page after its canvas is painted, or null when there is none

      Returns QRCode | null

      const qr = WPP.conn.getQRCode();
      console.log(qr?.fullCode); // The string encoded in the QR code
      console.log(qr?.base64Image); // data:image/png;base64,...