pub async fn screenshot_with_options(
output_path: &str,
region: Option<(u32, u32, u32, u32)>,
display: Option<u32>,
options: ScreenshotReturnOptions,
) -> Result<String, AppError>Expand description
Capture a screenshot asynchronously with configurable return options.