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
@@ -672,7 +672,7 @@
672
672
 
673
673
 
674
674
  <h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
675
- <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>
675
+ <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>
676
676
 
677
677
 
678
678
 
@@ -1107,16 +1107,16 @@
1107
1107
  <pre class="lines">
1108
1108
 
1109
1109
 
1110
+ 355
1111
+ 356
1110
1112
  357
1111
1113
  358
1112
1114
  359
1113
1115
  360
1114
- 361
1115
- 362
1116
- 363</pre>
1116
+ 361</pre>
1117
1117
  </td>
1118
1118
  <td>
1119
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 357</span>
1119
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 355</span>
1120
1120
 
1121
1121
  <span class='kw'>def</span> <span class='id identifier rubyid_execution_context_by_id'>execution_context_by_id</span><span class='lparen'>(</span><span class='id identifier rubyid_context_id'>context_id</span><span class='rparen'>)</span>
1122
1122
  <span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='ivar'>@context_id_to_context</span><span class='lbracket'>[</span><span class='id identifier rubyid_context_id'>context_id</span><span class='rbracket'>]</span>
@@ -1288,6 +1288,8 @@
1288
1288
  <pre class="lines">
1289
1289
 
1290
1290
 
1291
+ 299
1292
+ 300
1291
1293
  301
1292
1294
  302
1293
1295
  303
@@ -1311,12 +1313,10 @@
1311
1313
  321
1312
1314
  322
1313
1315
  323
1314
- 324
1315
- 325
1316
- 326</pre>
1316
+ 324</pre>
1317
1317
  </td>
1318
1318
  <td>
1319
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 301</span>
1319
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 299</span>
1320
1320
 
1321
1321
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_execution_context_created'>handle_execution_context_created</span><span class='lparen'>(</span><span class='id identifier rubyid_context_payload'>context_payload</span><span class='rparen'>)</span>
1322
1322
  <span class='id identifier rubyid_frame'>frame</span> <span class='op'>=</span> <span class='id identifier rubyid_if_present'>if_present</span><span class='lparen'>(</span><span class='id identifier rubyid_context_payload'>context_payload</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>auxData</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>frameId</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_frame_id'>frame_id</span><span class='op'>|</span> <span class='ivar'>@frames</span><span class='lbracket'>[</span><span class='id identifier rubyid_frame_id'>frame_id</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
@@ -1388,18 +1388,18 @@
1388
1388
  <pre class="lines">
1389
1389
 
1390
1390
 
1391
+ 327
1392
+ 328
1391
1393
  329
1392
1394
  330
1393
1395
  331
1394
1396
  332
1395
1397
  333
1396
1398
  334
1397
- 335
1398
- 336
1399
- 337</pre>
1399
+ 335</pre>
1400
1400
  </td>
1401
1401
  <td>
1402
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 329</span>
1402
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 327</span>
1403
1403
 
1404
1404
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_execution_context_destroyed'>handle_execution_context_destroyed</span><span class='lparen'>(</span><span class='id identifier rubyid_execution_context_id'>execution_context_id</span><span class='rparen'>)</span>
1405
1405
  <span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='ivar'>@context_id_to_context</span><span class='lbracket'>[</span><span class='id identifier rubyid_execution_context_id'>execution_context_id</span><span class='rbracket'>]</span>
@@ -1430,6 +1430,8 @@
1430
1430
  <pre class="lines">
1431
1431
 
1432
1432
 
1433
+ 337
1434
+ 338
1433
1435
  339
1434
1436
  340
1435
1437
  341
@@ -1444,12 +1446,10 @@
1444
1446
  350
1445
1447
  351
1446
1448
  352
1447
- 353
1448
- 354
1449
- 355</pre>
1449
+ 353</pre>
1450
1450
  </td>
1451
1451
  <td>
1452
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 339</span>
1452
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 337</span>
1453
1453
 
1454
1454
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_execution_contexts_cleared'>handle_execution_contexts_cleared</span>
1455
1455
  <span class='comment'># executionContextsCleared is often notified after executionContextCreated.
@@ -1593,15 +1593,15 @@
1593
1593
  <pre class="lines">
1594
1594
 
1595
1595
 
1596
+ 291
1597
+ 292
1596
1598
  293
1597
1599
  294
1598
1600
  295
1599
- 296
1600
- 297
1601
- 298</pre>
1601
+ 296</pre>
1602
1602
  </td>
1603
1603
  <td>
1604
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 293</span>
1604
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 291</span>
1605
1605
 
1606
1606
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_frame_detached'>handle_frame_detached</span><span class='lparen'>(</span><span class='id identifier rubyid_frame_id'>frame_id</span><span class='rparen'>)</span>
1607
1607
  <span class='id identifier rubyid_frame'>frame</span> <span class='op'>=</span> <span class='ivar'>@frames</span><span class='lbracket'>[</span><span class='id identifier rubyid_frame_id'>frame_id</span><span class='rbracket'>]</span>
@@ -1796,9 +1796,7 @@
1796
1796
  285
1797
1797
  286
1798
1798
  287
1799
- 288
1800
- 289
1801
- 290</pre>
1799
+ 288</pre>
1802
1800
  </td>
1803
1801
  <td>
1804
1802
  <pre class="code"><span class="info file"># File 'lib/puppeteer/frame_manager.rb', line 282</span>
@@ -1809,8 +1807,6 @@
1809
1807
  <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_navigated_within_document'>navigated_within_document</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
1810
1808
  <span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Events.FrameManager.FrameNavigatedWithinDocument</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_frame'>frame</span>
1811
1809
  <span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Events.FrameManager.FrameNavigated</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_frame'>frame</span>
1812
- <span class='id identifier rubyid_handle_frame_manager_frame_navigated_within_document'>handle_frame_manager_frame_navigated_within_document</span><span class='lparen'>(</span><span class='id identifier rubyid_frame'>frame</span><span class='rparen'>)</span>
1813
- <span class='id identifier rubyid_handle_frame_manager_frame_navigated'>handle_frame_manager_frame_navigated</span><span class='lparen'>(</span><span class='id identifier rubyid_frame'>frame</span><span class='rparen'>)</span>
1814
1810
  <span class='kw'>end</span></pre>
1815
1811
  </td>
1816
1812
  </tr>
@@ -2404,7 +2400,7 @@
2404
2400
  </div>
2405
2401
 
2406
2402
  <div id="footer">
2407
- Generated on Thu Jun 4 23:54:43 2020 by
2403
+ Generated on Wed Jun 24 03:08:01 2020 by
2408
2404
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2409
2405
  0.9.24 (ruby-2.6.3).
2410
2406
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Jun 4 23:54:43 2020 by
117
+ Generated on Wed Jun 24 03:08:01 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>
@@ -212,7 +212,7 @@
212
212
  </div>
213
213
 
214
214
  <div id="footer">
215
- Generated on Thu Jun 4 23:54:41 2020 by
215
+ Generated on Wed Jun 24 03:07:58 2020 by
216
216
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
217
217
  0.9.24 (ruby-2.6.3).
218
218
  </div>
@@ -1342,7 +1342,7 @@
1342
1342
  </div>
1343
1343
 
1344
1344
  <div id="footer">
1345
- Generated on Thu Jun 4 23:54:42 2020 by
1345
+ Generated on Wed Jun 24 03:08:00 2020 by
1346
1346
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1347
1347
  0.9.24 (ruby-2.6.3).
1348
1348
  </div>
@@ -1547,7 +1547,7 @@
1547
1547
  </div>
1548
1548
 
1549
1549
  <div id="footer">
1550
- Generated on Thu Jun 4 23:54:42 2020 by
1550
+ Generated on Wed Jun 24 03:08:00 2020 by
1551
1551
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1552
1552
  0.9.24 (ruby-2.6.3).
1553
1553
  </div>
@@ -821,7 +821,7 @@
821
821
  </div>
822
822
 
823
823
  <div id="footer">
824
- Generated on Thu Jun 4 23:54:44 2020 by
824
+ Generated on Wed Jun 24 03:08:02 2020 by
825
825
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
826
826
  0.9.24 (ruby-2.6.3).
827
827
  </div>
@@ -593,7 +593,7 @@
593
593
  </div>
594
594
 
595
595
  <div id="footer">
596
- Generated on Thu Jun 4 23:54:44 2020 by
596
+ Generated on Wed Jun 24 03:08:02 2020 by
597
597
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
598
598
  0.9.24 (ruby-2.6.3).
599
599
  </div>
@@ -227,7 +227,7 @@ timeout = 30000
227
227
  </div>
228
228
 
229
229
  <div id="footer">
230
- Generated on Thu Jun 4 23:54:41 2020 by
230
+ Generated on Wed Jun 24 03:07:58 2020 by
231
231
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
232
232
  0.9.24 (ruby-2.6.3).
233
233
  </div>
@@ -375,7 +375,7 @@
375
375
  </div>
376
376
 
377
377
  <div id="footer">
378
- Generated on Thu Jun 4 23:54:43 2020 by
378
+ Generated on Wed Jun 24 03:08:01 2020 by
379
379
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
380
380
  0.9.24 (ruby-2.6.3).
381
381
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Jun 4 23:54:43 2020 by
117
+ Generated on Wed Jun 24 03:08:01 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>
@@ -431,7 +431,7 @@
431
431
  </div>
432
432
 
433
433
  <div id="footer">
434
- Generated on Thu Jun 4 23:54:44 2020 by
434
+ Generated on Wed Jun 24 03:08:02 2020 by
435
435
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
436
436
  0.9.24 (ruby-2.6.3).
437
437
  </div>
@@ -129,7 +129,7 @@
129
129
  <li class="public ">
130
130
  <span class="summary_signature">
131
131
 
132
- <a href="#connect-instance_method" title="#connect (instance method)">#<strong>connect</strong>(options = {}) &#x21d2; !Promise&lt;!Browser&gt; </a>
132
+ <a href="#connect-instance_method" title="#connect (instance method)">#<strong>connect</strong>(options = {}) &#x21d2; Puppeteer::Browser </a>
133
133
 
134
134
 
135
135
 
@@ -151,7 +151,7 @@
151
151
  <li class="public ">
152
152
  <span class="summary_signature">
153
153
 
154
- <a href="#default_args-instance_method" title="#default_args (instance method)">#<strong>default_args</strong>(options = nil) &#x21d2; Object </a>
154
+ <a href="#default_args-instance_method" title="#default_args (instance method)">#<strong>default_args</strong>(options = nil) &#x21d2; DefaultArgs </a>
155
155
 
156
156
 
157
157
 
@@ -243,7 +243,7 @@
243
243
  <div class="method_details first">
244
244
  <h3 class="signature first" id="connect-instance_method">
245
245
 
246
- #<strong>connect</strong>(options = {}) &#x21d2; <tt>!Promise&lt;!<span class='object_link'><a href="../Browser.html" title="Puppeteer::Browser (class)">Browser</a></span>&gt;</tt>
246
+ #<strong>connect</strong>(options = {}) &#x21d2; <tt><span class='object_link'><a href="../Browser.html" title="Puppeteer::Browser (class)">Puppeteer::Browser</a></span></tt>
247
247
 
248
248
 
249
249
 
@@ -256,31 +256,14 @@
256
256
  </div>
257
257
  </div>
258
258
  <div class="tags">
259
- <p class="tag_title">Parameters:</p>
260
- <ul class="param">
261
-
262
- <li>
263
-
264
- <span class='name'>options</span>
265
-
266
-
267
- <span class='type'>(<tt>!(<span class='object_link'><a href="../Launcher.html" title="Puppeteer::Launcher (module)">Launcher</a></span>.<span class='object_link'><a href="BrowserOptions.html" title="Puppeteer::Launcher::BrowserOptions (class)">BrowserOptions</a></span> & {browserWSEndpoint?: string, browserURL?: string, transport?: !<span class='object_link'><a href="../../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span>.ConnectionTransport})</tt>)</span>
268
-
269
-
270
- <em class="default">(defaults to: <tt>{}</tt>)</em>
271
-
272
-
273
- </li>
274
259
 
275
- </ul>
276
-
277
260
  <p class="tag_title">Returns:</p>
278
261
  <ul class="return">
279
262
 
280
263
  <li>
281
264
 
282
265
 
283
- <span class='type'>(<tt>!Promise&lt;!<span class='object_link'><a href="../Browser.html" title="Puppeteer::Browser (class)">Browser</a></span>&gt;</tt>)</span>
266
+ <span class='type'>(<tt><span class='object_link'><a href="../Browser.html" title="Puppeteer::Browser (class)">Puppeteer::Browser</a></span></tt>)</span>
284
267
 
285
268
 
286
269
 
@@ -364,28 +347,50 @@
364
347
  <div class="method_details ">
365
348
  <h3 class="signature " id="default_args-instance_method">
366
349
 
367
- #<strong>default_args</strong>(options = nil) &#x21d2; <tt>Object</tt>
350
+ #<strong>default_args</strong>(options = nil) &#x21d2; <tt><span class='object_link'><a href="Chrome/DefaultArgs.html" title="Puppeteer::Launcher::Chrome::DefaultArgs (class)">DefaultArgs</a></span></tt>
368
351
 
369
352
 
370
353
 
371
354
 
372
355
 
373
- </h3><table class="source_code">
356
+ </h3><div class="docstring">
357
+ <div class="discussion">
358
+
359
+
360
+ </div>
361
+ </div>
362
+ <div class="tags">
363
+
364
+ <p class="tag_title">Returns:</p>
365
+ <ul class="return">
366
+
367
+ <li>
368
+
369
+
370
+ <span class='type'>(<tt><span class='object_link'><a href="Chrome/DefaultArgs.html" title="Puppeteer::Launcher::Chrome::DefaultArgs (class)">DefaultArgs</a></span></tt>)</span>
371
+
372
+
373
+
374
+ </li>
375
+
376
+ </ul>
377
+
378
+ </div><table class="source_code">
374
379
  <tr>
375
380
  <td>
376
381
  <pre class="lines">
377
382
 
378
383
 
379
- 142
380
384
  143
381
385
  144
382
386
  145
383
387
  146
384
388
  147
385
- 148</pre>
389
+ 148
390
+ 149</pre>
386
391
  </td>
387
392
  <td>
388
- <pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome.rb', line 142</span>
393
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome.rb', line 143</span>
389
394
 
390
395
  <span class='kw'>def</span> <span class='id identifier rubyid_default_args'>default_args</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
391
396
  <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -436,12 +441,12 @@
436
441
  <pre class="lines">
437
442
 
438
443
 
439
- 203
440
- 204
441
- 205</pre>
444
+ 205
445
+ 206
446
+ 207</pre>
442
447
  </td>
443
448
  <td>
444
- <pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome.rb', line 203</span>
449
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/launcher/chrome.rb', line 205</span>
445
450
 
446
451
  <span class='kw'>def</span> <span class='id identifier rubyid_executable_path'>executable_path</span>
447
452
  <span class='id identifier rubyid_resolve_executable_path'>resolve_executable_path</span>
@@ -659,7 +664,7 @@
659
664
  </div>
660
665
 
661
666
  <div id="footer">
662
- Generated on Thu Jun 4 23:54:43 2020 by
667
+ Generated on Wed Jun 24 03:08:01 2020 by
663
668
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
664
669
  0.9.24 (ruby-2.6.3).
665
670
  </div>
@@ -372,7 +372,7 @@
372
372
  </div>
373
373
 
374
374
  <div id="footer">
375
- Generated on Thu Jun 4 23:54:43 2020 by
375
+ Generated on Wed Jun 24 03:08:01 2020 by
376
376
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
377
377
  0.9.24 (ruby-2.6.3).
378
378
  </div>
@@ -521,7 +521,7 @@
521
521
  </div>
522
522
 
523
523
  <div id="footer">
524
- Generated on Thu Jun 4 23:54:44 2020 by
524
+ Generated on Wed Jun 24 03:08:02 2020 by
525
525
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
526
526
  0.9.24 (ruby-2.6.3).
527
527
  </div>
@@ -883,7 +883,7 @@
883
883
  </div>
884
884
 
885
885
  <div id="footer">
886
- Generated on Thu Jun 4 23:54:43 2020 by
886
+ Generated on Wed Jun 24 03:08:01 2020 by
887
887
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
888
888
  0.9.24 (ruby-2.6.3).
889
889
  </div>
@@ -824,7 +824,7 @@
824
824
  </div>
825
825
 
826
826
  <div id="footer">
827
- Generated on Thu Jun 4 23:54:43 2020 by
827
+ Generated on Wed Jun 24 03:08:01 2020 by
828
828
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
829
829
  0.9.24 (ruby-2.6.3).
830
830
  </div>
@@ -353,7 +353,7 @@
353
353
  </div>
354
354
 
355
355
  <div id="footer">
356
- Generated on Thu Jun 4 23:54:43 2020 by
356
+ Generated on Wed Jun 24 03:08:01 2020 by
357
357
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
358
358
  0.9.24 (ruby-2.6.3).
359
359
  </div>
@@ -196,7 +196,7 @@
196
196
  </div>
197
197
 
198
198
  <div id="footer">
199
- Generated on Thu Jun 4 23:54:43 2020 by
199
+ Generated on Wed Jun 24 03:08:01 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>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Jun 4 23:54:43 2020 by
117
+ Generated on Wed Jun 24 03:08:01 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>