Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.14 KB

HtmlToPngRequest.md

File metadata and controls

13 lines (9 loc) · 1.14 KB

HtmlToPngRequest

Properties

Name Type Description Notes
html str HTML to render to PNG (screenshot) [optional]
extra_loading_wait int Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds). Maximum is 30000 milliseconds (30 seconds). [optional]
screenshot_width int Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot [optional]
screenshot_height int Optional: Height of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot [optional]

[Back to Model list] [Back to API list] [Back to README]