Yes, Selenium 4 introduces a new feature that allows the creation of PDF files from web pages using the page printing APIs. These APIs capture the rendered page and encode it in Base64, which can then be saved as a PDF file or used directly in memory.