Beta: size a window so its page is width by height CSS pixels.
func (
r *SandboxBrowserAttachmentService) Update(ctx context.Context,
name string,
attachmentID string,
body SandboxBrowserAttachmentUpdateParams,
opts ...option.RequestOption) (res *BrowserAttachment,
err error
)Beta: size a window so its page is width by height CSS pixels. The window keeps that size until resized again, through this call or over CDP with Browser.setWindowBounds; the live view scales to fit it rather than resizing it. A browser that is not running cannot be resized.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
name* | string | |
attachmentID* | string | |
body* | SandboxBrowserAttachmentUpdateParams | |
opts* | ...option.RequestOption |