ViewPort - Amazon Bedrock AgentCore

ViewPort

The configuration that defines the dimensions of a browser viewport in a browser session. The viewport determines the visible area of web content and affects how web pages are rendered and displayed. Proper viewport configuration ensures that web content is displayed correctly for the agent's browsing tasks.

Contents

height

The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.

Type: Integer

Valid Range: Minimum value of 240. Maximum value of 2160.

Required: Yes

width

The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.

Type: Integer

Valid Range: Minimum value of 320. Maximum value of 3840.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: