Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.92 KB

File metadata and controls

37 lines (28 loc) · 1.92 KB

BrowserScreenshotRequest

Properties

Name Type Description Notes
url str Absolute http(s) URL of the page to render.
wait_until str When navigation is considered complete. `networkidle0` waits for the network to go idle (best for JavaScript-heavy pages); `load` is fastest. [optional]
timeout_ms int Navigation timeout in milliseconds (1000–60000). [optional]
viewport BrowserScreenshotRequestViewport [optional]
full_page bool Capture the full scrollable page instead of just the viewport. [optional]
format str Output image format. [optional] [default to 'png']
quality int Compression quality (0–100). Only valid for `jpeg` and `webp`. [optional]
selector str Capture only the first element matching this CSS selector. [optional]
omit_background bool Render a transparent background (ignored for `jpeg`). [optional]

Example

from unifapi.models.browser_screenshot_request import BrowserScreenshotRequest

# TODO update the JSON string below
json = "{}"
# create an instance of BrowserScreenshotRequest from a JSON string
browser_screenshot_request_instance = BrowserScreenshotRequest.from_json(json)
# print the JSON string representation of the object
print(BrowserScreenshotRequest.to_json())

# convert the object into a dict
browser_screenshot_request_dict = browser_screenshot_request_instance.to_dict()
# create an instance of BrowserScreenshotRequest from a dict
browser_screenshot_request_from_dict = BrowserScreenshotRequest.from_dict(browser_screenshot_request_dict)

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