context.dev 1.34.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +9 -9
- data/lib/context_dev/models/web_extract_styleguide_params.rb +22 -1
- data/lib/context_dev/models/web_screenshot_params.rb +258 -1
- data/lib/context_dev/models/web_search_params.rb +270 -3
- data/lib/context_dev/models/web_web_crawl_md_params.rb +226 -1
- data/lib/context_dev/models/web_web_scrape_html_params.rb +224 -1
- data/lib/context_dev/models/web_web_scrape_md_params.rb +224 -1
- data/lib/context_dev/resources/web.rb +28 -7
- data/lib/context_dev/version.rb +1 -1
- data/rbi/context_dev/models/web_extract_styleguide_params.rbi +59 -0
- data/rbi/context_dev/models/web_screenshot_params.rbi +316 -0
- data/rbi/context_dev/models/web_search_params.rbi +288 -2
- data/rbi/context_dev/models/web_web_crawl_md_params.rbi +245 -0
- data/rbi/context_dev/models/web_web_scrape_html_params.rbi +450 -0
- data/rbi/context_dev/models/web_web_scrape_md_params.rbi +244 -0
- data/rbi/context_dev/resources/web.rbi +43 -1
- data/sig/context_dev/models/web_extract_styleguide_params.rbs +20 -0
- data/sig/context_dev/models/web_screenshot_params.rbs +453 -0
- data/sig/context_dev/models/web_search_params.rbs +503 -0
- data/sig/context_dev/models/web_web_crawl_md_params.rbs +426 -0
- data/sig/context_dev/models/web_web_scrape_html_params.rbs +426 -0
- data/sig/context_dev/models/web_web_scrape_md_params.rbs +426 -0
- data/sig/context_dev/resources/web.rbs +9 -0
- metadata +2 -2
|
@@ -14,6 +14,25 @@ module ContextDev
|
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
# Optional browser color scheme to emulate for websites that respond to
|
|
18
|
+
# prefers-color-scheme. This value is part of the styleguide cache key.
|
|
19
|
+
sig do
|
|
20
|
+
returns(
|
|
21
|
+
T.nilable(
|
|
22
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::OrSymbol
|
|
23
|
+
)
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
attr_reader :color_scheme
|
|
27
|
+
|
|
28
|
+
sig do
|
|
29
|
+
params(
|
|
30
|
+
color_scheme:
|
|
31
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::OrSymbol
|
|
32
|
+
).void
|
|
33
|
+
end
|
|
34
|
+
attr_writer :color_scheme
|
|
35
|
+
|
|
17
36
|
# A specific URL to fetch the styleguide from directly, bypassing domain
|
|
18
37
|
# resolution (e.g., 'https://example.com/design-system'). When provided, the
|
|
19
38
|
# styleguide is extracted from this exact URL. You must provide either 'domain' or
|
|
@@ -54,6 +73,8 @@ module ContextDev
|
|
|
54
73
|
|
|
55
74
|
sig do
|
|
56
75
|
params(
|
|
76
|
+
color_scheme:
|
|
77
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::OrSymbol,
|
|
57
78
|
direct_url: String,
|
|
58
79
|
domain: String,
|
|
59
80
|
max_age_ms: Integer,
|
|
@@ -62,6 +83,9 @@ module ContextDev
|
|
|
62
83
|
).returns(T.attached_class)
|
|
63
84
|
end
|
|
64
85
|
def self.new(
|
|
86
|
+
# Optional browser color scheme to emulate for websites that respond to
|
|
87
|
+
# prefers-color-scheme. This value is part of the styleguide cache key.
|
|
88
|
+
color_scheme: nil,
|
|
65
89
|
# A specific URL to fetch the styleguide from directly, bypassing domain
|
|
66
90
|
# resolution (e.g., 'https://example.com/design-system'). When provided, the
|
|
67
91
|
# styleguide is extracted from this exact URL. You must provide either 'domain' or
|
|
@@ -87,6 +111,8 @@ module ContextDev
|
|
|
87
111
|
sig do
|
|
88
112
|
override.returns(
|
|
89
113
|
{
|
|
114
|
+
color_scheme:
|
|
115
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::OrSymbol,
|
|
90
116
|
direct_url: String,
|
|
91
117
|
domain: String,
|
|
92
118
|
max_age_ms: Integer,
|
|
@@ -97,6 +123,39 @@ module ContextDev
|
|
|
97
123
|
end
|
|
98
124
|
def to_hash
|
|
99
125
|
end
|
|
126
|
+
|
|
127
|
+
# Optional browser color scheme to emulate for websites that respond to
|
|
128
|
+
# prefers-color-scheme. This value is part of the styleguide cache key.
|
|
129
|
+
module ColorScheme
|
|
130
|
+
extend ContextDev::Internal::Type::Enum
|
|
131
|
+
|
|
132
|
+
TaggedSymbol =
|
|
133
|
+
T.type_alias do
|
|
134
|
+
T.all(Symbol, ContextDev::WebExtractStyleguideParams::ColorScheme)
|
|
135
|
+
end
|
|
136
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
137
|
+
|
|
138
|
+
LIGHT =
|
|
139
|
+
T.let(
|
|
140
|
+
:light,
|
|
141
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::TaggedSymbol
|
|
142
|
+
)
|
|
143
|
+
DARK =
|
|
144
|
+
T.let(
|
|
145
|
+
:dark,
|
|
146
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::TaggedSymbol
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
sig do
|
|
150
|
+
override.returns(
|
|
151
|
+
T::Array[
|
|
152
|
+
ContextDev::WebExtractStyleguideParams::ColorScheme::TaggedSymbol
|
|
153
|
+
]
|
|
154
|
+
)
|
|
155
|
+
end
|
|
156
|
+
def self.values
|
|
157
|
+
end
|
|
158
|
+
end
|
|
100
159
|
end
|
|
101
160
|
end
|
|
102
161
|
end
|
|
@@ -11,6 +11,34 @@ module ContextDev
|
|
|
11
11
|
T.any(ContextDev::WebScreenshotParams, ContextDev::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
# Optional parameter to choose the site's visual theme in the screenshot. Use
|
|
15
|
+
# 'light' or 'dark' when the site offers both appearances.
|
|
16
|
+
sig do
|
|
17
|
+
returns(
|
|
18
|
+
T.nilable(ContextDev::WebScreenshotParams::ColorScheme::OrSymbol)
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
attr_reader :color_scheme
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
params(
|
|
25
|
+
color_scheme: ContextDev::WebScreenshotParams::ColorScheme::OrSymbol
|
|
26
|
+
).void
|
|
27
|
+
end
|
|
28
|
+
attr_writer :color_scheme
|
|
29
|
+
|
|
30
|
+
# Two-letter ISO 3166-1 alpha-2 country code for the website request location.
|
|
31
|
+
# When provided, Context.dev fetches the target page from that country.
|
|
32
|
+
sig do
|
|
33
|
+
returns(T.nilable(ContextDev::WebScreenshotParams::Country::OrSymbol))
|
|
34
|
+
end
|
|
35
|
+
attr_reader :country
|
|
36
|
+
|
|
37
|
+
sig do
|
|
38
|
+
params(country: ContextDev::WebScreenshotParams::Country::OrSymbol).void
|
|
39
|
+
end
|
|
40
|
+
attr_writer :country
|
|
41
|
+
|
|
14
42
|
# A specific URL to screenshot directly, bypassing domain resolution (e.g.,
|
|
15
43
|
# 'https://example.com/pricing'). When provided, the screenshot is taken of this
|
|
16
44
|
# exact URL. You must provide either 'domain' or 'directUrl', but not both.
|
|
@@ -89,6 +117,18 @@ module ContextDev
|
|
|
89
117
|
sig { params(page: ContextDev::WebScreenshotParams::Page::OrSymbol).void }
|
|
90
118
|
attr_writer :page
|
|
91
119
|
|
|
120
|
+
# Optional vertical scroll offset in pixels for capturing a long page in
|
|
121
|
+
# viewport-sized chunks. When provided, the full page is captured once and the
|
|
122
|
+
# returned image is the viewport-sized slice that begins at this Y offset (e.g.
|
|
123
|
+
# request scrollOffset=0, then 1080, then 2160 to walk a 1920x1080 landing page
|
|
124
|
+
# top to bottom). The final slice may be shorter than the viewport height. Takes
|
|
125
|
+
# precedence over fullScreenshot. Max: 100000.
|
|
126
|
+
sig { returns(T.nilable(Integer)) }
|
|
127
|
+
attr_reader :scroll_offset
|
|
128
|
+
|
|
129
|
+
sig { params(scroll_offset: Integer).void }
|
|
130
|
+
attr_writer :scroll_offset
|
|
131
|
+
|
|
92
132
|
# Optional timeout in milliseconds for the request. If the request takes longer
|
|
93
133
|
# than this value, it will be aborted with a 408 status code. Maximum allowed
|
|
94
134
|
# value is 300000ms (5 minutes).
|
|
@@ -118,6 +158,8 @@ module ContextDev
|
|
|
118
158
|
|
|
119
159
|
sig do
|
|
120
160
|
params(
|
|
161
|
+
color_scheme: ContextDev::WebScreenshotParams::ColorScheme::OrSymbol,
|
|
162
|
+
country: ContextDev::WebScreenshotParams::Country::OrSymbol,
|
|
121
163
|
direct_url: String,
|
|
122
164
|
domain: String,
|
|
123
165
|
full_screenshot:
|
|
@@ -126,6 +168,7 @@ module ContextDev
|
|
|
126
168
|
ContextDev::WebScreenshotParams::HandleCookiePopup::OrSymbol,
|
|
127
169
|
max_age_ms: Integer,
|
|
128
170
|
page: ContextDev::WebScreenshotParams::Page::OrSymbol,
|
|
171
|
+
scroll_offset: Integer,
|
|
129
172
|
timeout_ms: Integer,
|
|
130
173
|
viewport: ContextDev::WebScreenshotParams::Viewport::OrHash,
|
|
131
174
|
wait_for_ms: Integer,
|
|
@@ -133,6 +176,12 @@ module ContextDev
|
|
|
133
176
|
).returns(T.attached_class)
|
|
134
177
|
end
|
|
135
178
|
def self.new(
|
|
179
|
+
# Optional parameter to choose the site's visual theme in the screenshot. Use
|
|
180
|
+
# 'light' or 'dark' when the site offers both appearances.
|
|
181
|
+
color_scheme: nil,
|
|
182
|
+
# Two-letter ISO 3166-1 alpha-2 country code for the website request location.
|
|
183
|
+
# When provided, Context.dev fetches the target page from that country.
|
|
184
|
+
country: nil,
|
|
136
185
|
# A specific URL to screenshot directly, bypassing domain resolution (e.g.,
|
|
137
186
|
# 'https://example.com/pricing'). When provided, the screenshot is taken of this
|
|
138
187
|
# exact URL. You must provide either 'domain' or 'directUrl', but not both.
|
|
@@ -159,6 +208,13 @@ module ContextDev
|
|
|
159
208
|
# provided, screenshots the main domain landing page. Only applicable when using
|
|
160
209
|
# 'domain', not 'directUrl'.
|
|
161
210
|
page: nil,
|
|
211
|
+
# Optional vertical scroll offset in pixels for capturing a long page in
|
|
212
|
+
# viewport-sized chunks. When provided, the full page is captured once and the
|
|
213
|
+
# returned image is the viewport-sized slice that begins at this Y offset (e.g.
|
|
214
|
+
# request scrollOffset=0, then 1080, then 2160 to walk a 1920x1080 landing page
|
|
215
|
+
# top to bottom). The final slice may be shorter than the viewport height. Takes
|
|
216
|
+
# precedence over fullScreenshot. Max: 100000.
|
|
217
|
+
scroll_offset: nil,
|
|
162
218
|
# Optional timeout in milliseconds for the request. If the request takes longer
|
|
163
219
|
# than this value, it will be aborted with a 408 status code. Maximum allowed
|
|
164
220
|
# value is 300000ms (5 minutes).
|
|
@@ -176,6 +232,9 @@ module ContextDev
|
|
|
176
232
|
sig do
|
|
177
233
|
override.returns(
|
|
178
234
|
{
|
|
235
|
+
color_scheme:
|
|
236
|
+
ContextDev::WebScreenshotParams::ColorScheme::OrSymbol,
|
|
237
|
+
country: ContextDev::WebScreenshotParams::Country::OrSymbol,
|
|
179
238
|
direct_url: String,
|
|
180
239
|
domain: String,
|
|
181
240
|
full_screenshot:
|
|
@@ -184,6 +243,7 @@ module ContextDev
|
|
|
184
243
|
ContextDev::WebScreenshotParams::HandleCookiePopup::OrSymbol,
|
|
185
244
|
max_age_ms: Integer,
|
|
186
245
|
page: ContextDev::WebScreenshotParams::Page::OrSymbol,
|
|
246
|
+
scroll_offset: Integer,
|
|
187
247
|
timeout_ms: Integer,
|
|
188
248
|
viewport: ContextDev::WebScreenshotParams::Viewport,
|
|
189
249
|
wait_for_ms: Integer,
|
|
@@ -194,6 +254,262 @@ module ContextDev
|
|
|
194
254
|
def to_hash
|
|
195
255
|
end
|
|
196
256
|
|
|
257
|
+
# Optional parameter to choose the site's visual theme in the screenshot. Use
|
|
258
|
+
# 'light' or 'dark' when the site offers both appearances.
|
|
259
|
+
module ColorScheme
|
|
260
|
+
extend ContextDev::Internal::Type::Enum
|
|
261
|
+
|
|
262
|
+
TaggedSymbol =
|
|
263
|
+
T.type_alias do
|
|
264
|
+
T.all(Symbol, ContextDev::WebScreenshotParams::ColorScheme)
|
|
265
|
+
end
|
|
266
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
267
|
+
|
|
268
|
+
LIGHT =
|
|
269
|
+
T.let(
|
|
270
|
+
:light,
|
|
271
|
+
ContextDev::WebScreenshotParams::ColorScheme::TaggedSymbol
|
|
272
|
+
)
|
|
273
|
+
DARK =
|
|
274
|
+
T.let(
|
|
275
|
+
:dark,
|
|
276
|
+
ContextDev::WebScreenshotParams::ColorScheme::TaggedSymbol
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
sig do
|
|
280
|
+
override.returns(
|
|
281
|
+
T::Array[ContextDev::WebScreenshotParams::ColorScheme::TaggedSymbol]
|
|
282
|
+
)
|
|
283
|
+
end
|
|
284
|
+
def self.values
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Two-letter ISO 3166-1 alpha-2 country code for the website request location.
|
|
289
|
+
# When provided, Context.dev fetches the target page from that country.
|
|
290
|
+
module Country
|
|
291
|
+
extend ContextDev::Internal::Type::Enum
|
|
292
|
+
|
|
293
|
+
TaggedSymbol =
|
|
294
|
+
T.type_alias do
|
|
295
|
+
T.all(Symbol, ContextDev::WebScreenshotParams::Country)
|
|
296
|
+
end
|
|
297
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
298
|
+
|
|
299
|
+
AD = T.let(:ad, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
300
|
+
AE = T.let(:ae, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
301
|
+
AF = T.let(:af, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
302
|
+
AG = T.let(:ag, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
303
|
+
AI = T.let(:ai, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
304
|
+
AL = T.let(:al, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
305
|
+
AM = T.let(:am, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
306
|
+
AO = T.let(:ao, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
307
|
+
AR = T.let(:ar, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
308
|
+
AT = T.let(:at, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
309
|
+
AU = T.let(:au, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
310
|
+
AW = T.let(:aw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
311
|
+
AZ = T.let(:az, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
312
|
+
BA = T.let(:ba, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
313
|
+
BB = T.let(:bb, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
314
|
+
BD = T.let(:bd, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
315
|
+
BE = T.let(:be, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
316
|
+
BF = T.let(:bf, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
317
|
+
BG = T.let(:bg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
318
|
+
BH = T.let(:bh, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
319
|
+
BI = T.let(:bi, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
320
|
+
BJ = T.let(:bj, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
321
|
+
BM = T.let(:bm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
322
|
+
BN = T.let(:bn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
323
|
+
BO = T.let(:bo, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
324
|
+
BQ = T.let(:bq, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
325
|
+
BR = T.let(:br, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
326
|
+
BS = T.let(:bs, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
327
|
+
BW = T.let(:bw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
328
|
+
BY = T.let(:by, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
329
|
+
BZ = T.let(:bz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
330
|
+
CA = T.let(:ca, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
331
|
+
CD = T.let(:cd, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
332
|
+
CF = T.let(:cf, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
333
|
+
CG = T.let(:cg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
334
|
+
CH = T.let(:ch, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
335
|
+
CI = T.let(:ci, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
336
|
+
CL = T.let(:cl, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
337
|
+
CM = T.let(:cm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
338
|
+
CN = T.let(:cn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
339
|
+
CO = T.let(:co, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
340
|
+
CR = T.let(:cr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
341
|
+
CV = T.let(:cv, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
342
|
+
CW = T.let(:cw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
343
|
+
CY = T.let(:cy, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
344
|
+
CZ = T.let(:cz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
345
|
+
DE = T.let(:de, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
346
|
+
DJ = T.let(:dj, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
347
|
+
DK = T.let(:dk, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
348
|
+
DM = T.let(:dm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
349
|
+
DO = T.let(:do, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
350
|
+
DZ = T.let(:dz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
351
|
+
EC = T.let(:ec, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
352
|
+
EE = T.let(:ee, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
353
|
+
EG = T.let(:eg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
354
|
+
ES = T.let(:es, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
355
|
+
ET = T.let(:et, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
356
|
+
FI = T.let(:fi, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
357
|
+
FJ = T.let(:fj, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
358
|
+
FR = T.let(:fr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
359
|
+
GA = T.let(:ga, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
360
|
+
GB = T.let(:gb, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
361
|
+
GD = T.let(:gd, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
362
|
+
GE = T.let(:ge, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
363
|
+
GF = T.let(:gf, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
364
|
+
GG = T.let(:gg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
365
|
+
GH = T.let(:gh, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
366
|
+
GM = T.let(:gm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
367
|
+
GN = T.let(:gn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
368
|
+
GP = T.let(:gp, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
369
|
+
GQ = T.let(:gq, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
370
|
+
GR = T.let(:gr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
371
|
+
GT = T.let(:gt, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
372
|
+
GU = T.let(:gu, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
373
|
+
GW = T.let(:gw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
374
|
+
GY = T.let(:gy, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
375
|
+
HK = T.let(:hk, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
376
|
+
HN = T.let(:hn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
377
|
+
HR = T.let(:hr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
378
|
+
HT = T.let(:ht, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
379
|
+
HU = T.let(:hu, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
380
|
+
ID = T.let(:id, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
381
|
+
IE = T.let(:ie, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
382
|
+
IL = T.let(:il, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
383
|
+
IM = T.let(:im, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
384
|
+
IN = T.let(:in, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
385
|
+
IQ = T.let(:iq, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
386
|
+
IR = T.let(:ir, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
387
|
+
IS = T.let(:is, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
388
|
+
IT = T.let(:it, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
389
|
+
JE = T.let(:je, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
390
|
+
JM = T.let(:jm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
391
|
+
JO = T.let(:jo, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
392
|
+
JP = T.let(:jp, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
393
|
+
KE = T.let(:ke, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
394
|
+
KG = T.let(:kg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
395
|
+
KH = T.let(:kh, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
396
|
+
KN = T.let(:kn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
397
|
+
KR = T.let(:kr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
398
|
+
KW = T.let(:kw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
399
|
+
KY = T.let(:ky, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
400
|
+
KZ = T.let(:kz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
401
|
+
LA = T.let(:la, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
402
|
+
LB = T.let(:lb, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
403
|
+
LC = T.let(:lc, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
404
|
+
LK = T.let(:lk, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
405
|
+
LR = T.let(:lr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
406
|
+
LS = T.let(:ls, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
407
|
+
LT = T.let(:lt, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
408
|
+
LU = T.let(:lu, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
409
|
+
LV = T.let(:lv, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
410
|
+
LY = T.let(:ly, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
411
|
+
MA = T.let(:ma, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
412
|
+
MC = T.let(:mc, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
413
|
+
MD = T.let(:md, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
414
|
+
ME = T.let(:me, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
415
|
+
MF = T.let(:mf, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
416
|
+
MG = T.let(:mg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
417
|
+
MK = T.let(:mk, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
418
|
+
ML = T.let(:ml, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
419
|
+
MM = T.let(:mm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
420
|
+
MN = T.let(:mn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
421
|
+
MO = T.let(:mo, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
422
|
+
MQ = T.let(:mq, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
423
|
+
MR = T.let(:mr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
424
|
+
MT = T.let(:mt, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
425
|
+
MU = T.let(:mu, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
426
|
+
MV = T.let(:mv, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
427
|
+
MW = T.let(:mw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
428
|
+
MX = T.let(:mx, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
429
|
+
MY = T.let(:my, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
430
|
+
MZ = T.let(:mz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
431
|
+
NA = T.let(:na, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
432
|
+
NC = T.let(:nc, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
433
|
+
NE = T.let(:ne, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
434
|
+
NG = T.let(:ng, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
435
|
+
NI = T.let(:ni, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
436
|
+
NL = T.let(:nl, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
437
|
+
NO = T.let(:no, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
438
|
+
NP = T.let(:np, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
439
|
+
NZ = T.let(:nz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
440
|
+
OM = T.let(:om, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
441
|
+
PA = T.let(:pa, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
442
|
+
PE = T.let(:pe, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
443
|
+
PF = T.let(:pf, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
444
|
+
PG = T.let(:pg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
445
|
+
PH = T.let(:ph, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
446
|
+
PK = T.let(:pk, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
447
|
+
PL = T.let(:pl, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
448
|
+
PR = T.let(:pr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
449
|
+
PS = T.let(:ps, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
450
|
+
PT = T.let(:pt, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
451
|
+
PY = T.let(:py, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
452
|
+
QA = T.let(:qa, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
453
|
+
RE = T.let(:re, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
454
|
+
RO = T.let(:ro, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
455
|
+
RS = T.let(:rs, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
456
|
+
RU = T.let(:ru, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
457
|
+
RW = T.let(:rw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
458
|
+
SA = T.let(:sa, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
459
|
+
SC = T.let(:sc, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
460
|
+
SD = T.let(:sd, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
461
|
+
SE = T.let(:se, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
462
|
+
SG = T.let(:sg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
463
|
+
SI = T.let(:si, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
464
|
+
SK = T.let(:sk, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
465
|
+
SL = T.let(:sl, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
466
|
+
SM = T.let(:sm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
467
|
+
SN = T.let(:sn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
468
|
+
SO = T.let(:so, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
469
|
+
SR = T.let(:sr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
470
|
+
SS = T.let(:ss, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
471
|
+
ST = T.let(:st, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
472
|
+
SV = T.let(:sv, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
473
|
+
SX = T.let(:sx, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
474
|
+
SY = T.let(:sy, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
475
|
+
SZ = T.let(:sz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
476
|
+
TC = T.let(:tc, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
477
|
+
TD = T.let(:td, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
478
|
+
TG = T.let(:tg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
479
|
+
TH = T.let(:th, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
480
|
+
TJ = T.let(:tj, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
481
|
+
TL = T.let(:tl, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
482
|
+
TM = T.let(:tm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
483
|
+
TN = T.let(:tn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
484
|
+
TR = T.let(:tr, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
485
|
+
TT = T.let(:tt, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
486
|
+
TW = T.let(:tw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
487
|
+
TZ = T.let(:tz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
488
|
+
UA = T.let(:ua, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
489
|
+
UG = T.let(:ug, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
490
|
+
US = T.let(:us, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
491
|
+
UY = T.let(:uy, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
492
|
+
UZ = T.let(:uz, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
493
|
+
VC = T.let(:vc, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
494
|
+
VE = T.let(:ve, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
495
|
+
VG = T.let(:vg, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
496
|
+
VI = T.let(:vi, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
497
|
+
VN = T.let(:vn, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
498
|
+
YE = T.let(:ye, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
499
|
+
YT = T.let(:yt, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
500
|
+
ZA = T.let(:za, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
501
|
+
ZM = T.let(:zm, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
502
|
+
ZW = T.let(:zw, ContextDev::WebScreenshotParams::Country::TaggedSymbol)
|
|
503
|
+
|
|
504
|
+
sig do
|
|
505
|
+
override.returns(
|
|
506
|
+
T::Array[ContextDev::WebScreenshotParams::Country::TaggedSymbol]
|
|
507
|
+
)
|
|
508
|
+
end
|
|
509
|
+
def self.values
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
|
|
197
513
|
# Optional parameter to determine screenshot type. If 'true', takes a full page
|
|
198
514
|
# screenshot capturing all content. If 'false' or not provided, takes a viewport
|
|
199
515
|
# screenshot (standard browser view).
|