Save webpage as PDF

Hi,

I am trying to save a webpage as pdf
Manually it can be saved by right click>>save or by printing
When BOT is saving it by doing ctrl+s , it saves as .html and when BOT tries to save by ctrl+p BOT cannot find selector for saving the file

Is there any other method for saving a webpage which doesnot use image automation?