The easiest way to get started testing Weasy would be the following:
Turn on PDF logging in the .env file by setting a new variable
LOG_PDF_HTML=true
Create a new invoice in the UI, Save and then View PDF.
Inspect the HTML output in the storage/logs//laravel.log file and cut and paste the generated HTML into a new file…
Feed that html data into weasy and inspect the PDF that is generated. With any luck, it should be close to the chrome output.