BrowserAction

sealed class BrowserAction

The browser action to perform. Exactly one member must be set per request.

Inheritors

Types

Link copied to clipboard
data class KeyPress(val value: KeyPressArguments) : BrowserAction

Press a key one or more times.

Link copied to clipboard

Press a key combination.

Link copied to clipboard
data class KeyType(val value: KeyTypeArguments) : BrowserAction

Type a string of text.

Link copied to clipboard

Click at the specified coordinates.

Link copied to clipboard
data class MouseDrag(val value: MouseDragArguments) : BrowserAction

Drag from a start position to an end position.

Link copied to clipboard
data class MouseMove(val value: MouseMoveArguments) : BrowserAction

Move the cursor to the specified coordinates.

Link copied to clipboard

Scroll at the specified position.

Link copied to clipboard

Capture a full-screen screenshot.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this BrowserAction as a KeyPress and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyPressArguments value. Throws an exception if the BrowserAction is not a KeyPress.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Casts this BrowserAction as a KeyType and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.KeyTypeArguments value. Throws an exception if the BrowserAction is not a KeyType.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard