I’m saving a web page to PDF and including the footer while saving the PDF - in Attended mode it’s working fine. But in unattended mode the footer URL is having extra space . I’m using edge browser . Can some one help how to fix it by saving the pdf along with footer URL without any space.
Which activity you’re using Save Page as PDF ?
Have you checked the resolution under Robot settings for the automation user?
Perhaps the website is responsive and footer might get excluded on certain resolutions?
Regards
Soren
Normal ctrl+P and saving the PDF.
@MohammedShabbir
Thanks
Srikanth
Footer URL is included in unattended mode as well, but it’s having some extra un wanted spaces in the URL and it’s becoming inaccessible.
@SorenB
Thanks,
Srikanth
BTW How can I check regarding it @SorenB .
Thanks
Srikanth
"The primary screen resolution is: “+Screen.PrimaryScreen.Bounds.Width.ToString+” x "+ Screen.PrimaryScreen.Bounds.Height.ToString
Since it works in attended, take width and height when you run in attended mode and update the same to unattended robot.
@srikanthmadireddy78 just try and set it to Full HD for a start.
- Width 1920
- Height 1080
In unattended mode, Edge may add extra space in the footer due to headless rendering. Fix it by setting explicit PDF margins, using a footer with fixed CSS positioning, generating the PDF from HTML, or running Edge with headless = false.
HI @Monali_Vekariya ,
How can I apply the required settings, and maintain the setting for future BOT sessions as well.
"running Edge with headless = false " These setting do I need to apply in UiPath or specific pdf(browser settings)
Can you please help regarding it.
Regards,
Srikanth
In UiPath, this issue happens because unattended runs use Edge in headless mode by default, which causes footer spacing problems in PDFs.
To fix it, open your workflow and go to the Use Application/Browser activity. Select the Edge container and in the Properties panel set Headless = False. This setting is applied in UiPath, not in Edge browser or PDF settings.
Once you set Headless to False and publish the process, it will remain the same for all future unattended bot runs and the footer URL will be saved in the PDF without extra spaces.
You don’t need to change anything in Edge settings.
Hi @Monali_Vekariya ,
i’m using Use Application/Browser activity and I couldn’t find the set Headless property in it’s container details .
Can you pls help where Can I find the property.
Regards,
Srikanth


