Class: Stagehand::Models::SessionNavigateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stagehand::Models::SessionNavigateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/stagehand/models/session_navigate_params.rb
Overview
Defined Under Namespace
Modules: XStreamResponse Classes: Options
Instance Attribute Summary collapse
-
#frame_id ⇒ String?
Target frame ID for the navigation.
-
#id ⇒ String
Unique session identifier.
- #options ⇒ Stagehand::Models::SessionNavigateParams::Options?
-
#stream_response ⇒ Boolean?
Whether to stream the response via SSE.
-
#url ⇒ String
URL to navigate to.
-
#x_stream_response ⇒ Symbol, ...
Whether to stream the response via SSE.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from Stagehand::Internal::Type::BaseModel
Instance Attribute Details
#frame_id ⇒ String?
Target frame ID for the navigation
26 |
# File 'lib/stagehand/models/session_navigate_params.rb', line 26 optional :frame_id, String, api_name: :frameId, nil?: true |
#id ⇒ String
Unique session identifier
14 |
# File 'lib/stagehand/models/session_navigate_params.rb', line 14 required :id, String |
#options ⇒ Stagehand::Models::SessionNavigateParams::Options?
31 |
# File 'lib/stagehand/models/session_navigate_params.rb', line 31 optional :options, -> { Stagehand::SessionNavigateParams::Options } |
#stream_response ⇒ Boolean?
Whether to stream the response via SSE
37 |
# File 'lib/stagehand/models/session_navigate_params.rb', line 37 optional :stream_response, Stagehand::Internal::Type::Boolean, api_name: :streamResponse |
#url ⇒ String
URL to navigate to
20 |
# File 'lib/stagehand/models/session_navigate_params.rb', line 20 required :url, String |
#x_stream_response ⇒ Symbol, ...
Whether to stream the response via SSE
43 |
# File 'lib/stagehand/models/session_navigate_params.rb', line 43 optional :x_stream_response, enum: -> { Stagehand::SessionNavigateParams::XStreamResponse } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/stagehand/models/session_navigate_params.rb', line 98
|