Module: ContextDev::Models::WebWebScrapeHTMLParams::Action
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/context_dev/models/web_web_scrape_html_params.rb,
sig/context_dev/models/web_web_scrape_html_params.rbs
Overview
Browser action discriminated by do. Each variant exposes only its applicable
fields.
Defined Under Namespace
Classes: Perform, Scroll, Wait
Instance Method Summary collapse
-
#initialize(action:, do_: :perform) ⇒ Object
Resolve and perform one natural-language browser action.
- #self?.variants ⇒ ::Array[ContextDev::Models::WebWebScrapeHTMLParams::action]
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Instance Method Details
#initialize(action:, do_: :perform) ⇒ Object
Resolve and perform one natural-language browser action.
|
|
# File 'lib/context_dev/models/web_web_scrape_html_params.rb', line 188
|
#self?.variants ⇒ ::Array[ContextDev::Models::WebWebScrapeHTMLParams::action]
224 |
# File 'sig/context_dev/models/web_web_scrape_html_params.rbs', line 224
def self?.variants: -> ::Array[ContextDev::Models::WebWebScrapeHTMLParams::action]
|