printing – How do I print webpages to PDF on Big Sur?

I can’t find any way to do this for free.

Is there any free virtual printer for Big Sur so that I can print webpages (from chrome/firefox) to pdf?

I learned about cups-pdf and pdfwriter but homebrew doesn’t seem to support cups-pdf and pdfwriter is old, doesn’t work.

Any pointer will be helpful.