Interface SessionServiceAsync
-
- All Implemented Interfaces:
public interface SessionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSessionServiceAsync.WithRawResponseA view of SessionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract SessionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SessionServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
act
CompletableFuture<SessionActResponse> act(String id, SessionActParams params)
Executes a browser action using natural language instructions or a predefined Action object.
-
act
CompletableFuture<SessionActResponse> act(String id, SessionActParams params, RequestOptions requestOptions)
-
act
CompletableFuture<SessionActResponse> act(SessionActParams params)
-
act
abstract CompletableFuture<SessionActResponse> act(SessionActParams params, RequestOptions requestOptions)
-
actStreaming
AsyncStreamResponse<StreamEvent> actStreaming(String id, SessionActParams params)
Executes a browser action using natural language instructions or a predefined Action object.
-
actStreaming
AsyncStreamResponse<StreamEvent> actStreaming(String id, SessionActParams params, RequestOptions requestOptions)
-
actStreaming
AsyncStreamResponse<StreamEvent> actStreaming(SessionActParams params)
-
actStreaming
abstract AsyncStreamResponse<StreamEvent> actStreaming(SessionActParams params, RequestOptions requestOptions)
-
end
CompletableFuture<SessionEndResponse> end(String id)
Terminates the browser session and releases all associated resources.
-
end
CompletableFuture<SessionEndResponse> end(String id, SessionEndParams params, RequestOptions requestOptions)
-
end
CompletableFuture<SessionEndResponse> end(String id, SessionEndParams params)
-
end
abstract CompletableFuture<SessionEndResponse> end(SessionEndParams params, RequestOptions requestOptions)
-
end
CompletableFuture<SessionEndResponse> end(SessionEndParams params)
-
end
CompletableFuture<SessionEndResponse> end(String id, RequestOptions requestOptions)
-
execute
CompletableFuture<SessionExecuteResponse> execute(String id, SessionExecuteParams params)
Runs an autonomous AI agent that can perform complex multi-step browser tasks.
-
execute
CompletableFuture<SessionExecuteResponse> execute(String id, SessionExecuteParams params, RequestOptions requestOptions)
-
execute
CompletableFuture<SessionExecuteResponse> execute(SessionExecuteParams params)
-
execute
abstract CompletableFuture<SessionExecuteResponse> execute(SessionExecuteParams params, RequestOptions requestOptions)
-
executeStreaming
AsyncStreamResponse<StreamEvent> executeStreaming(String id, SessionExecuteParams params)
Runs an autonomous AI agent that can perform complex multi-step browser tasks.
-
executeStreaming
AsyncStreamResponse<StreamEvent> executeStreaming(String id, SessionExecuteParams params, RequestOptions requestOptions)
-
executeStreaming
AsyncStreamResponse<StreamEvent> executeStreaming(SessionExecuteParams params)
-
executeStreaming
abstract AsyncStreamResponse<StreamEvent> executeStreaming(SessionExecuteParams params, RequestOptions requestOptions)
-
extract
CompletableFuture<SessionExtractResponse> extract(String id)
Extracts structured data from the current page using AI-powered analysis.
-
extract
CompletableFuture<SessionExtractResponse> extract(String id, SessionExtractParams params, RequestOptions requestOptions)
-
extract
CompletableFuture<SessionExtractResponse> extract(String id, SessionExtractParams params)
-
extract
abstract CompletableFuture<SessionExtractResponse> extract(SessionExtractParams params, RequestOptions requestOptions)
-
extract
CompletableFuture<SessionExtractResponse> extract(SessionExtractParams params)
-
extract
CompletableFuture<SessionExtractResponse> extract(String id, RequestOptions requestOptions)
-
extractStreaming
AsyncStreamResponse<StreamEvent> extractStreaming(String id)
Extracts structured data from the current page using AI-powered analysis.
-
extractStreaming
AsyncStreamResponse<StreamEvent> extractStreaming(String id, SessionExtractParams params, RequestOptions requestOptions)
-
extractStreaming
AsyncStreamResponse<StreamEvent> extractStreaming(String id, SessionExtractParams params)
-
extractStreaming
abstract AsyncStreamResponse<StreamEvent> extractStreaming(SessionExtractParams params, RequestOptions requestOptions)
-
extractStreaming
AsyncStreamResponse<StreamEvent> extractStreaming(SessionExtractParams params)
-
extractStreaming
AsyncStreamResponse<StreamEvent> extractStreaming(String id, RequestOptions requestOptions)
-
navigate
CompletableFuture<SessionNavigateResponse> navigate(String id, SessionNavigateParams params)
Navigates the browser to the specified URL.
-
navigate
CompletableFuture<SessionNavigateResponse> navigate(String id, SessionNavigateParams params, RequestOptions requestOptions)
-
navigate
CompletableFuture<SessionNavigateResponse> navigate(SessionNavigateParams params)
-
navigate
abstract CompletableFuture<SessionNavigateResponse> navigate(SessionNavigateParams params, RequestOptions requestOptions)
-
observe
CompletableFuture<SessionObserveResponse> observe(String id)
Identifies and returns available actions on the current page that match the given instruction.
-
observe
CompletableFuture<SessionObserveResponse> observe(String id, SessionObserveParams params, RequestOptions requestOptions)
-
observe
CompletableFuture<SessionObserveResponse> observe(String id, SessionObserveParams params)
-
observe
abstract CompletableFuture<SessionObserveResponse> observe(SessionObserveParams params, RequestOptions requestOptions)
-
observe
CompletableFuture<SessionObserveResponse> observe(SessionObserveParams params)
-
observe
CompletableFuture<SessionObserveResponse> observe(String id, RequestOptions requestOptions)
-
observeStreaming
AsyncStreamResponse<StreamEvent> observeStreaming(String id)
Identifies and returns available actions on the current page that match the given instruction.
-
observeStreaming
AsyncStreamResponse<StreamEvent> observeStreaming(String id, SessionObserveParams params, RequestOptions requestOptions)
-
observeStreaming
AsyncStreamResponse<StreamEvent> observeStreaming(String id, SessionObserveParams params)
-
observeStreaming
abstract AsyncStreamResponse<StreamEvent> observeStreaming(SessionObserveParams params, RequestOptions requestOptions)
-
observeStreaming
AsyncStreamResponse<StreamEvent> observeStreaming(SessionObserveParams params)
-
observeStreaming
AsyncStreamResponse<StreamEvent> observeStreaming(String id, RequestOptions requestOptions)
-
replay
CompletableFuture<SessionReplayResponse> replay(String id)
Retrieves replay metrics for a session.
-
replay
CompletableFuture<SessionReplayResponse> replay(String id, SessionReplayParams params, RequestOptions requestOptions)
-
replay
CompletableFuture<SessionReplayResponse> replay(String id, SessionReplayParams params)
-
replay
abstract CompletableFuture<SessionReplayResponse> replay(SessionReplayParams params, RequestOptions requestOptions)
-
replay
CompletableFuture<SessionReplayResponse> replay(SessionReplayParams params)
-
replay
CompletableFuture<SessionReplayResponse> replay(String id, RequestOptions requestOptions)
-
start
CompletableFuture<SessionStartResponse> start(SessionStartParams params)
Creates a new browser session with the specified configuration. Returns a session ID used for all subsequent operations.
-
start
abstract CompletableFuture<SessionStartResponse> start(SessionStartParams params, RequestOptions requestOptions)
-
-
-
-