puppeteer-ruby 0.0.11 → 0.0.12
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/README.md +2 -0
- data/docs/Puppeteer.html +414 -96
- data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
- data/docs/Puppeteer/Browser.html +34 -34
- data/docs/Puppeteer/BrowserContext.html +2 -2
- data/docs/Puppeteer/BrowserFetcher.html +1 -1
- data/docs/Puppeteer/BrowserRunner.html +1 -1
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
- data/docs/Puppeteer/CDPSession.html +2 -2
- data/docs/Puppeteer/CDPSession/Error.html +1 -1
- data/docs/Puppeteer/ConcurrentRubyUtils.html +14 -6
- data/docs/Puppeteer/Connection.html +2 -2
- data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
- data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +1 -1
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +1 -1
- data/docs/Puppeteer/ConsoleMessage.html +1 -1
- data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
- data/docs/Puppeteer/DOMWorld.html +1 -1
- data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
- data/docs/Puppeteer/DebugPrint.html +1 -1
- data/docs/Puppeteer/Device.html +1 -1
- data/docs/Puppeteer/Devices.html +1 -1
- data/docs/Puppeteer/ElementHandle.html +1 -1
- data/docs/Puppeteer/ElementHandle/BoundingBox.html +1 -1
- data/docs/Puppeteer/ElementHandle/BoxModel.html +1 -1
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +1 -1
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +1 -1
- data/docs/Puppeteer/ElementHandle/Point.html +1 -1
- data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +1 -1
- data/docs/Puppeteer/EmulationManager.html +1 -1
- data/docs/Puppeteer/EventCallbackable.html +83 -17
- data/docs/Puppeteer/EventCallbackable/EventListeners.html +1 -1
- data/docs/Puppeteer/ExecutionContext.html +1 -1
- data/docs/Puppeteer/ExecutionContext/EvaluationError.html +1 -1
- data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +1 -1
- data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +1 -1
- data/docs/Puppeteer/FileChooser.html +1 -1
- data/docs/Puppeteer/Frame.html +1 -1
- data/docs/Puppeteer/FrameManager.html +2 -2
- data/docs/Puppeteer/FrameManager/NavigationError.html +1 -1
- data/docs/Puppeteer/IfPresent.html +1 -1
- data/docs/Puppeteer/JSHandle.html +1 -1
- data/docs/Puppeteer/Keyboard.html +1 -1
- data/docs/Puppeteer/Keyboard/KeyDefinition.html +1 -1
- data/docs/Puppeteer/Keyboard/KeyDescription.html +1 -1
- data/docs/Puppeteer/Launcher.html +1 -1
- data/docs/Puppeteer/Launcher/Base.html +1 -1
- data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +1 -1
- data/docs/Puppeteer/Launcher/BrowserOptions.html +1 -1
- data/docs/Puppeteer/Launcher/Chrome.html +1 -1
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
- data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
- data/docs/Puppeteer/Mouse.html +1 -1
- data/docs/Puppeteer/Mouse/Button.html +1 -1
- data/docs/Puppeteer/NetworkManager.html +2 -2
- data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
- data/docs/Puppeteer/Page.html +497 -294
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +5 -5
- data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
- data/docs/Puppeteer/Page/ScriptTag.html +24 -24
- data/docs/Puppeteer/Page/StyleTag.html +19 -19
- data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
- data/docs/Puppeteer/RemoteObject.html +1 -1
- data/docs/Puppeteer/Target.html +2 -2
- data/docs/Puppeteer/Target/InitializeFailure.html +1 -1
- data/docs/Puppeteer/Target/TargetInfo.html +1 -1
- data/docs/Puppeteer/TimeoutError.html +1 -1
- data/docs/Puppeteer/TimeoutSettings.html +1 -1
- data/docs/Puppeteer/TouchScreen.html +1 -1
- data/docs/Puppeteer/Viewport.html +1 -1
- data/docs/Puppeteer/WaitTask.html +1 -1
- data/docs/Puppeteer/WaitTask/TerminatedError.html +1 -1
- data/docs/Puppeteer/WaitTask/TimeoutError.html +1 -1
- data/docs/Puppeteer/WebSocket.html +1 -1
- data/docs/Puppeteer/WebSocket/DriverImpl.html +1 -1
- data/docs/Puppeteer/WebSocket/TransportError.html +1 -1
- data/docs/Puppeteer/WebSocketTransport.html +9 -9
- data/docs/_index.html +1 -1
- data/docs/file.README.html +3 -1
- data/docs/index.html +3 -1
- data/docs/method_list.html +581 -557
- data/docs/top-level-namespace.html +1 -1
- data/lib/puppeteer.rb +36 -12
- data/lib/puppeteer/browser.rb +5 -0
- data/lib/puppeteer/concurrent_ruby_utils.rb +6 -2
- data/lib/puppeteer/event_callbackable.rb +11 -0
- data/lib/puppeteer/launcher.rb +6 -6
- data/lib/puppeteer/launcher/chrome.rb +1 -1
- data/lib/puppeteer/page.rb +39 -0
- data/lib/puppeteer/target.rb +1 -1
- data/lib/puppeteer/version.rb +1 -1
- data/lib/puppeteer/web_socket_transport.rb +8 -8
- data/puppeteer-ruby.png +0 -0
- metadata +3 -4
- data/Dockerfile +0 -6
- data/docker-compose.yml +0 -15
|
@@ -175,12 +175,12 @@
|
|
|
175
175
|
<pre class="lines">
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
181
|
|
179
|
+
182
|
|
180
|
+
183</pre>
|
|
181
181
|
</td>
|
|
182
182
|
<td>
|
|
183
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
183
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 181</span>
|
|
184
184
|
|
|
185
185
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>timeout:</span><span class='rparen'>)</span>
|
|
186
186
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>waiting for filechooser failed: timeout </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_timeout'>timeout</span><span class='embexpr_end'>}</span><span class='tstring_content'>ms exceeded</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
</div>
|
|
197
197
|
|
|
198
198
|
<div id="footer">
|
|
199
|
-
Generated on
|
|
199
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
200
200
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
201
201
|
0.9.24 (ruby-2.6.3).
|
|
202
202
|
</div>
|
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
</div>
|
|
836
836
|
|
|
837
837
|
<div id="footer">
|
|
838
|
-
Generated on
|
|
838
|
+
Generated on Tue Jun 23 10:25:01 2020 by
|
|
839
839
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
840
840
|
0.9.24 (ruby-2.6.3).
|
|
841
841
|
</div>
|
|
@@ -341,15 +341,15 @@ if (items.length)
|
|
|
341
341
|
<pre class="lines">
|
|
342
342
|
|
|
343
343
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
344
|
+
413
|
|
345
|
+
414
|
|
346
|
+
415
|
|
347
|
+
416
|
|
348
|
+
417
|
|
349
|
+
418</pre>
|
|
350
350
|
</td>
|
|
351
351
|
<td>
|
|
352
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
352
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 413</span>
|
|
353
353
|
|
|
354
354
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>content:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>type:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
355
355
|
<span class='ivar'>@content</span> <span class='op'>=</span> <span class='id identifier rubyid_content'>content</span>
|
|
@@ -395,12 +395,12 @@ if (items.length)
|
|
|
395
395
|
<pre class="lines">
|
|
396
396
|
|
|
397
397
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
419
|
|
399
|
+
420
|
|
400
|
+
421</pre>
|
|
401
401
|
</td>
|
|
402
402
|
<td>
|
|
403
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
403
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 419</span>
|
|
404
404
|
|
|
405
405
|
<span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span>
|
|
406
406
|
<span class='ivar'>@content</span>
|
|
@@ -438,12 +438,12 @@ if (items.length)
|
|
|
438
438
|
<pre class="lines">
|
|
439
439
|
|
|
440
440
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
441
|
+
419
|
|
442
|
+
420
|
|
443
|
+
421</pre>
|
|
444
444
|
</td>
|
|
445
445
|
<td>
|
|
446
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
446
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 419</span>
|
|
447
447
|
|
|
448
448
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span>
|
|
449
449
|
<span class='ivar'>@path</span>
|
|
@@ -481,12 +481,12 @@ if (items.length)
|
|
|
481
481
|
<pre class="lines">
|
|
482
482
|
|
|
483
483
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
484
|
+
419
|
|
485
|
+
420
|
|
486
|
+
421</pre>
|
|
487
487
|
</td>
|
|
488
488
|
<td>
|
|
489
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
489
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 419</span>
|
|
490
490
|
|
|
491
491
|
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
|
492
492
|
<span class='ivar'>@type</span>
|
|
@@ -524,12 +524,12 @@ if (items.length)
|
|
|
524
524
|
<pre class="lines">
|
|
525
525
|
|
|
526
526
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
527
|
+
419
|
|
528
|
+
420
|
|
529
|
+
421</pre>
|
|
530
530
|
</td>
|
|
531
531
|
<td>
|
|
532
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
532
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 419</span>
|
|
533
533
|
|
|
534
534
|
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
|
535
535
|
<span class='ivar'>@url</span>
|
|
@@ -545,7 +545,7 @@ if (items.length)
|
|
|
545
545
|
</div>
|
|
546
546
|
|
|
547
547
|
<div id="footer">
|
|
548
|
-
Generated on
|
|
548
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
549
549
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
550
550
|
0.9.24 (ruby-2.6.3).
|
|
551
551
|
</div>
|
|
@@ -279,14 +279,14 @@
|
|
|
279
279
|
<pre class="lines">
|
|
280
280
|
|
|
281
281
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
282
|
+
430
|
|
283
|
+
431
|
|
284
|
+
432
|
|
285
|
+
433
|
|
286
|
+
434</pre>
|
|
287
287
|
</td>
|
|
288
288
|
<td>
|
|
289
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
289
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 430</span>
|
|
290
290
|
|
|
291
291
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>content:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
292
292
|
<span class='ivar'>@content</span> <span class='op'>=</span> <span class='id identifier rubyid_content'>content</span>
|
|
@@ -331,12 +331,12 @@
|
|
|
331
331
|
<pre class="lines">
|
|
332
332
|
|
|
333
333
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
334
|
+
435
|
|
335
|
+
436
|
|
336
|
+
437</pre>
|
|
337
337
|
</td>
|
|
338
338
|
<td>
|
|
339
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
339
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 435</span>
|
|
340
340
|
|
|
341
341
|
<span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span>
|
|
342
342
|
<span class='ivar'>@content</span>
|
|
@@ -374,12 +374,12 @@
|
|
|
374
374
|
<pre class="lines">
|
|
375
375
|
|
|
376
376
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
377
|
+
435
|
|
378
|
+
436
|
|
379
|
+
437</pre>
|
|
380
380
|
</td>
|
|
381
381
|
<td>
|
|
382
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
382
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 435</span>
|
|
383
383
|
|
|
384
384
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span>
|
|
385
385
|
<span class='ivar'>@path</span>
|
|
@@ -417,12 +417,12 @@
|
|
|
417
417
|
<pre class="lines">
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
420
|
+
435
|
|
421
|
+
436
|
|
422
|
+
437</pre>
|
|
423
423
|
</td>
|
|
424
424
|
<td>
|
|
425
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
|
425
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 435</span>
|
|
426
426
|
|
|
427
427
|
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
|
428
428
|
<span class='ivar'>@url</span>
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
</div>
|
|
439
439
|
|
|
440
440
|
<div id="footer">
|
|
441
|
-
Generated on
|
|
441
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
442
442
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
443
443
|
0.9.24 (ruby-2.6.3).
|
|
444
444
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.24 (ruby-2.6.3).
|
|
120
120
|
</div>
|
|
@@ -1077,7 +1077,7 @@
|
|
|
1077
1077
|
</div>
|
|
1078
1078
|
|
|
1079
1079
|
<div id="footer">
|
|
1080
|
-
Generated on
|
|
1080
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
|
1081
1081
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1082
1082
|
0.9.24 (ruby-2.6.3).
|
|
1083
1083
|
</div>
|
data/docs/Puppeteer/Target.html
CHANGED
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
<span class='kw'>def</span> <span class='id identifier rubyid_opener'>opener</span>
|
|
1163
1163
|
<span class='id identifier rubyid_opener_id'>opener_id</span> <span class='op'>=</span> <span class='ivar'>@target_info</span><span class='period'>.</span><span class='id identifier rubyid_opener_id'>opener_id</span>
|
|
1164
1164
|
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_opener_id'>opener_id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1165
|
-
<span class='id identifier rubyid_browser'>browser</span><span class='period'>.</span><span class='id identifier
|
|
1165
|
+
<span class='id identifier rubyid_browser'>browser</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:find_target_by_id</span><span class='comma'>,</span> <span class='id identifier rubyid_opener_id'>opener_id</span><span class='rparen'>)</span>
|
|
1166
1166
|
<span class='kw'>end</span></pre>
|
|
1167
1167
|
</td>
|
|
1168
1168
|
</tr>
|
|
@@ -1326,7 +1326,7 @@
|
|
|
1326
1326
|
</div>
|
|
1327
1327
|
|
|
1328
1328
|
<div id="footer">
|
|
1329
|
-
Generated on
|
|
1329
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
1330
1330
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1331
1331
|
0.9.24 (ruby-2.6.3).
|
|
1332
1332
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.24 (ruby-2.6.3).
|
|
120
120
|
</div>
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
</div>
|
|
720
720
|
|
|
721
721
|
<div id="footer">
|
|
722
|
-
Generated on
|
|
722
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
723
723
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
724
724
|
0.9.24 (ruby-2.6.3).
|
|
725
725
|
</div>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
</div>
|
|
126
126
|
|
|
127
127
|
<div id="footer">
|
|
128
|
-
Generated on
|
|
128
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
130
130
|
0.9.24 (ruby-2.6.3).
|
|
131
131
|
</div>
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
</div>
|
|
487
487
|
|
|
488
488
|
<div id="footer">
|
|
489
|
-
Generated on
|
|
489
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
|
490
490
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
491
491
|
0.9.24 (ruby-2.6.3).
|
|
492
492
|
</div>
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
</div>
|
|
455
455
|
|
|
456
456
|
<div id="footer">
|
|
457
|
-
Generated on
|
|
457
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
|
458
458
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
459
459
|
0.9.24 (ruby-2.6.3).
|
|
460
460
|
</div>
|
|
@@ -827,7 +827,7 @@
|
|
|
827
827
|
</div>
|
|
828
828
|
|
|
829
829
|
<div id="footer">
|
|
830
|
-
Generated on
|
|
830
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
831
831
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
832
832
|
0.9.24 (ruby-2.6.3).
|
|
833
833
|
</div>
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
</div>
|
|
628
628
|
|
|
629
629
|
<div id="footer">
|
|
630
|
-
Generated on
|
|
630
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
631
631
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
632
632
|
0.9.24 (ruby-2.6.3).
|
|
633
633
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.24 (ruby-2.6.3).
|
|
120
120
|
</div>
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
</div>
|
|
197
197
|
|
|
198
198
|
<div id="footer">
|
|
199
|
-
Generated on
|
|
199
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
|
200
200
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
201
201
|
0.9.24 (ruby-2.6.3).
|
|
202
202
|
</div>
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
</div>
|
|
664
664
|
|
|
665
665
|
<div id="footer">
|
|
666
|
-
Generated on
|
|
666
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
|
667
667
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
668
668
|
0.9.24 (ruby-2.6.3).
|
|
669
669
|
</div>
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
</div>
|
|
403
403
|
|
|
404
404
|
<div id="footer">
|
|
405
|
-
Generated on
|
|
405
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
|
406
406
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
407
407
|
0.9.24 (ruby-2.6.3).
|
|
408
408
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.24 (ruby-2.6.3).
|
|
120
120
|
</div>
|
|
@@ -421,14 +421,14 @@
|
|
|
421
421
|
<span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
|
|
422
422
|
<span class='label'>max_payload_size:</span> <span class='int'>256</span> <span class='op'>*</span> <span class='int'>1024</span> <span class='op'>*</span> <span class='int'>1024</span><span class='comma'>,</span> <span class='comment'># 256MB
|
|
423
423
|
</span> <span class='rparen'>)</span>
|
|
424
|
-
<span class='id identifier
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
<span class='
|
|
424
|
+
<span class='lparen'>(</span><span class='id identifier rubyid_resolvable_future'><span class='object_link'><a href="ConcurrentRubyUtils.html#resolvable_future-instance_method" title="Puppeteer::ConcurrentRubyUtils#resolvable_future (method)">resolvable_future</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_future'><span class='object_link'><a href="ConcurrentRubyUtils.html#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span><span class='op'>|</span>
|
|
425
|
+
<span class='id identifier rubyid_ws'>ws</span><span class='period'>.</span><span class='id identifier rubyid_on_open'>on_open</span> <span class='kw'>do</span>
|
|
426
|
+
<span class='id identifier rubyid_future'><span class='object_link'><a href="ConcurrentRubyUtils.html#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span><span class='period'>.</span><span class='id identifier rubyid_fulfill'>fulfill</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Puppeteer::WebSocketTransport (class)">WebSocketTransport</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Puppeteer::WebSocketTransport#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_ws'>ws</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
427
|
+
<span class='kw'>end</span>
|
|
428
|
+
<span class='id identifier rubyid_ws'>ws</span><span class='period'>.</span><span class='id identifier rubyid_on_error'>on_error</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_error_message'>error_message</span><span class='op'>|</span>
|
|
429
|
+
<span class='id identifier rubyid_future'><span class='object_link'><a href="ConcurrentRubyUtils.html#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="WebSocket.html" title="Puppeteer::WebSocket (class)">WebSocket</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="WebSocket/TransportError.html" title="Puppeteer::WebSocket::TransportError (class)">TransportError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="WebSocket.html#initialize-instance_method" title="Puppeteer::WebSocket#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_error_message'>error_message</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
430
|
+
<span class='kw'>end</span>
|
|
431
|
+
<span class='kw'>end</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
|
432
432
|
<span class='kw'>end</span></pre>
|
|
433
433
|
</td>
|
|
434
434
|
</tr>
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
</div>
|
|
591
591
|
|
|
592
592
|
<div id="footer">
|
|
593
|
-
Generated on
|
|
593
|
+
Generated on Tue Jun 23 10:25:01 2020 by
|
|
594
594
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
595
595
|
0.9.24 (ruby-2.6.3).
|
|
596
596
|
</div>
|
data/docs/_index.html
CHANGED
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
</div>
|
|
807
807
|
|
|
808
808
|
<div id="footer">
|
|
809
|
-
Generated on
|
|
809
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
810
810
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
811
811
|
0.9.24 (ruby-2.6.3).
|
|
812
812
|
</div>
|
data/docs/file.README.html
CHANGED
|
@@ -62,6 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
<p>A Ruby port of <a href="https://pptr.dev/">puppeteer</a>.</p>
|
|
64
64
|
|
|
65
|
+
<p><img src="puppeteer-ruby.png"></p>
|
|
66
|
+
|
|
65
67
|
<p>REMARK: This Gem is NOT production-ready!!</p>
|
|
66
68
|
|
|
67
69
|
<h2 id="label-Getting+Started">Getting Started</h2>
|
|
@@ -113,7 +115,7 @@
|
|
|
113
115
|
</div></div>
|
|
114
116
|
|
|
115
117
|
<div id="footer">
|
|
116
|
-
Generated on
|
|
118
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
117
119
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
118
120
|
0.9.24 (ruby-2.6.3).
|
|
119
121
|
</div>
|
data/docs/index.html
CHANGED
|
@@ -62,6 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
<p>A Ruby port of <a href="https://pptr.dev/">puppeteer</a>.</p>
|
|
64
64
|
|
|
65
|
+
<p><img src="puppeteer-ruby.png"></p>
|
|
66
|
+
|
|
65
67
|
<p>REMARK: This Gem is NOT production-ready!!</p>
|
|
66
68
|
|
|
67
69
|
<h2 id="label-Getting+Started">Getting Started</h2>
|
|
@@ -113,7 +115,7 @@
|
|
|
113
115
|
</div></div>
|
|
114
116
|
|
|
115
117
|
<div id="footer">
|
|
116
|
-
Generated on
|
|
118
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
|
117
119
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
118
120
|
0.9.24 (ruby-2.6.3).
|
|
119
121
|
</div>
|