puppeteer-ruby 0.0.10 → 0.0.15
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 +0 -12
- data/.github/workflows/docs.yml +45 -0
- data/.github/workflows/reviewdog.yml +15 -0
- data/README.md +54 -1
- data/lib/puppeteer.rb +37 -13
- data/lib/puppeteer/browser.rb +39 -26
- data/lib/puppeteer/cdp_session.rb +3 -19
- data/lib/puppeteer/concurrent_ruby_utils.rb +12 -2
- data/lib/puppeteer/connection.rb +16 -16
- data/lib/puppeteer/define_async_method.rb +23 -0
- data/lib/puppeteer/dom_world.rb +58 -71
- data/lib/puppeteer/element_handle.rb +15 -44
- data/lib/puppeteer/emulation_manager.rb +2 -6
- data/lib/puppeteer/event_callbackable.rb +11 -0
- data/lib/puppeteer/execution_context.rb +1 -6
- data/lib/puppeteer/frame.rb +38 -3
- data/lib/puppeteer/frame_manager.rb +7 -25
- data/lib/puppeteer/js_handle.rb +3 -12
- data/lib/puppeteer/keyboard.rb +6 -27
- data/lib/puppeteer/launcher.rb +6 -6
- data/lib/puppeteer/launcher/chrome.rb +10 -8
- data/lib/puppeteer/mouse.rb +8 -33
- data/lib/puppeteer/page.rb +132 -121
- data/lib/puppeteer/page/pdf_options.rb +166 -0
- data/lib/puppeteer/remote_object.rb +2 -5
- data/lib/puppeteer/target.rb +1 -1
- 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_transport.rb +8 -8
- data/puppeteer-ruby.gemspec +1 -1
- data/puppeteer-ruby.png +0 -0
- metadata +9 -102
- data/Dockerfile +0 -6
- data/docker-compose.yml +0 -15
- data/docs/Puppeteer.html +0 -2020
- data/docs/Puppeteer/AsyncAwaitBehavior.html +0 -105
- data/docs/Puppeteer/Browser.html +0 -2148
- 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 -430
- data/docs/Puppeteer/Connection.html +0 -960
- 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/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 -433
- 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 -3677
- 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 -1105
- 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 -5970
- 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/WebSocketTransport.html +0 -600
- data/docs/Puppeteer/WebSocktTransportError.html +0 -124
- data/docs/_index.html +0 -823
- 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 -123
- data/docs/file_list.html +0 -56
- data/docs/frames.html +0 -17
- data/docs/index.html +0 -123
- 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 -4075
- data/docs/top-level-namespace.html +0 -126
- data/lib/puppeteer/async_await_behavior.rb +0 -38
@@ -1,382 +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::Chrome::DefaultArgs
|
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::Chrome::DefaultArgs";
|
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 (D)</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> » <span class='title'><span class='object_link'><a href="../Chrome.html" title="Puppeteer::Launcher::Chrome (class)">Chrome</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">DefaultArgs</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::Chrome::DefaultArgs
|
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::Chrome::DefaultArgs</li>
|
78
|
-
|
79
|
-
</ul>
|
80
|
-
<a href="#" class="inheritanceTree">show all</a>
|
81
|
-
|
82
|
-
</dd>
|
83
|
-
</dl>
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
<dl>
|
91
|
-
<dt>Includes:</dt>
|
92
|
-
<dd>Enumerable</dd>
|
93
|
-
</dl>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<dl>
|
101
|
-
<dt>Defined in:</dt>
|
102
|
-
<dd>lib/puppeteer/launcher/chrome.rb</dd>
|
103
|
-
</dl>
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<h2>
|
116
|
-
Instance Method Summary
|
117
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
118
|
-
</h2>
|
119
|
-
|
120
|
-
<ul class="summary">
|
121
|
-
|
122
|
-
<li class="public ">
|
123
|
-
<span class="summary_signature">
|
124
|
-
|
125
|
-
<a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong>(&block) ⇒ Object </a>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
</span>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
140
|
-
|
141
|
-
</li>
|
142
|
-
|
143
|
-
|
144
|
-
<li class="public ">
|
145
|
-
<span class="summary_signature">
|
146
|
-
|
147
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(chrome_arg_options) ⇒ DefaultArgs </a>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
</span>
|
152
|
-
|
153
|
-
|
154
|
-
<span class="note title constructor">constructor</span>
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<span class="summary_desc"><div class='inline'>
|
164
|
-
<p>A new instance of DefaultArgs.</p>
|
165
|
-
</div></span>
|
166
|
-
|
167
|
-
</li>
|
168
|
-
|
169
|
-
|
170
|
-
</ul>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
<div id="constructor_details" class="method_details_list">
|
175
|
-
<h2>Constructor Details</h2>
|
176
|
-
|
177
|
-
<div class="method_details first">
|
178
|
-
<h3 class="signature first" id="initialize-instance_method">
|
179
|
-
|
180
|
-
#<strong>initialize</strong>(chrome_arg_options) ⇒ <tt><span class='object_link'><a href="" title="Puppeteer::Launcher::Chrome::DefaultArgs (class)">DefaultArgs</a></span></tt>
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
</h3><div class="docstring">
|
187
|
-
<div class="discussion">
|
188
|
-
|
189
|
-
<p>Returns a new instance of DefaultArgs.</p>
|
190
|
-
|
191
|
-
|
192
|
-
</div>
|
193
|
-
</div>
|
194
|
-
<div class="tags">
|
195
|
-
<p class="tag_title">Parameters:</p>
|
196
|
-
<ul class="param">
|
197
|
-
|
198
|
-
<li>
|
199
|
-
|
200
|
-
<span class='name'>options</span>
|
201
|
-
|
202
|
-
|
203
|
-
<span class='type'>(<tt><span class='object_link'><a href="../ChromeArgOptions.html" title="Puppeteer::Launcher::ChromeArgOptions (class)">Launcher::ChromeArgOptions</a></span></tt>)</span>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
</li>
|
208
|
-
|
209
|
-
</ul>
|
210
|
-
|
211
|
-
|
212
|
-
</div><table class="source_code">
|
213
|
-
<tr>
|
214
|
-
<td>
|
215
|
-
<pre class="lines">
|
216
|
-
|
217
|
-
|
218
|
-
83
|
219
|
-
84
|
220
|
-
85
|
221
|
-
86
|
222
|
-
87
|
223
|
-
88
|
224
|
-
89
|
225
|
-
90
|
226
|
-
91
|
227
|
-
92
|
228
|
-
93
|
229
|
-
94
|
230
|
-
95
|
231
|
-
96
|
232
|
-
97
|
233
|
-
98
|
234
|
-
99
|
235
|
-
100
|
236
|
-
101
|
237
|
-
102
|
238
|
-
103
|
239
|
-
104
|
240
|
-
105
|
241
|
-
106
|
242
|
-
107
|
243
|
-
108
|
244
|
-
109
|
245
|
-
110
|
246
|
-
111
|
247
|
-
112
|
248
|
-
113
|
249
|
-
114
|
250
|
-
115
|
251
|
-
116
|
252
|
-
117
|
253
|
-
118
|
254
|
-
119
|
255
|
-
120
|
256
|
-
121
|
257
|
-
122
|
258
|
-
123
|
259
|
-
124
|
260
|
-
125
|
261
|
-
126
|
262
|
-
127
|
263
|
-
128
|
264
|
-
129
|
265
|
-
130
|
266
|
-
131
|
267
|
-
132
|
268
|
-
133</pre>
|
269
|
-
</td>
|
270
|
-
<td>
|
271
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome.rb', line 83</span>
|
272
|
-
|
273
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='rparen'>)</span>
|
274
|
-
<span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
275
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-background-networking</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
276
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--enable-features=NetworkService,NetworkServiceInProcess</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
277
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-background-timer-throttling</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
278
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-backgrounding-occluded-windows</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
279
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-breakpad</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
280
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-client-side-phishing-detection</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
281
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-component-extensions-with-background-pages</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
282
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-default-apps</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
283
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-dev-shm-usage</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
284
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-extensions</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
285
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-features=TranslateUI</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
286
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-hang-monitor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
287
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-ipc-flooding-protection</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
288
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-popup-blocking</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
289
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-prompt-on-repost</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
290
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-renderer-backgrounding</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
291
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--disable-sync</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
292
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--force-color-profile=srgb</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
293
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--metrics-recording-only</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
294
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--no-first-run</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
295
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--enable-automation</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
296
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--password-store=basic</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
297
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--use-mock-keychain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
298
|
-
<span class='rbracket'>]</span>
|
299
|
-
|
300
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='period'>.</span><span class='id identifier rubyid_user_data_dir'>user_data_dir</span>
|
301
|
-
<span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--user-data-dir=</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='period'>.</span><span class='id identifier rubyid_user_data_dir'>user_data_dir</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
302
|
-
<span class='kw'>end</span>
|
303
|
-
|
304
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='period'>.</span><span class='id identifier rubyid_devtools?'>devtools?</span>
|
305
|
-
<span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--auto-open-devtools-for-tabs</span><span class='tstring_end'>'</span></span>
|
306
|
-
<span class='kw'>end</span>
|
307
|
-
|
308
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='period'>.</span><span class='id identifier rubyid_headless?'>headless?</span>
|
309
|
-
<span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span><span class='period'>.</span><span class='id identifier rubyid_concat'>concat</span><span class='lparen'>(</span><span class='lbracket'>[</span>
|
310
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--headless</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
311
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--hide-scrollbars</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
312
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--mute-audio</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
313
|
-
<span class='rbracket'>]</span><span class='rparen'>)</span>
|
314
|
-
<span class='kw'>end</span>
|
315
|
-
|
316
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='period'>.</span><span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_all?'>all?</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_arg'>arg</span><span class='op'>|</span> <span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
317
|
-
<span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>about:blank</span><span class='tstring_end'>'</span></span>
|
318
|
-
<span class='kw'>end</span>
|
319
|
-
|
320
|
-
<span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span><span class='period'>.</span><span class='id identifier rubyid_concat'>concat</span><span class='lparen'>(</span><span class='id identifier rubyid_chrome_arg_options'>chrome_arg_options</span><span class='period'>.</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
321
|
-
|
322
|
-
<span class='ivar'>@chrome_arguments</span> <span class='op'>=</span> <span class='id identifier rubyid_chrome_arguments'>chrome_arguments</span>
|
323
|
-
<span class='kw'>end</span></pre>
|
324
|
-
</td>
|
325
|
-
</tr>
|
326
|
-
</table>
|
327
|
-
</div>
|
328
|
-
|
329
|
-
</div>
|
330
|
-
|
331
|
-
|
332
|
-
<div id="instance_method_details" class="method_details_list">
|
333
|
-
<h2>Instance Method Details</h2>
|
334
|
-
|
335
|
-
|
336
|
-
<div class="method_details first">
|
337
|
-
<h3 class="signature first" id="each-instance_method">
|
338
|
-
|
339
|
-
#<strong>each</strong>(&block) ⇒ <tt>Object</tt>
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
</h3><table class="source_code">
|
346
|
-
<tr>
|
347
|
-
<td>
|
348
|
-
<pre class="lines">
|
349
|
-
|
350
|
-
|
351
|
-
135
|
352
|
-
136
|
353
|
-
137
|
354
|
-
138
|
355
|
-
139</pre>
|
356
|
-
</td>
|
357
|
-
<td>
|
358
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome.rb', line 135</span>
|
359
|
-
|
360
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
361
|
-
<span class='ivar'>@chrome_arguments</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opt'>opt</span><span class='op'>|</span>
|
362
|
-
<span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_opt'>opt</span><span class='rparen'>)</span>
|
363
|
-
<span class='kw'>end</span>
|
364
|
-
<span class='kw'>end</span></pre>
|
365
|
-
</td>
|
366
|
-
</tr>
|
367
|
-
</table>
|
368
|
-
</div>
|
369
|
-
|
370
|
-
</div>
|
371
|
-
|
372
|
-
</div>
|
373
|
-
|
374
|
-
<div id="footer">
|
375
|
-
Generated on Fri Jun 12 12:38:35 2020 by
|
376
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
377
|
-
0.9.24 (ruby-2.6.3).
|
378
|
-
</div>
|
379
|
-
|
380
|
-
</div>
|
381
|
-
</body>
|
382
|
-
</html>
|
@@ -1,531 +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::ChromeArgOptions
|
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::ChromeArgOptions";
|
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 (C)</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">ChromeArgOptions</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::ChromeArgOptions
|
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::ChromeArgOptions</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/chrome_arg_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="#args-instance_method" title="#args (instance method)">#<strong>args</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 args.</p>
|
133
|
-
</div></span>
|
134
|
-
|
135
|
-
</li>
|
136
|
-
|
137
|
-
|
138
|
-
<li class="public ">
|
139
|
-
<span class="summary_signature">
|
140
|
-
|
141
|
-
<a href="#user_data_dir-instance_method" title="#user_data_dir (instance method)">#<strong>user_data_dir</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 user_data_dir.</p>
|
162
|
-
</div></span>
|
163
|
-
|
164
|
-
</li>
|
165
|
-
|
166
|
-
|
167
|
-
</ul>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<h2>
|
174
|
-
Instance Method Summary
|
175
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
176
|
-
</h2>
|
177
|
-
|
178
|
-
<ul class="summary">
|
179
|
-
|
180
|
-
<li class="public ">
|
181
|
-
<span class="summary_signature">
|
182
|
-
|
183
|
-
<a href="#devtools%3F-instance_method" title="#devtools? (instance method)">#<strong>devtools?</strong> ⇒ Boolean </a>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
</span>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
198
|
-
|
199
|
-
</li>
|
200
|
-
|
201
|
-
|
202
|
-
<li class="public ">
|
203
|
-
<span class="summary_signature">
|
204
|
-
|
205
|
-
<a href="#headless%3F-instance_method" title="#headless? (instance method)">#<strong>headless?</strong> ⇒ Boolean </a>
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
</span>
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
220
|
-
|
221
|
-
</li>
|
222
|
-
|
223
|
-
|
224
|
-
<li class="public ">
|
225
|
-
<span class="summary_signature">
|
226
|
-
|
227
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(options) ⇒ ChromeArgOptions </a>
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
</span>
|
232
|
-
|
233
|
-
|
234
|
-
<span class="note title constructor">constructor</span>
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
<span class="summary_desc"><div class='inline'><ul><li>
|
244
|
-
<p>@property boolean= headless * @property Array<string>= args * @property string= userDataDir * @property boolean= devtools.</p>
|
245
|
-
</li></ul>
|
246
|
-
</div></span>
|
247
|
-
|
248
|
-
</li>
|
249
|
-
|
250
|
-
|
251
|
-
</ul>
|
252
|
-
|
253
|
-
|
254
|
-
<div id="constructor_details" class="method_details_list">
|
255
|
-
<h2>Constructor Details</h2>
|
256
|
-
|
257
|
-
<div class="method_details first">
|
258
|
-
<h3 class="signature first" id="initialize-instance_method">
|
259
|
-
|
260
|
-
#<strong>initialize</strong>(options) ⇒ <tt><span class='object_link'><a href="" title="Puppeteer::Launcher::ChromeArgOptions (class)">ChromeArgOptions</a></span></tt>
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
</h3><div class="docstring">
|
267
|
-
<div class="discussion">
|
268
|
-
<ul><li>
|
269
|
-
<p>@property boolean= headless</p>
|
270
|
-
</li><li>
|
271
|
-
<p>@property Array<string>= args</p>
|
272
|
-
</li><li>
|
273
|
-
<p>@property string= userDataDir</p>
|
274
|
-
</li><li>
|
275
|
-
<p>@property boolean= devtools</p>
|
276
|
-
</li></ul>
|
277
|
-
|
278
|
-
|
279
|
-
</div>
|
280
|
-
</div>
|
281
|
-
<div class="tags">
|
282
|
-
|
283
|
-
|
284
|
-
</div><table class="source_code">
|
285
|
-
<tr>
|
286
|
-
<td>
|
287
|
-
<pre class="lines">
|
288
|
-
|
289
|
-
|
290
|
-
29
|
291
|
-
30
|
292
|
-
31
|
293
|
-
32
|
294
|
-
33
|
295
|
-
34
|
296
|
-
35
|
297
|
-
36
|
298
|
-
37</pre>
|
299
|
-
</td>
|
300
|
-
<td>
|
301
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome_arg_options.rb', line 29</span>
|
302
|
-
|
303
|
-
<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>
|
304
|
-
<span class='ivar'>@args</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
305
|
-
<span class='ivar'>@user_data_dir</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:user_data_dir</span><span class='rbracket'>]</span>
|
306
|
-
<span class='ivar'>@devtools</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:devtools</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='kw'>false</span>
|
307
|
-
<span class='ivar'>@headless</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:headless</span><span class='rbracket'>]</span>
|
308
|
-
<span class='kw'>if</span> <span class='ivar'>@headless</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
309
|
-
<span class='ivar'>@headless</span> <span class='op'>=</span> <span class='op'>!</span><span class='ivar'>@devtools</span>
|
310
|
-
<span class='kw'>end</span>
|
311
|
-
<span class='kw'>end</span></pre>
|
312
|
-
</td>
|
313
|
-
</tr>
|
314
|
-
</table>
|
315
|
-
</div>
|
316
|
-
|
317
|
-
</div>
|
318
|
-
|
319
|
-
<div id="instance_attr_details" class="attr_details">
|
320
|
-
<h2>Instance Attribute Details</h2>
|
321
|
-
|
322
|
-
|
323
|
-
<span id=""></span>
|
324
|
-
<div class="method_details first">
|
325
|
-
<h3 class="signature first" id="args-instance_method">
|
326
|
-
|
327
|
-
#<strong>args</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
</h3><div class="docstring">
|
334
|
-
<div class="discussion">
|
335
|
-
|
336
|
-
<p>Returns the value of attribute args.</p>
|
337
|
-
|
338
|
-
|
339
|
-
</div>
|
340
|
-
</div>
|
341
|
-
<div class="tags">
|
342
|
-
|
343
|
-
|
344
|
-
</div><table class="source_code">
|
345
|
-
<tr>
|
346
|
-
<td>
|
347
|
-
<pre class="lines">
|
348
|
-
|
349
|
-
|
350
|
-
39
|
351
|
-
40
|
352
|
-
41</pre>
|
353
|
-
</td>
|
354
|
-
<td>
|
355
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome_arg_options.rb', line 39</span>
|
356
|
-
|
357
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_args'>args</span>
|
358
|
-
<span class='ivar'>@args</span>
|
359
|
-
<span class='kw'>end</span></pre>
|
360
|
-
</td>
|
361
|
-
</tr>
|
362
|
-
</table>
|
363
|
-
</div>
|
364
|
-
|
365
|
-
|
366
|
-
<span id=""></span>
|
367
|
-
<div class="method_details ">
|
368
|
-
<h3 class="signature " id="user_data_dir-instance_method">
|
369
|
-
|
370
|
-
#<strong>user_data_dir</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
</h3><div class="docstring">
|
377
|
-
<div class="discussion">
|
378
|
-
|
379
|
-
<p>Returns the value of attribute user_data_dir.</p>
|
380
|
-
|
381
|
-
|
382
|
-
</div>
|
383
|
-
</div>
|
384
|
-
<div class="tags">
|
385
|
-
|
386
|
-
|
387
|
-
</div><table class="source_code">
|
388
|
-
<tr>
|
389
|
-
<td>
|
390
|
-
<pre class="lines">
|
391
|
-
|
392
|
-
|
393
|
-
39
|
394
|
-
40
|
395
|
-
41</pre>
|
396
|
-
</td>
|
397
|
-
<td>
|
398
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome_arg_options.rb', line 39</span>
|
399
|
-
|
400
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_user_data_dir'>user_data_dir</span>
|
401
|
-
<span class='ivar'>@user_data_dir</span>
|
402
|
-
<span class='kw'>end</span></pre>
|
403
|
-
</td>
|
404
|
-
</tr>
|
405
|
-
</table>
|
406
|
-
</div>
|
407
|
-
|
408
|
-
</div>
|
409
|
-
|
410
|
-
|
411
|
-
<div id="instance_method_details" class="method_details_list">
|
412
|
-
<h2>Instance Method Details</h2>
|
413
|
-
|
414
|
-
|
415
|
-
<div class="method_details first">
|
416
|
-
<h3 class="signature first" id="devtools?-instance_method">
|
417
|
-
|
418
|
-
#<strong>devtools?</strong> ⇒ <tt>Boolean</tt>
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
</h3><div class="docstring">
|
425
|
-
<div class="discussion">
|
426
|
-
|
427
|
-
|
428
|
-
</div>
|
429
|
-
</div>
|
430
|
-
<div class="tags">
|
431
|
-
|
432
|
-
<p class="tag_title">Returns:</p>
|
433
|
-
<ul class="return">
|
434
|
-
|
435
|
-
<li>
|
436
|
-
|
437
|
-
|
438
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
</li>
|
443
|
-
|
444
|
-
</ul>
|
445
|
-
|
446
|
-
</div><table class="source_code">
|
447
|
-
<tr>
|
448
|
-
<td>
|
449
|
-
<pre class="lines">
|
450
|
-
|
451
|
-
|
452
|
-
45
|
453
|
-
46
|
454
|
-
47</pre>
|
455
|
-
</td>
|
456
|
-
<td>
|
457
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome_arg_options.rb', line 45</span>
|
458
|
-
|
459
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_devtools?'>devtools?</span>
|
460
|
-
<span class='ivar'>@devtools</span>
|
461
|
-
<span class='kw'>end</span></pre>
|
462
|
-
</td>
|
463
|
-
</tr>
|
464
|
-
</table>
|
465
|
-
</div>
|
466
|
-
|
467
|
-
<div class="method_details ">
|
468
|
-
<h3 class="signature " id="headless?-instance_method">
|
469
|
-
|
470
|
-
#<strong>headless?</strong> ⇒ <tt>Boolean</tt>
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
</h3><div class="docstring">
|
477
|
-
<div class="discussion">
|
478
|
-
|
479
|
-
|
480
|
-
</div>
|
481
|
-
</div>
|
482
|
-
<div class="tags">
|
483
|
-
|
484
|
-
<p class="tag_title">Returns:</p>
|
485
|
-
<ul class="return">
|
486
|
-
|
487
|
-
<li>
|
488
|
-
|
489
|
-
|
490
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
</li>
|
495
|
-
|
496
|
-
</ul>
|
497
|
-
|
498
|
-
</div><table class="source_code">
|
499
|
-
<tr>
|
500
|
-
<td>
|
501
|
-
<pre class="lines">
|
502
|
-
|
503
|
-
|
504
|
-
41
|
505
|
-
42
|
506
|
-
43</pre>
|
507
|
-
</td>
|
508
|
-
<td>
|
509
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome_arg_options.rb', line 41</span>
|
510
|
-
|
511
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_headless?'>headless?</span>
|
512
|
-
<span class='ivar'>@headless</span>
|
513
|
-
<span class='kw'>end</span></pre>
|
514
|
-
</td>
|
515
|
-
</tr>
|
516
|
-
</table>
|
517
|
-
</div>
|
518
|
-
|
519
|
-
</div>
|
520
|
-
|
521
|
-
</div>
|
522
|
-
|
523
|
-
<div id="footer">
|
524
|
-
Generated on Fri Jun 12 12:38:35 2020 by
|
525
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
526
|
-
0.9.24 (ruby-2.6.3).
|
527
|
-
</div>
|
528
|
-
|
529
|
-
</div>
|
530
|
-
</body>
|
531
|
-
</html>
|