Skip to content Skip to sidebar Skip to footer

Chromedriver Save As Pdf Method Not Working

Chromedriver Save as PDF method is not working. Before it was working fine but now whenever i run this code it gets on Save as PDF Screen and actually prints the page instead of sa

Solution 1:

Using Chrome Version 78.0.3904.108 (Official Build) (64-bit).

Add "account": "" to "recentDestinations".

appState = { "recentDestinations": [{
                  "id": "Save as PDF",
                  "origin": "local",
                  "account": "", # <======= Add this
             }],
             "selectedDestinationId": "Save as PDF",
             "version": 2,
           }

Post a Comment for "Chromedriver Save As Pdf Method Not Working"