puppeteer-ruby 0.0.8 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/docs/Puppeteer.html +415 -97
  4. data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
  5. data/docs/Puppeteer/Browser.html +261 -153
  6. data/docs/Puppeteer/BrowserContext.html +2 -2
  7. data/docs/Puppeteer/BrowserFetcher.html +1 -1
  8. data/docs/Puppeteer/BrowserRunner.html +1 -1
  9. data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
  10. data/docs/Puppeteer/CDPSession.html +2 -2
  11. data/docs/Puppeteer/CDPSession/Error.html +1 -1
  12. data/docs/Puppeteer/ConcurrentRubyUtils.html +14 -6
  13. data/docs/Puppeteer/Connection.html +66 -62
  14. data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
  15. data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
  16. data/docs/Puppeteer/Connection/RequestDebugPrinter.html +5 -5
  17. data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +12 -12
  18. data/docs/Puppeteer/ConsoleMessage.html +1 -1
  19. data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
  20. data/docs/Puppeteer/DOMWorld.html +106 -32
  21. data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
  22. data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +1 -1
  23. data/docs/Puppeteer/DebugPrint.html +1 -1
  24. data/docs/Puppeteer/Device.html +1 -1
  25. data/docs/Puppeteer/Devices.html +1 -1
  26. data/docs/Puppeteer/ElementHandle.html +525 -207
  27. data/docs/Puppeteer/ElementHandle/BoundingBox.html +507 -0
  28. data/docs/Puppeteer/ElementHandle/BoxModel.html +404 -0
  29. data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +5 -5
  30. data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +5 -5
  31. data/docs/Puppeteer/ElementHandle/Point.html +40 -29
  32. data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +1 -1
  33. data/docs/Puppeteer/EmulationManager.html +1 -1
  34. data/docs/Puppeteer/EventCallbackable.html +83 -17
  35. data/docs/Puppeteer/EventCallbackable/EventListeners.html +1 -1
  36. data/docs/Puppeteer/ExecutionContext.html +1 -1
  37. data/docs/Puppeteer/ExecutionContext/EvaluationError.html +1 -1
  38. data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +1 -1
  39. data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +1 -1
  40. data/docs/Puppeteer/FileChooser.html +1 -1
  41. data/docs/Puppeteer/Frame.html +450 -292
  42. data/docs/Puppeteer/FrameManager.html +23 -27
  43. data/docs/Puppeteer/FrameManager/NavigationError.html +1 -1
  44. data/docs/Puppeteer/IfPresent.html +1 -1
  45. data/docs/Puppeteer/JSHandle.html +1 -1
  46. data/docs/Puppeteer/Keyboard.html +1 -1
  47. data/docs/Puppeteer/Keyboard/KeyDefinition.html +1 -1
  48. data/docs/Puppeteer/Keyboard/KeyDescription.html +1 -1
  49. data/docs/Puppeteer/Launcher.html +1 -1
  50. data/docs/Puppeteer/Launcher/Base.html +1 -1
  51. data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +1 -1
  52. data/docs/Puppeteer/Launcher/BrowserOptions.html +1 -1
  53. data/docs/Puppeteer/Launcher/Chrome.html +36 -31
  54. data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
  55. data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
  56. data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
  57. data/docs/Puppeteer/LifecycleWatcher.html +1 -1
  58. data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
  59. data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
  60. data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
  61. data/docs/Puppeteer/Mouse.html +31 -41
  62. data/docs/Puppeteer/Mouse/Button.html +1 -1
  63. data/docs/Puppeteer/NetworkManager.html +2 -2
  64. data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
  65. data/docs/Puppeteer/Page.html +502 -299
  66. data/docs/Puppeteer/Page/FileChooserTimeoutError.html +5 -5
  67. data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
  68. data/docs/Puppeteer/Page/ScriptTag.html +24 -24
  69. data/docs/Puppeteer/Page/StyleTag.html +19 -19
  70. data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
  71. data/docs/Puppeteer/RemoteObject.html +110 -39
  72. data/docs/Puppeteer/Target.html +150 -198
  73. data/docs/Puppeteer/Target/InitializeFailure.html +1 -1
  74. data/docs/Puppeteer/Target/TargetInfo.html +1 -1
  75. data/docs/Puppeteer/TimeoutError.html +2 -2
  76. data/docs/Puppeteer/TimeoutSettings.html +1 -1
  77. data/docs/Puppeteer/TouchScreen.html +1 -1
  78. data/docs/Puppeteer/Viewport.html +81 -1
  79. data/docs/Puppeteer/WaitTask.html +1 -1
  80. data/docs/Puppeteer/WaitTask/TerminatedError.html +1 -1
  81. data/docs/Puppeteer/WaitTask/TimeoutError.html +1 -1
  82. data/docs/Puppeteer/WebSocket.html +26 -26
  83. data/docs/Puppeteer/WebSocket/DriverImpl.html +1 -1
  84. data/docs/Puppeteer/WebSocket/TransportError.html +124 -0
  85. data/docs/Puppeteer/WebSocketTransport.html +9 -9
  86. data/docs/Puppeteer/WebSocktTransportError.html +1 -1
  87. data/docs/_index.html +28 -21
  88. data/docs/class_list.html +1 -1
  89. data/docs/file.README.html +3 -1
  90. data/docs/index.html +3 -1
  91. data/docs/method_list.html +659 -515
  92. data/docs/top-level-namespace.html +1 -1
  93. data/lib/puppeteer.rb +36 -12
  94. data/lib/puppeteer/browser.rb +26 -6
  95. data/lib/puppeteer/concurrent_ruby_utils.rb +6 -2
  96. data/lib/puppeteer/connection.rb +13 -1
  97. data/lib/puppeteer/dom_world.rb +11 -12
  98. data/lib/puppeteer/element_handle.rb +66 -108
  99. data/lib/puppeteer/element_handle/bounding_box.rb +12 -0
  100. data/lib/puppeteer/element_handle/box_model.rb +19 -0
  101. data/lib/puppeteer/element_handle/point.rb +26 -0
  102. data/lib/puppeteer/errors.rb +1 -3
  103. data/lib/puppeteer/event_callbackable.rb +11 -0
  104. data/lib/puppeteer/frame.rb +20 -1
  105. data/lib/puppeteer/launcher.rb +6 -6
  106. data/lib/puppeteer/launcher/chrome.rb +10 -8
  107. data/lib/puppeteer/mouse.rb +3 -8
  108. data/lib/puppeteer/page.rb +43 -4
  109. data/lib/puppeteer/remote_object.rb +9 -0
  110. data/lib/puppeteer/target.rb +25 -25
  111. data/lib/puppeteer/version.rb +1 -1
  112. data/lib/puppeteer/viewport.rb +18 -0
  113. data/lib/puppeteer/web_socket.rb +3 -1
  114. data/lib/puppeteer/web_socket_transport.rb +8 -8
  115. data/puppeteer-ruby.png +0 -0
  116. metadata +9 -4
  117. data/Dockerfile +0 -6
  118. data/docker-compose.yml +0 -15
@@ -314,7 +314,7 @@
314
314
 
315
315
 
316
316
  <h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
317
- <p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
317
+ <p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#observe_first-instance_method" title="Puppeteer::EventCallbackable#observe_first (method)">#observe_first</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
318
318
  <div id="constructor_details" class="method_details_list">
319
319
  <h2>Constructor Details</h2>
320
320
 
@@ -799,7 +799,7 @@
799
799
  </div>
800
800
 
801
801
  <div id="footer">
802
- Generated on Thu Jun 4 23:54:43 2020 by
802
+ Generated on Wed Jun 24 03:08:01 2020 by
803
803
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
804
804
  0.9.24 (ruby-2.6.3).
805
805
  </div>
@@ -204,7 +204,7 @@
204
204
  </div>
205
205
 
206
206
  <div id="footer">
207
- Generated on Thu Jun 4 23:54:43 2020 by
207
+ Generated on Wed Jun 24 03:08:01 2020 by
208
208
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
209
209
  0.9.24 (ruby-2.6.3).
210
210
  </div>
@@ -904,7 +904,7 @@
904
904
  </div>
905
905
 
906
906
  <div id="footer">
907
- Generated on Thu Jun 4 23:54:43 2020 by
907
+ Generated on Wed Jun 24 03:08:01 2020 by
908
908
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
909
909
  0.9.24 (ruby-2.6.3).
910
910
  </div>
@@ -467,7 +467,7 @@
467
467
  </div>
468
468
 
469
469
  <div id="footer">
470
- Generated on Thu Jun 4 23:54:43 2020 by
470
+ Generated on Wed Jun 24 03:08:01 2020 by
471
471
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
472
472
  0.9.24 (ruby-2.6.3).
473
473
  </div>
@@ -312,7 +312,7 @@
312
312
 
313
313
 
314
314
  <h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
315
- <p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
315
+ <p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#observe_first-instance_method" title="Puppeteer::EventCallbackable#observe_first (method)">#observe_first</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
316
316
 
317
317
 
318
318
 
@@ -803,7 +803,7 @@
803
803
  </div>
804
804
 
805
805
  <div id="footer">
806
- Generated on Thu Jun 4 23:54:42 2020 by
806
+ Generated on Wed Jun 24 03:08:00 2020 by
807
807
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
808
808
  0.9.24 (ruby-2.6.3).
809
809
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Jun 4 23:54:42 2020 by
117
+ Generated on Wed Jun 24 03:08: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>
@@ -202,7 +202,7 @@
202
202
  <li class="public ">
203
203
  <span class="summary_signature">
204
204
 
205
- <a href="#resolvable_future-instance_method" title="#resolvable_future (instance method)">#<strong>resolvable_future</strong> &#x21d2; Object </a>
205
+ <a href="#resolvable_future-instance_method" title="#resolvable_future (instance method)">#<strong>resolvable_future</strong>(&amp;block) &#x21d2; Object </a>
206
206
 
207
207
 
208
208
 
@@ -388,7 +388,7 @@
388
388
  <div class="method_details ">
389
389
  <h3 class="signature " id="resolvable_future-instance_method">
390
390
 
391
- #<strong>resolvable_future</strong> &#x21d2; <tt>Object</tt>
391
+ #<strong>resolvable_future</strong>(&amp;block) &#x21d2; <tt>Object</tt>
392
392
 
393
393
 
394
394
 
@@ -402,13 +402,21 @@
402
402
 
403
403
  32
404
404
  33
405
- 34</pre>
405
+ 34
406
+ 35
407
+ 36
408
+ 37
409
+ 38</pre>
406
410
  </td>
407
411
  <td>
408
412
  <pre class="code"><span class="info file"># File 'lib/puppeteer/concurrent_ruby_utils.rb', line 32</span>
409
413
 
410
- <span class='kw'>def</span> <span class='id identifier rubyid_resolvable_future'>resolvable_future</span>
411
- <span class='const'>Concurrent</span><span class='op'>::</span><span class='const'>Promises</span><span class='period'>.</span><span class='id identifier rubyid_resolvable_future'>resolvable_future</span>
414
+ <span class='kw'>def</span> <span class='id identifier rubyid_resolvable_future'>resolvable_future</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
415
+ <span class='id identifier rubyid_future'><span class='object_link'><a href="#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span> <span class='op'>=</span> <span class='const'>Concurrent</span><span class='op'>::</span><span class='const'>Promises</span><span class='period'>.</span><span class='id identifier rubyid_resolvable_future'>resolvable_future</span>
416
+ <span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span>
417
+ <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_future'><span class='object_link'><a href="#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span><span class='rparen'>)</span>
418
+ <span class='kw'>end</span>
419
+ <span class='id identifier rubyid_future'><span class='object_link'><a href="#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span>
412
420
  <span class='kw'>end</span></pre>
413
421
  </td>
414
422
  </tr>
@@ -420,7 +428,7 @@
420
428
  </div>
421
429
 
422
430
  <div id="footer">
423
- Generated on Thu Jun 4 23:54:41 2020 by
431
+ Generated on Wed Jun 24 03:07:58 2020 by
424
432
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
425
433
  0.9.24 (ruby-2.6.3).
426
434
  </div>
@@ -397,7 +397,7 @@
397
397
 
398
398
 
399
399
  <h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
400
- <p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
400
+ <p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#observe_first-instance_method" title="Puppeteer::EventCallbackable#observe_first (method)">#observe_first</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
401
401
 
402
402
 
403
403
 
@@ -454,7 +454,9 @@
454
454
  52
455
455
  53
456
456
  54
457
- 55</pre>
457
+ 55
458
+ 56
459
+ 57</pre>
458
460
  </td>
459
461
  <td>
460
462
  <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 39</span>
@@ -467,7 +469,9 @@
467
469
 
468
470
  <span class='ivar'>@transport</span> <span class='op'>=</span> <span class='id identifier rubyid_transport'>transport</span>
469
471
  <span class='ivar'>@transport</span><span class='period'>.</span><span class='id identifier rubyid_on_message'>on_message</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_data'>data</span><span class='op'>|</span>
470
- <span class='id identifier rubyid_async_handle_message'>async_handle_message</span><span class='lparen'>(</span><span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span><span class='rparen'>)</span>
472
+ <span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
473
+ <span class='id identifier rubyid_sleep_before_handling_message'>sleep_before_handling_message</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
474
+ <span class='id identifier rubyid_async_handle_message'>async_handle_message</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
471
475
  <span class='kw'>end</span>
472
476
  <span class='ivar'>@transport</span><span class='period'>.</span><span class='id identifier rubyid_on_close'>on_close</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_reason'>reason</span><span class='comma'>,</span> <span class='id identifier rubyid_code'>code</span><span class='op'>|</span>
473
477
  <span class='id identifier rubyid_handle_close'>handle_close</span><span class='lparen'>(</span><span class='id identifier rubyid_reason'>reason</span><span class='comma'>,</span> <span class='id identifier rubyid_code'>code</span><span class='rparen'>)</span>
@@ -503,12 +507,12 @@
503
507
  <pre class="lines">
504
508
 
505
509
 
506
- 57
507
- 58
508
- 59</pre>
510
+ 69
511
+ 70
512
+ 71</pre>
509
513
  </td>
510
514
  <td>
511
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 57</span>
515
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 69</span>
512
516
 
513
517
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_from_session'>from_session</span><span class='lparen'>(</span><span class='id identifier rubyid_session'>session</span><span class='rparen'>)</span>
514
518
  <span class='id identifier rubyid_session'>session</span><span class='period'>.</span><span class='id identifier rubyid_connection'>connection</span>
@@ -539,15 +543,15 @@
539
543
  <pre class="lines">
540
544
 
541
545
 
542
- 77
543
- 78
544
- 79
545
- 80
546
- 81
547
- 82</pre>
546
+ 89
547
+ 90
548
+ 91
549
+ 92
550
+ 93
551
+ 94</pre>
548
552
  </td>
549
553
  <td>
550
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 77</span>
554
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 89</span>
551
555
 
552
556
  <span class='kw'>def</span> <span class='id identifier rubyid_async_send_message'>async_send_message</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
553
557
  <span class='id identifier rubyid_id'>id</span> <span class='op'>=</span> <span class='id identifier rubyid_raw_send'>raw_send</span><span class='lparen'>(</span><span class='label'>message:</span> <span class='lbrace'>{</span> <span class='label'>method:</span> <span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='label'>params:</span> <span class='id identifier rubyid_params'>params</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
@@ -612,24 +616,24 @@
612
616
  <pre class="lines">
613
617
 
614
618
 
615
- 239
616
- 240
617
- 241
618
- 242
619
- 243
620
- 244
621
- 245
622
- 246
623
- 247
624
- 248
625
- 249
626
- 250
627
619
  251
628
620
  252
629
- 253</pre>
621
+ 253
622
+ 254
623
+ 255
624
+ 256
625
+ 257
626
+ 258
627
+ 259
628
+ 260
629
+ 261
630
+ 262
631
+ 263
632
+ 264
633
+ 265</pre>
630
634
  </td>
631
635
  <td>
632
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 239</span>
636
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 251</span>
633
637
 
634
638
  <span class='kw'>def</span> <span class='id identifier rubyid_create_session'>create_session</span><span class='lparen'>(</span><span class='id identifier rubyid_target_info'>target_info</span><span class='rparen'>)</span>
635
639
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_send_message'>send_message</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Target.attachToTarget</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>targetId:</span> <span class='id identifier rubyid_target_info'>target_info</span><span class='period'>.</span><span class='id identifier rubyid_target_id'>target_id</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span>
@@ -666,13 +670,13 @@
666
670
  <pre class="lines">
667
671
 
668
672
 
669
- 232
670
- 233
671
- 234
672
- 235</pre>
673
+ 244
674
+ 245
675
+ 246
676
+ 247</pre>
673
677
  </td>
674
678
  <td>
675
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 232</span>
679
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 244</span>
676
680
 
677
681
  <span class='kw'>def</span> <span class='id identifier rubyid_dispose'>dispose</span>
678
682
  <span class='id identifier rubyid_handle_close'>handle_close</span>
@@ -698,12 +702,12 @@
698
702
  <pre class="lines">
699
703
 
700
704
 
701
- 224
702
- 225
703
- 226</pre>
705
+ 236
706
+ 237
707
+ 238</pre>
704
708
  </td>
705
709
  <td>
706
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 224</span>
710
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 236</span>
707
711
 
708
712
  <span class='kw'>def</span> <span class='id identifier rubyid_on_close'>on_close</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
709
713
  <span class='ivar'>@on_close</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -728,12 +732,12 @@
728
732
  <pre class="lines">
729
733
 
730
734
 
731
- 228
732
- 229
733
- 230</pre>
735
+ 240
736
+ 241
737
+ 242</pre>
734
738
  </td>
735
739
  <td>
736
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 228</span>
740
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 240</span>
737
741
 
738
742
  <span class='kw'>def</span> <span class='id identifier rubyid_on_message'>on_message</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
739
743
  <span class='ivar'>@on_message</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -758,16 +762,16 @@
758
762
  <pre class="lines">
759
763
 
760
764
 
761
- 88
762
- 89
763
- 90
764
- 91
765
- 92
766
- 93
767
- 94</pre>
765
+ 100
766
+ 101
767
+ 102
768
+ 103
769
+ 104
770
+ 105
771
+ 106</pre>
768
772
  </td>
769
773
  <td>
770
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 88</span>
774
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 100</span>
771
775
 
772
776
  <span class='kw'>def</span> <span class='id identifier rubyid_raw_send'>raw_send</span><span class='lparen'>(</span><span class='label'>message:</span><span class='rparen'>)</span>
773
777
  <span class='id identifier rubyid_id'>id</span> <span class='op'>=</span> <span class='id identifier rubyid_generate_id'>generate_id</span>
@@ -833,12 +837,12 @@
833
837
  <pre class="lines">
834
838
 
835
839
 
836
- 73
837
- 74
838
- 75</pre>
840
+ 85
841
+ 86
842
+ 87</pre>
839
843
  </td>
840
844
  <td>
841
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 73</span>
845
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 85</span>
842
846
 
843
847
  <span class='kw'>def</span> <span class='id identifier rubyid_send_message'>send_message</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
844
848
  <span class='id identifier rubyid_await'><span class='object_link'><a href="ConcurrentRubyUtils.html#await-instance_method" title="Puppeteer::ConcurrentRubyUtils#await (method)">await</a></span></span> <span class='id identifier rubyid_async_send_message'>async_send_message</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
@@ -900,12 +904,12 @@
900
904
  <pre class="lines">
901
905
 
902
906
 
903
- 63
904
- 64
905
- 65</pre>
907
+ 75
908
+ 76
909
+ 77</pre>
906
910
  </td>
907
911
  <td>
908
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 63</span>
912
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 75</span>
909
913
 
910
914
  <span class='kw'>def</span> <span class='id identifier rubyid_session'>session</span><span class='lparen'>(</span><span class='id identifier rubyid_session_id'>session_id</span><span class='rparen'>)</span>
911
915
  <span class='ivar'>@sessions</span><span class='lbracket'>[</span><span class='id identifier rubyid_session_id'>session_id</span><span class='rbracket'>]</span>
@@ -930,12 +934,12 @@
930
934
  <pre class="lines">
931
935
 
932
936
 
933
- 67
934
- 68
935
- 69</pre>
937
+ 79
938
+ 80
939
+ 81</pre>
936
940
  </td>
937
941
  <td>
938
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 67</span>
942
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 79</span>
939
943
 
940
944
  <span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
941
945
  <span class='ivar'>@url</span>
@@ -950,7 +954,7 @@
950
954
  </div>
951
955
 
952
956
  <div id="footer">
953
- Generated on Thu Jun 4 23:54:42 2020 by
957
+ Generated on Wed Jun 24 03:08:00 2020 by
954
958
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
955
959
  0.9.24 (ruby-2.6.3).
956
960
  </div>
@@ -424,7 +424,7 @@
424
424
  </div>
425
425
 
426
426
  <div id="footer">
427
- Generated on Thu Jun 4 23:54:42 2020 by
427
+ Generated on Wed Jun 24 03:08:00 2020 by
428
428
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
429
429
  0.9.24 (ruby-2.6.3).
430
430
  </div>
@@ -206,7 +206,7 @@
206
206
  </div>
207
207
 
208
208
  <div id="footer">
209
- Generated on Thu Jun 4 23:54:42 2020 by
209
+ Generated on Wed Jun 24 03:08:00 2020 by
210
210
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
211
211
  0.9.24 (ruby-2.6.3).
212
212
  </div>
@@ -187,12 +187,12 @@
187
187
  <pre class="lines">
188
188
 
189
189
 
190
- 100
191
- 101
192
- 102</pre>
190
+ 112
191
+ 113
192
+ 114</pre>
193
193
  </td>
194
194
  <td>
195
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 100</span>
195
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 112</span>
196
196
 
197
197
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_payload'>handle_payload</span><span class='lparen'>(</span><span class='id identifier rubyid_payload'>payload</span><span class='rparen'>)</span>
198
198
  <span class='id identifier rubyid_debug_puts'>debug_puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>SEND &gt;&gt; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_decorate'>decorate</span><span class='lparen'>(</span><span class='id identifier rubyid_payload'>payload</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
@@ -207,7 +207,7 @@
207
207
  </div>
208
208
 
209
209
  <div id="footer">
210
- Generated on Thu Jun 4 23:54:42 2020 by
210
+ Generated on Wed Jun 24 03:08:00 2020 by
211
211
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
212
212
  0.9.24 (ruby-2.6.3).
213
213
  </div>
@@ -200,19 +200,19 @@
200
200
  <pre class="lines">
201
201
 
202
202
 
203
- 122
204
- 123
205
- 124
206
- 125
207
- 126
208
- 127
209
- 128
210
- 129
211
- 130
212
- 131</pre>
203
+ 134
204
+ 135
205
+ 136
206
+ 137
207
+ 138
208
+ 139
209
+ 140
210
+ 141
211
+ 142
212
+ 143</pre>
213
213
  </td>
214
214
  <td>
215
- <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 122</span>
215
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 134</span>
216
216
 
217
217
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_message'>handle_message</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
218
218
  <span class='kw'>if</span> <span class='id identifier rubyid_skip_debug_print?'>skip_debug_print?</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>method</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
@@ -234,7 +234,7 @@
234
234
  </div>
235
235
 
236
236
  <div id="footer">
237
- Generated on Thu Jun 4 23:54:42 2020 by
237
+ Generated on Wed Jun 24 03:08:00 2020 by
238
238
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
239
239
  0.9.24 (ruby-2.6.3).
240
240
  </div>