Source: factory.service/package.core/ObjServiceScreenshot.py
| Method | Signature | Description |
|---|---|---|
| Compute | Compute(url: str, guid: str, filename: str = '', width: int = 1920, height: int = 1080, vision_prompt: str = VISION_DEFAULT_PROMPT) -> str |
Captures a screenshot of a given URL, saves it as PNG, then |
| run_workflow_direct | run_workflow_direct(Guid, Param1 = '', Param2 = '', Param3 = '', Param4 = '') |
Workflow entry point for the screenshot service. |
| Method | Signature | Description |
|---|---|---|
| validate_screenshot | validate_screenshot(file_path: str, expected_width: int, expected_height: int) -> bool |
Validates a saved screenshot against size and content criteria. |