puppeteer-ruby 0.0.12 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -14
- data/.github/workflows/docs.yml +45 -0
- data/.github/workflows/reviewdog.yml +15 -0
- data/README.md +52 -1
- data/lib/puppeteer.rb +10 -2
- data/lib/puppeteer/browser.rb +53 -34
- data/lib/puppeteer/browser_context.rb +35 -5
- data/lib/puppeteer/cdp_session.rb +3 -19
- data/lib/puppeteer/concurrent_ruby_utils.rb +6 -0
- data/lib/puppeteer/connection.rb +9 -16
- data/lib/puppeteer/debug_print.rb +1 -1
- data/lib/puppeteer/define_async_method.rb +23 -0
- data/lib/puppeteer/dom_world.rb +67 -78
- data/lib/puppeteer/element_handle.rb +19 -47
- data/lib/puppeteer/emulation_manager.rb +2 -6
- data/lib/puppeteer/env.rb +18 -0
- data/lib/puppeteer/execution_context.rb +1 -6
- data/lib/puppeteer/frame.rb +34 -39
- data/lib/puppeteer/frame_manager.rb +7 -25
- data/lib/puppeteer/js_handle.rb +3 -12
- data/lib/puppeteer/keyboard.rb +9 -29
- data/lib/puppeteer/launcher/chrome.rb +9 -7
- data/lib/puppeteer/mouse.rb +20 -24
- data/lib/puppeteer/network_manager.rb +163 -5
- data/lib/puppeteer/page.rb +213 -179
- data/lib/puppeteer/page/pdf_options.rb +166 -0
- data/lib/puppeteer/remote_object.rb +2 -5
- data/lib/puppeteer/request.rb +330 -0
- data/lib/puppeteer/response.rb +113 -0
- data/lib/puppeteer/touch_screen.rb +2 -7
- data/lib/puppeteer/version.rb +1 -1
- data/lib/puppeteer/wait_task.rb +2 -4
- data/lib/puppeteer/web_socket.rb +7 -0
- data/puppeteer-ruby.gemspec +2 -1
- metadata +25 -103
- data/docs/Puppeteer.html +0 -2338
- data/docs/Puppeteer/AsyncAwaitBehavior.html +0 -105
- data/docs/Puppeteer/Browser.html +0 -2258
- data/docs/Puppeteer/BrowserContext.html +0 -809
- data/docs/Puppeteer/BrowserFetcher.html +0 -214
- data/docs/Puppeteer/BrowserRunner.html +0 -914
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +0 -477
- data/docs/Puppeteer/CDPSession.html +0 -813
- data/docs/Puppeteer/CDPSession/Error.html +0 -124
- data/docs/Puppeteer/ConcurrentRubyUtils.html +0 -438
- data/docs/Puppeteer/Connection.html +0 -964
- data/docs/Puppeteer/Connection/MessageCallback.html +0 -434
- data/docs/Puppeteer/Connection/ProtocolError.html +0 -216
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +0 -217
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +0 -244
- data/docs/Puppeteer/ConsoleMessage.html +0 -565
- data/docs/Puppeteer/ConsoleMessage/Location.html +0 -433
- data/docs/Puppeteer/DOMWorld.html +0 -2219
- data/docs/Puppeteer/DOMWorld/DetachedError.html +0 -124
- data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +0 -124
- data/docs/Puppeteer/DebugPrint.html +0 -233
- data/docs/Puppeteer/Device.html +0 -470
- data/docs/Puppeteer/Devices.html +0 -139
- data/docs/Puppeteer/ElementHandle.html +0 -2542
- data/docs/Puppeteer/ElementHandle/BoundingBox.html +0 -507
- data/docs/Puppeteer/ElementHandle/BoxModel.html +0 -404
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +0 -206
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +0 -206
- data/docs/Puppeteer/ElementHandle/Point.html +0 -492
- data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +0 -124
- data/docs/Puppeteer/EmulationManager.html +0 -454
- data/docs/Puppeteer/EventCallbackable.html +0 -499
- data/docs/Puppeteer/EventCallbackable/EventListeners.html +0 -435
- data/docs/Puppeteer/ExecutionContext.html +0 -998
- data/docs/Puppeteer/ExecutionContext/EvaluationError.html +0 -124
- data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +0 -357
- data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +0 -389
- data/docs/Puppeteer/FileChooser.html +0 -455
- data/docs/Puppeteer/Frame.html +0 -3813
- data/docs/Puppeteer/FrameManager.html +0 -2410
- data/docs/Puppeteer/FrameManager/NavigationError.html +0 -124
- data/docs/Puppeteer/IfPresent.html +0 -222
- data/docs/Puppeteer/JSHandle.html +0 -1352
- data/docs/Puppeteer/Keyboard.html +0 -1557
- data/docs/Puppeteer/Keyboard/KeyDefinition.html +0 -831
- data/docs/Puppeteer/Keyboard/KeyDescription.html +0 -603
- data/docs/Puppeteer/Launcher.html +0 -237
- data/docs/Puppeteer/Launcher/Base.html +0 -385
- data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +0 -124
- data/docs/Puppeteer/Launcher/BrowserOptions.html +0 -441
- data/docs/Puppeteer/Launcher/Chrome.html +0 -669
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +0 -382
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +0 -531
- data/docs/Puppeteer/Launcher/LaunchOptions.html +0 -893
- data/docs/Puppeteer/LifecycleWatcher.html +0 -834
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +0 -363
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +0 -206
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +0 -124
- data/docs/Puppeteer/Mouse.html +0 -1095
- data/docs/Puppeteer/Mouse/Button.html +0 -136
- data/docs/Puppeteer/NetworkManager.html +0 -901
- data/docs/Puppeteer/NetworkManager/Credentials.html +0 -385
- data/docs/Puppeteer/Page.html +0 -6173
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +0 -206
- data/docs/Puppeteer/Page/ScreenshotOptions.html +0 -845
- data/docs/Puppeteer/Page/ScriptTag.html +0 -555
- data/docs/Puppeteer/Page/StyleTag.html +0 -448
- data/docs/Puppeteer/Page/TargetCrashedError.html +0 -124
- data/docs/Puppeteer/RemoteObject.html +0 -1087
- data/docs/Puppeteer/Target.html +0 -1336
- data/docs/Puppeteer/Target/InitializeFailure.html +0 -124
- data/docs/Puppeteer/Target/TargetInfo.html +0 -729
- data/docs/Puppeteer/TimeoutError.html +0 -135
- data/docs/Puppeteer/TimeoutSettings.html +0 -496
- data/docs/Puppeteer/TouchScreen.html +0 -464
- data/docs/Puppeteer/Viewport.html +0 -837
- data/docs/Puppeteer/WaitTask.html +0 -637
- data/docs/Puppeteer/WaitTask/TerminatedError.html +0 -124
- data/docs/Puppeteer/WaitTask/TimeoutError.html +0 -206
- data/docs/Puppeteer/WebSocket.html +0 -673
- data/docs/Puppeteer/WebSocket/DriverImpl.html +0 -412
- data/docs/Puppeteer/WebSocket/TransportError.html +0 -124
- data/docs/Puppeteer/WebSocketTransport.html +0 -600
- data/docs/Puppeteer/WebSocktTransportError.html +0 -124
- data/docs/_index.html +0 -816
- data/docs/class_list.html +0 -51
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -496
- data/docs/file.README.html +0 -125
- data/docs/file_list.html +0 -56
- data/docs/frames.html +0 -17
- data/docs/index.html +0 -125
- data/docs/js/app.js +0 -314
- data/docs/js/full_list.js +0 -216
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -4115
- data/docs/top-level-namespace.html +0 -126
- data/lib/puppeteer/async_await_behavior.rb +0 -38
@@ -1,893 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: Puppeteer::Launcher::LaunchOptions
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.24
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
|
-
|
17
|
-
<script type="text/javascript">
|
18
|
-
pathId = "Puppeteer::Launcher::LaunchOptions";
|
19
|
-
relpath = '../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../_index.html">Index (L)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span> » <span class='title'><span class='object_link'><a href="../Launcher.html" title="Puppeteer::Launcher (module)">Launcher</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">LaunchOptions</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Class: Puppeteer::Launcher::LaunchOptions
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">Puppeteer::Launcher::LaunchOptions</li>
|
78
|
-
|
79
|
-
</ul>
|
80
|
-
<a href="#" class="inheritanceTree">show all</a>
|
81
|
-
|
82
|
-
</dd>
|
83
|
-
</dl>
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<dl>
|
96
|
-
<dt>Defined in:</dt>
|
97
|
-
<dd>lib/puppeteer/launcher/launch_options.rb</dd>
|
98
|
-
</dl>
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
107
|
-
<ul class="summary">
|
108
|
-
|
109
|
-
<li class="public ">
|
110
|
-
<span class="summary_signature">
|
111
|
-
|
112
|
-
<a href="#env-instance_method" title="#env (instance method)">#<strong>env</strong> ⇒ Object </a>
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
</span>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<span class="note title readonly">readonly</span>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
<span class="summary_desc"><div class='inline'>
|
132
|
-
<p>Returns the value of attribute env.</p>
|
133
|
-
</div></span>
|
134
|
-
|
135
|
-
</li>
|
136
|
-
|
137
|
-
|
138
|
-
<li class="public ">
|
139
|
-
<span class="summary_signature">
|
140
|
-
|
141
|
-
<a href="#executable_path-instance_method" title="#executable_path (instance method)">#<strong>executable_path</strong> ⇒ Object </a>
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
</span>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<span class="note title readonly">readonly</span>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
<span class="summary_desc"><div class='inline'>
|
161
|
-
<p>Returns the value of attribute executable_path.</p>
|
162
|
-
</div></span>
|
163
|
-
|
164
|
-
</li>
|
165
|
-
|
166
|
-
|
167
|
-
<li class="public ">
|
168
|
-
<span class="summary_signature">
|
169
|
-
|
170
|
-
<a href="#ignore_default_args-instance_method" title="#ignore_default_args (instance method)">#<strong>ignore_default_args</strong> ⇒ Object </a>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
</span>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<span class="note title readonly">readonly</span>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<span class="summary_desc"><div class='inline'>
|
190
|
-
<p>Returns the value of attribute ignore_default_args.</p>
|
191
|
-
</div></span>
|
192
|
-
|
193
|
-
</li>
|
194
|
-
|
195
|
-
|
196
|
-
<li class="public ">
|
197
|
-
<span class="summary_signature">
|
198
|
-
|
199
|
-
<a href="#timeout-instance_method" title="#timeout (instance method)">#<strong>timeout</strong> ⇒ Object </a>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
</span>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<span class="note title readonly">readonly</span>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
<span class="summary_desc"><div class='inline'>
|
219
|
-
<p>Returns the value of attribute timeout.</p>
|
220
|
-
</div></span>
|
221
|
-
|
222
|
-
</li>
|
223
|
-
|
224
|
-
|
225
|
-
</ul>
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
<h2>
|
232
|
-
Instance Method Summary
|
233
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
234
|
-
</h2>
|
235
|
-
|
236
|
-
<ul class="summary">
|
237
|
-
|
238
|
-
<li class="public ">
|
239
|
-
<span class="summary_signature">
|
240
|
-
|
241
|
-
<a href="#dumpio%3F-instance_method" title="#dumpio? (instance method)">#<strong>dumpio?</strong> ⇒ Boolean </a>
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
</span>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
256
|
-
|
257
|
-
</li>
|
258
|
-
|
259
|
-
|
260
|
-
<li class="public ">
|
261
|
-
<span class="summary_signature">
|
262
|
-
|
263
|
-
<a href="#handle_SIGHUP%3F-instance_method" title="#handle_SIGHUP? (instance method)">#<strong>handle_SIGHUP?</strong> ⇒ Boolean </a>
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
</span>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
278
|
-
|
279
|
-
</li>
|
280
|
-
|
281
|
-
|
282
|
-
<li class="public ">
|
283
|
-
<span class="summary_signature">
|
284
|
-
|
285
|
-
<a href="#handle_SIGINT%3F-instance_method" title="#handle_SIGINT? (instance method)">#<strong>handle_SIGINT?</strong> ⇒ Boolean </a>
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
</span>
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
300
|
-
|
301
|
-
</li>
|
302
|
-
|
303
|
-
|
304
|
-
<li class="public ">
|
305
|
-
<span class="summary_signature">
|
306
|
-
|
307
|
-
<a href="#handle_SIGTERM%3F-instance_method" title="#handle_SIGTERM? (instance method)">#<strong>handle_SIGTERM?</strong> ⇒ Boolean </a>
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
</span>
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
322
|
-
|
323
|
-
</li>
|
324
|
-
|
325
|
-
|
326
|
-
<li class="public ">
|
327
|
-
<span class="summary_signature">
|
328
|
-
|
329
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(options) ⇒ LaunchOptions </a>
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
</span>
|
334
|
-
|
335
|
-
|
336
|
-
<span class="note title constructor">constructor</span>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
<span class="summary_desc"><div class='inline'>
|
346
|
-
<p>A new instance of LaunchOptions.</p>
|
347
|
-
</div></span>
|
348
|
-
|
349
|
-
</li>
|
350
|
-
|
351
|
-
|
352
|
-
<li class="public ">
|
353
|
-
<span class="summary_signature">
|
354
|
-
|
355
|
-
<a href="#pipe%3F-instance_method" title="#pipe? (instance method)">#<strong>pipe?</strong> ⇒ Boolean </a>
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
</span>
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
370
|
-
|
371
|
-
</li>
|
372
|
-
|
373
|
-
|
374
|
-
</ul>
|
375
|
-
|
376
|
-
|
377
|
-
<div id="constructor_details" class="method_details_list">
|
378
|
-
<h2>Constructor Details</h2>
|
379
|
-
|
380
|
-
<div class="method_details first">
|
381
|
-
<h3 class="signature first" id="initialize-instance_method">
|
382
|
-
|
383
|
-
#<strong>initialize</strong>(options) ⇒ <tt><span class='object_link'><a href="" title="Puppeteer::Launcher::LaunchOptions (class)">LaunchOptions</a></span></tt>
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
</h3><div class="docstring">
|
390
|
-
<div class="discussion">
|
391
|
-
|
392
|
-
<p>Returns a new instance of LaunchOptions.</p>
|
393
|
-
|
394
|
-
|
395
|
-
</div>
|
396
|
-
</div>
|
397
|
-
<div class="tags">
|
398
|
-
|
399
|
-
|
400
|
-
</div><table class="source_code">
|
401
|
-
<tr>
|
402
|
-
<td>
|
403
|
-
<pre class="lines">
|
404
|
-
|
405
|
-
|
406
|
-
34
|
407
|
-
35
|
408
|
-
36
|
409
|
-
37
|
410
|
-
38
|
411
|
-
39
|
412
|
-
40
|
413
|
-
41
|
414
|
-
42
|
415
|
-
43
|
416
|
-
44</pre>
|
417
|
-
</td>
|
418
|
-
<td>
|
419
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 34</span>
|
420
|
-
|
421
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
422
|
-
<span class='ivar'>@executable_path</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:executable_path</span><span class='rbracket'>]</span>
|
423
|
-
<span class='ivar'>@ignore_default_args</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:ignore_default_args</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>false</span>
|
424
|
-
<span class='ivar'>@handle_SIGINT</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:handle_SIGINT</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>true</span>
|
425
|
-
<span class='ivar'>@handle_SIGTERM</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:handle_SIGTERM</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>true</span>
|
426
|
-
<span class='ivar'>@handle_SIGHUP</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:handle_SIGHUP</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>true</span>
|
427
|
-
<span class='ivar'>@timeout</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:timeout</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='int'>30000</span>
|
428
|
-
<span class='ivar'>@dumpio</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:dumpio</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>false</span>
|
429
|
-
<span class='ivar'>@env</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:env</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'>ENV</span>
|
430
|
-
<span class='ivar'>@pipe</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:pipe</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>false</span>
|
431
|
-
<span class='kw'>end</span></pre>
|
432
|
-
</td>
|
433
|
-
</tr>
|
434
|
-
</table>
|
435
|
-
</div>
|
436
|
-
|
437
|
-
</div>
|
438
|
-
|
439
|
-
<div id="instance_attr_details" class="attr_details">
|
440
|
-
<h2>Instance Attribute Details</h2>
|
441
|
-
|
442
|
-
|
443
|
-
<span id=""></span>
|
444
|
-
<div class="method_details first">
|
445
|
-
<h3 class="signature first" id="env-instance_method">
|
446
|
-
|
447
|
-
#<strong>env</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
</h3><div class="docstring">
|
454
|
-
<div class="discussion">
|
455
|
-
|
456
|
-
<p>Returns the value of attribute env.</p>
|
457
|
-
|
458
|
-
|
459
|
-
</div>
|
460
|
-
</div>
|
461
|
-
<div class="tags">
|
462
|
-
|
463
|
-
|
464
|
-
</div><table class="source_code">
|
465
|
-
<tr>
|
466
|
-
<td>
|
467
|
-
<pre class="lines">
|
468
|
-
|
469
|
-
|
470
|
-
46
|
471
|
-
47
|
472
|
-
48</pre>
|
473
|
-
</td>
|
474
|
-
<td>
|
475
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 46</span>
|
476
|
-
|
477
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_env'>env</span>
|
478
|
-
<span class='ivar'>@env</span>
|
479
|
-
<span class='kw'>end</span></pre>
|
480
|
-
</td>
|
481
|
-
</tr>
|
482
|
-
</table>
|
483
|
-
</div>
|
484
|
-
|
485
|
-
|
486
|
-
<span id=""></span>
|
487
|
-
<div class="method_details ">
|
488
|
-
<h3 class="signature " id="executable_path-instance_method">
|
489
|
-
|
490
|
-
#<strong>executable_path</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
</h3><div class="docstring">
|
497
|
-
<div class="discussion">
|
498
|
-
|
499
|
-
<p>Returns the value of attribute executable_path.</p>
|
500
|
-
|
501
|
-
|
502
|
-
</div>
|
503
|
-
</div>
|
504
|
-
<div class="tags">
|
505
|
-
|
506
|
-
|
507
|
-
</div><table class="source_code">
|
508
|
-
<tr>
|
509
|
-
<td>
|
510
|
-
<pre class="lines">
|
511
|
-
|
512
|
-
|
513
|
-
46
|
514
|
-
47
|
515
|
-
48</pre>
|
516
|
-
</td>
|
517
|
-
<td>
|
518
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 46</span>
|
519
|
-
|
520
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_executable_path'>executable_path</span>
|
521
|
-
<span class='ivar'>@executable_path</span>
|
522
|
-
<span class='kw'>end</span></pre>
|
523
|
-
</td>
|
524
|
-
</tr>
|
525
|
-
</table>
|
526
|
-
</div>
|
527
|
-
|
528
|
-
|
529
|
-
<span id=""></span>
|
530
|
-
<div class="method_details ">
|
531
|
-
<h3 class="signature " id="ignore_default_args-instance_method">
|
532
|
-
|
533
|
-
#<strong>ignore_default_args</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
</h3><div class="docstring">
|
540
|
-
<div class="discussion">
|
541
|
-
|
542
|
-
<p>Returns the value of attribute ignore_default_args.</p>
|
543
|
-
|
544
|
-
|
545
|
-
</div>
|
546
|
-
</div>
|
547
|
-
<div class="tags">
|
548
|
-
|
549
|
-
|
550
|
-
</div><table class="source_code">
|
551
|
-
<tr>
|
552
|
-
<td>
|
553
|
-
<pre class="lines">
|
554
|
-
|
555
|
-
|
556
|
-
46
|
557
|
-
47
|
558
|
-
48</pre>
|
559
|
-
</td>
|
560
|
-
<td>
|
561
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 46</span>
|
562
|
-
|
563
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_ignore_default_args'>ignore_default_args</span>
|
564
|
-
<span class='ivar'>@ignore_default_args</span>
|
565
|
-
<span class='kw'>end</span></pre>
|
566
|
-
</td>
|
567
|
-
</tr>
|
568
|
-
</table>
|
569
|
-
</div>
|
570
|
-
|
571
|
-
|
572
|
-
<span id=""></span>
|
573
|
-
<div class="method_details ">
|
574
|
-
<h3 class="signature " id="timeout-instance_method">
|
575
|
-
|
576
|
-
#<strong>timeout</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
</h3><div class="docstring">
|
583
|
-
<div class="discussion">
|
584
|
-
|
585
|
-
<p>Returns the value of attribute timeout.</p>
|
586
|
-
|
587
|
-
|
588
|
-
</div>
|
589
|
-
</div>
|
590
|
-
<div class="tags">
|
591
|
-
|
592
|
-
|
593
|
-
</div><table class="source_code">
|
594
|
-
<tr>
|
595
|
-
<td>
|
596
|
-
<pre class="lines">
|
597
|
-
|
598
|
-
|
599
|
-
46
|
600
|
-
47
|
601
|
-
48</pre>
|
602
|
-
</td>
|
603
|
-
<td>
|
604
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 46</span>
|
605
|
-
|
606
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_timeout'>timeout</span>
|
607
|
-
<span class='ivar'>@timeout</span>
|
608
|
-
<span class='kw'>end</span></pre>
|
609
|
-
</td>
|
610
|
-
</tr>
|
611
|
-
</table>
|
612
|
-
</div>
|
613
|
-
|
614
|
-
</div>
|
615
|
-
|
616
|
-
|
617
|
-
<div id="instance_method_details" class="method_details_list">
|
618
|
-
<h2>Instance Method Details</h2>
|
619
|
-
|
620
|
-
|
621
|
-
<div class="method_details first">
|
622
|
-
<h3 class="signature first" id="dumpio?-instance_method">
|
623
|
-
|
624
|
-
#<strong>dumpio?</strong> ⇒ <tt>Boolean</tt>
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
</h3><div class="docstring">
|
631
|
-
<div class="discussion">
|
632
|
-
|
633
|
-
|
634
|
-
</div>
|
635
|
-
</div>
|
636
|
-
<div class="tags">
|
637
|
-
|
638
|
-
<p class="tag_title">Returns:</p>
|
639
|
-
<ul class="return">
|
640
|
-
|
641
|
-
<li>
|
642
|
-
|
643
|
-
|
644
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
</li>
|
649
|
-
|
650
|
-
</ul>
|
651
|
-
|
652
|
-
</div><table class="source_code">
|
653
|
-
<tr>
|
654
|
-
<td>
|
655
|
-
<pre class="lines">
|
656
|
-
|
657
|
-
|
658
|
-
60
|
659
|
-
61
|
660
|
-
62</pre>
|
661
|
-
</td>
|
662
|
-
<td>
|
663
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 60</span>
|
664
|
-
|
665
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_dumpio?'>dumpio?</span>
|
666
|
-
<span class='ivar'>@dumpio</span>
|
667
|
-
<span class='kw'>end</span></pre>
|
668
|
-
</td>
|
669
|
-
</tr>
|
670
|
-
</table>
|
671
|
-
</div>
|
672
|
-
|
673
|
-
<div class="method_details ">
|
674
|
-
<h3 class="signature " id="handle_SIGHUP?-instance_method">
|
675
|
-
|
676
|
-
#<strong>handle_SIGHUP?</strong> ⇒ <tt>Boolean</tt>
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
</h3><div class="docstring">
|
683
|
-
<div class="discussion">
|
684
|
-
|
685
|
-
|
686
|
-
</div>
|
687
|
-
</div>
|
688
|
-
<div class="tags">
|
689
|
-
|
690
|
-
<p class="tag_title">Returns:</p>
|
691
|
-
<ul class="return">
|
692
|
-
|
693
|
-
<li>
|
694
|
-
|
695
|
-
|
696
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
</li>
|
701
|
-
|
702
|
-
</ul>
|
703
|
-
|
704
|
-
</div><table class="source_code">
|
705
|
-
<tr>
|
706
|
-
<td>
|
707
|
-
<pre class="lines">
|
708
|
-
|
709
|
-
|
710
|
-
56
|
711
|
-
57
|
712
|
-
58</pre>
|
713
|
-
</td>
|
714
|
-
<td>
|
715
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 56</span>
|
716
|
-
|
717
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_handle_SIGHUP?'>handle_SIGHUP?</span>
|
718
|
-
<span class='ivar'>@handle_SIGHUP</span>
|
719
|
-
<span class='kw'>end</span></pre>
|
720
|
-
</td>
|
721
|
-
</tr>
|
722
|
-
</table>
|
723
|
-
</div>
|
724
|
-
|
725
|
-
<div class="method_details ">
|
726
|
-
<h3 class="signature " id="handle_SIGINT?-instance_method">
|
727
|
-
|
728
|
-
#<strong>handle_SIGINT?</strong> ⇒ <tt>Boolean</tt>
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
</h3><div class="docstring">
|
735
|
-
<div class="discussion">
|
736
|
-
|
737
|
-
|
738
|
-
</div>
|
739
|
-
</div>
|
740
|
-
<div class="tags">
|
741
|
-
|
742
|
-
<p class="tag_title">Returns:</p>
|
743
|
-
<ul class="return">
|
744
|
-
|
745
|
-
<li>
|
746
|
-
|
747
|
-
|
748
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
</li>
|
753
|
-
|
754
|
-
</ul>
|
755
|
-
|
756
|
-
</div><table class="source_code">
|
757
|
-
<tr>
|
758
|
-
<td>
|
759
|
-
<pre class="lines">
|
760
|
-
|
761
|
-
|
762
|
-
48
|
763
|
-
49
|
764
|
-
50</pre>
|
765
|
-
</td>
|
766
|
-
<td>
|
767
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 48</span>
|
768
|
-
|
769
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_handle_SIGINT?'>handle_SIGINT?</span>
|
770
|
-
<span class='ivar'>@handle_SIGINT</span>
|
771
|
-
<span class='kw'>end</span></pre>
|
772
|
-
</td>
|
773
|
-
</tr>
|
774
|
-
</table>
|
775
|
-
</div>
|
776
|
-
|
777
|
-
<div class="method_details ">
|
778
|
-
<h3 class="signature " id="handle_SIGTERM?-instance_method">
|
779
|
-
|
780
|
-
#<strong>handle_SIGTERM?</strong> ⇒ <tt>Boolean</tt>
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
</h3><div class="docstring">
|
787
|
-
<div class="discussion">
|
788
|
-
|
789
|
-
|
790
|
-
</div>
|
791
|
-
</div>
|
792
|
-
<div class="tags">
|
793
|
-
|
794
|
-
<p class="tag_title">Returns:</p>
|
795
|
-
<ul class="return">
|
796
|
-
|
797
|
-
<li>
|
798
|
-
|
799
|
-
|
800
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
</li>
|
805
|
-
|
806
|
-
</ul>
|
807
|
-
|
808
|
-
</div><table class="source_code">
|
809
|
-
<tr>
|
810
|
-
<td>
|
811
|
-
<pre class="lines">
|
812
|
-
|
813
|
-
|
814
|
-
52
|
815
|
-
53
|
816
|
-
54</pre>
|
817
|
-
</td>
|
818
|
-
<td>
|
819
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 52</span>
|
820
|
-
|
821
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_handle_SIGTERM?'>handle_SIGTERM?</span>
|
822
|
-
<span class='ivar'>@handle_SIGTERM</span>
|
823
|
-
<span class='kw'>end</span></pre>
|
824
|
-
</td>
|
825
|
-
</tr>
|
826
|
-
</table>
|
827
|
-
</div>
|
828
|
-
|
829
|
-
<div class="method_details ">
|
830
|
-
<h3 class="signature " id="pipe?-instance_method">
|
831
|
-
|
832
|
-
#<strong>pipe?</strong> ⇒ <tt>Boolean</tt>
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
</h3><div class="docstring">
|
839
|
-
<div class="discussion">
|
840
|
-
|
841
|
-
|
842
|
-
</div>
|
843
|
-
</div>
|
844
|
-
<div class="tags">
|
845
|
-
|
846
|
-
<p class="tag_title">Returns:</p>
|
847
|
-
<ul class="return">
|
848
|
-
|
849
|
-
<li>
|
850
|
-
|
851
|
-
|
852
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
</li>
|
857
|
-
|
858
|
-
</ul>
|
859
|
-
|
860
|
-
</div><table class="source_code">
|
861
|
-
<tr>
|
862
|
-
<td>
|
863
|
-
<pre class="lines">
|
864
|
-
|
865
|
-
|
866
|
-
64
|
867
|
-
65
|
868
|
-
66</pre>
|
869
|
-
</td>
|
870
|
-
<td>
|
871
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/launch_options.rb', line 64</span>
|
872
|
-
|
873
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_pipe?'>pipe?</span>
|
874
|
-
<span class='ivar'>@pipe</span>
|
875
|
-
<span class='kw'>end</span></pre>
|
876
|
-
</td>
|
877
|
-
</tr>
|
878
|
-
</table>
|
879
|
-
</div>
|
880
|
-
|
881
|
-
</div>
|
882
|
-
|
883
|
-
</div>
|
884
|
-
|
885
|
-
<div id="footer">
|
886
|
-
Generated on Tue Jun 23 10:25:01 2020 by
|
887
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
888
|
-
0.9.24 (ruby-2.6.3).
|
889
|
-
</div>
|
890
|
-
|
891
|
-
</div>
|
892
|
-
</body>
|
893
|
-
</html>
|