Interface BrowserAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BrowserAction.Builder,,BrowserAction> SdkBuilder<BrowserAction.Builder,,BrowserAction> SdkPojo
- Enclosing class:
BrowserAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault BrowserAction.BuilderkeyPress(Consumer<KeyPressArguments.Builder> keyPress) Press a key one or more times.keyPress(KeyPressArguments keyPress) Press a key one or more times.default BrowserAction.BuilderkeyShortcut(Consumer<KeyShortcutArguments.Builder> keyShortcut) Press a key combination.keyShortcut(KeyShortcutArguments keyShortcut) Press a key combination.default BrowserAction.BuilderkeyType(Consumer<KeyTypeArguments.Builder> keyType) Type a string of text.keyType(KeyTypeArguments keyType) Type a string of text.default BrowserAction.BuildermouseClick(Consumer<MouseClickArguments.Builder> mouseClick) Click at the specified coordinates.mouseClick(MouseClickArguments mouseClick) Click at the specified coordinates.default BrowserAction.BuildermouseDrag(Consumer<MouseDragArguments.Builder> mouseDrag) Drag from a start position to an end position.mouseDrag(MouseDragArguments mouseDrag) Drag from a start position to an end position.default BrowserAction.BuildermouseMove(Consumer<MouseMoveArguments.Builder> mouseMove) Move the cursor to the specified coordinates.mouseMove(MouseMoveArguments mouseMove) Move the cursor to the specified coordinates.default BrowserAction.BuildermouseScroll(Consumer<MouseScrollArguments.Builder> mouseScroll) Scroll at the specified position.mouseScroll(MouseScrollArguments mouseScroll) Scroll at the specified position.default BrowserAction.Builderscreenshot(Consumer<ScreenshotArguments.Builder> screenshot) Capture a full-screen screenshot.screenshot(ScreenshotArguments screenshot) Capture a full-screen screenshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mouseClick
Click at the specified coordinates.
- Parameters:
mouseClick- Click at the specified coordinates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mouseClick
Click at the specified coordinates.
This is a convenience method that creates an instance of theMouseClickArguments.Builderavoiding the need to create one manually viaMouseClickArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomouseClick(MouseClickArguments).- Parameters:
mouseClick- a consumer that will call methods onMouseClickArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mouseMove
Move the cursor to the specified coordinates.
- Parameters:
mouseMove- Move the cursor to the specified coordinates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mouseMove
Move the cursor to the specified coordinates.
This is a convenience method that creates an instance of theMouseMoveArguments.Builderavoiding the need to create one manually viaMouseMoveArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomouseMove(MouseMoveArguments).- Parameters:
mouseMove- a consumer that will call methods onMouseMoveArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mouseDrag
Drag from a start position to an end position.
- Parameters:
mouseDrag- Drag from a start position to an end position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mouseDrag
Drag from a start position to an end position.
This is a convenience method that creates an instance of theMouseDragArguments.Builderavoiding the need to create one manually viaMouseDragArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomouseDrag(MouseDragArguments).- Parameters:
mouseDrag- a consumer that will call methods onMouseDragArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mouseScroll
Scroll at the specified position.
- Parameters:
mouseScroll- Scroll at the specified position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mouseScroll
Scroll at the specified position.
This is a convenience method that creates an instance of theMouseScrollArguments.Builderavoiding the need to create one manually viaMouseScrollArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomouseScroll(MouseScrollArguments).- Parameters:
mouseScroll- a consumer that will call methods onMouseScrollArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyType
Type a string of text.
- Parameters:
keyType- Type a string of text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyType
Type a string of text.
This is a convenience method that creates an instance of theKeyTypeArguments.Builderavoiding the need to create one manually viaKeyTypeArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyType(KeyTypeArguments).- Parameters:
keyType- a consumer that will call methods onKeyTypeArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyPress
Press a key one or more times.
- Parameters:
keyPress- Press a key one or more times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPress
Press a key one or more times.
This is a convenience method that creates an instance of theKeyPressArguments.Builderavoiding the need to create one manually viaKeyPressArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyPress(KeyPressArguments).- Parameters:
keyPress- a consumer that will call methods onKeyPressArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyShortcut
Press a key combination.
- Parameters:
keyShortcut- Press a key combination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyShortcut
Press a key combination.
This is a convenience method that creates an instance of theKeyShortcutArguments.Builderavoiding the need to create one manually viaKeyShortcutArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyShortcut(KeyShortcutArguments).- Parameters:
keyShortcut- a consumer that will call methods onKeyShortcutArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
screenshot
Capture a full-screen screenshot.
- Parameters:
screenshot- Capture a full-screen screenshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
screenshot
Capture a full-screen screenshot.
This is a convenience method that creates an instance of theScreenshotArguments.Builderavoiding the need to create one manually viaScreenshotArguments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscreenshot(ScreenshotArguments).- Parameters:
screenshot- a consumer that will call methods onScreenshotArguments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-