GeezerVison is showing github.com — unifapi-sdk-python/docs/BrowserScreenshotRequest.md at main · unifapi-agent/unifapi-sdk-python
/
BrowserScreenshotRequest.md
Copy path 37 lines (28 loc) · 1.92 KB
/
BrowserScreenshotRequest.md
Copy pathFile metadata and controls
37 lines (28 loc) · 1.92 KB
Copy raw file
Download raw file
OutlineEdit and raw actions
| 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] |
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]