puppeteer-ruby 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/docs/Puppeteer.html +2 -2
  3. data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
  4. data/docs/Puppeteer/Browser.html +254 -144
  5. data/docs/Puppeteer/BrowserContext.html +1 -1
  6. data/docs/Puppeteer/BrowserFetcher.html +1 -1
  7. data/docs/Puppeteer/BrowserRunner.html +1 -1
  8. data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
  9. data/docs/Puppeteer/CDPSession.html +1 -1
  10. data/docs/Puppeteer/CDPSession/Error.html +1 -1
  11. data/docs/Puppeteer/ConcurrentRubyUtils.html +1 -1
  12. data/docs/Puppeteer/Connection.html +65 -61
  13. data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
  14. data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
  15. data/docs/Puppeteer/Connection/RequestDebugPrinter.html +5 -5
  16. data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +12 -12
  17. data/docs/Puppeteer/ConsoleMessage.html +1 -1
  18. data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
  19. data/docs/Puppeteer/DOMWorld.html +32 -32
  20. data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
  21. data/docs/Puppeteer/DebugPrint.html +1 -1
  22. data/docs/Puppeteer/Device.html +1 -1
  23. data/docs/Puppeteer/Devices.html +1 -1
  24. data/docs/Puppeteer/ElementHandle.html +1 -1
  25. data/docs/Puppeteer/ElementHandle/BoundingBox.html +507 -0
  26. data/docs/Puppeteer/ElementHandle/BoxModel.html +404 -0
  27. data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +1 -1
  28. data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +1 -1
  29. data/docs/Puppeteer/ElementHandle/Point.html +1 -1
  30. data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +1 -1
  31. data/docs/Puppeteer/EmulationManager.html +1 -1
  32. data/docs/Puppeteer/EventCallbackable.html +1 -1
  33. data/docs/Puppeteer/EventCallbackable/EventListeners.html +1 -1
  34. data/docs/Puppeteer/ExecutionContext.html +1 -1
  35. data/docs/Puppeteer/ExecutionContext/EvaluationError.html +1 -1
  36. data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +1 -1
  37. data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +1 -1
  38. data/docs/Puppeteer/FileChooser.html +1 -1
  39. data/docs/Puppeteer/Frame.html +425 -289
  40. data/docs/Puppeteer/FrameManager.html +1 -1
  41. data/docs/Puppeteer/FrameManager/NavigationError.html +1 -1
  42. data/docs/Puppeteer/IfPresent.html +1 -1
  43. data/docs/Puppeteer/JSHandle.html +1 -1
  44. data/docs/Puppeteer/Keyboard.html +1 -1
  45. data/docs/Puppeteer/Keyboard/KeyDefinition.html +1 -1
  46. data/docs/Puppeteer/Keyboard/KeyDescription.html +1 -1
  47. data/docs/Puppeteer/Launcher.html +1 -1
  48. data/docs/Puppeteer/Launcher/Base.html +1 -1
  49. data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +1 -1
  50. data/docs/Puppeteer/Launcher/BrowserOptions.html +1 -1
  51. data/docs/Puppeteer/Launcher/Chrome.html +1 -1
  52. data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
  53. data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
  54. data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
  55. data/docs/Puppeteer/LifecycleWatcher.html +1 -1
  56. data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
  57. data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
  58. data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
  59. data/docs/Puppeteer/Mouse.html +31 -41
  60. data/docs/Puppeteer/Mouse/Button.html +1 -1
  61. data/docs/Puppeteer/NetworkManager.html +1 -1
  62. data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
  63. data/docs/Puppeteer/Page.html +1 -1
  64. data/docs/Puppeteer/Page/FileChooserTimeoutError.html +1 -1
  65. data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
  66. data/docs/Puppeteer/Page/ScriptTag.html +1 -1
  67. data/docs/Puppeteer/Page/StyleTag.html +1 -1
  68. data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
  69. data/docs/Puppeteer/RemoteObject.html +1 -1
  70. data/docs/Puppeteer/Target.html +1 -1
  71. data/docs/Puppeteer/Target/InitializeFailure.html +1 -1
  72. data/docs/Puppeteer/Target/TargetInfo.html +1 -1
  73. data/docs/Puppeteer/TimeoutError.html +1 -1
  74. data/docs/Puppeteer/TimeoutSettings.html +1 -1
  75. data/docs/Puppeteer/TouchScreen.html +1 -1
  76. data/docs/Puppeteer/Viewport.html +1 -1
  77. data/docs/Puppeteer/WaitTask.html +1 -1
  78. data/docs/Puppeteer/WaitTask/TerminatedError.html +1 -1
  79. data/docs/Puppeteer/WaitTask/TimeoutError.html +1 -1
  80. data/docs/Puppeteer/WebSocket.html +1 -1
  81. data/docs/Puppeteer/WebSocket/DriverImpl.html +1 -1
  82. data/docs/Puppeteer/WebSocket/TransportError.html +124 -0
  83. data/docs/Puppeteer/WebSocketTransport.html +1 -1
  84. data/docs/_index.html +5 -12
  85. data/docs/class_list.html +1 -1
  86. data/docs/file.README.html +1 -1
  87. data/docs/index.html +1 -1
  88. data/docs/method_list.html +402 -386
  89. data/docs/top-level-namespace.html +1 -1
  90. data/lib/puppeteer/browser.rb +17 -1
  91. data/lib/puppeteer/connection.rb +13 -1
  92. data/lib/puppeteer/dom_world.rb +7 -6
  93. data/lib/puppeteer/frame.rb +19 -1
  94. data/lib/puppeteer/mouse.rb +3 -8
  95. data/lib/puppeteer/page.rb +1 -1
  96. data/lib/puppeteer/version.rb +1 -1
  97. metadata +5 -2
@@ -423,7 +423,7 @@
423
423
  </div>
424
424
 
425
425
  <div id="footer">
426
- Generated on Fri Jun 12 12:38:32 2020 by
426
+ Generated on Sat Jun 20 17:15:05 2020 by
427
427
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
428
428
  0.9.24 (ruby-2.6.3).
429
429
  </div>
@@ -425,7 +425,7 @@
425
425
  </div>
426
426
 
427
427
  <div id="footer">
428
- Generated on Fri Jun 12 12:38:35 2020 by
428
+ Generated on Sat Jun 20 17:15:08 2020 by
429
429
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
430
430
  0.9.24 (ruby-2.6.3).
431
431
  </div>
@@ -988,7 +988,7 @@
988
988
  </div>
989
989
 
990
990
  <div id="footer">
991
- Generated on Fri Jun 12 12:38:35 2020 by
991
+ Generated on Sat Jun 20 17:15:08 2020 by
992
992
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
993
993
  0.9.24 (ruby-2.6.3).
994
994
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Fri Jun 12 12:38:35 2020 by
117
+ Generated on Sat Jun 20 17:15:08 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>
@@ -347,7 +347,7 @@
347
347
  </div>
348
348
 
349
349
  <div id="footer">
350
- Generated on Fri Jun 12 12:38:35 2020 by
350
+ Generated on Sat Jun 20 17:15:08 2020 by
351
351
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
352
352
  0.9.24 (ruby-2.6.3).
353
353
  </div>
@@ -379,7 +379,7 @@
379
379
  </div>
380
380
 
381
381
  <div id="footer">
382
- Generated on Fri Jun 12 12:38:35 2020 by
382
+ Generated on Sat Jun 20 17:15:08 2020 by
383
383
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
384
384
  0.9.24 (ruby-2.6.3).
385
385
  </div>
@@ -445,7 +445,7 @@
445
445
  </div>
446
446
 
447
447
  <div id="footer">
448
- Generated on Fri Jun 12 12:38:34 2020 by
448
+ Generated on Sat Jun 20 17:15:07 2020 by
449
449
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
450
450
  0.9.24 (ruby-2.6.3).
451
451
  </div>
@@ -320,6 +320,50 @@
320
320
 
321
321
 
322
322
 
323
+ <span class="summary_desc"><div class='inline'></div></span>
324
+
325
+ </li>
326
+
327
+
328
+ <li class="public ">
329
+ <span class="summary_signature">
330
+
331
+ <a href="#async_click-instance_method" title="#async_click (instance method)">#<strong>async_click</strong> &#x21d2; Future </a>
332
+
333
+
334
+
335
+ </span>
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+ <span class="summary_desc"><div class='inline'></div></span>
346
+
347
+ </li>
348
+
349
+
350
+ <li class="public ">
351
+ <span class="summary_signature">
352
+
353
+ <a href="#async_wait_for_navigation-instance_method" title="#async_wait_for_navigation (instance method)">#<strong>async_wait_for_navigation</strong> &#x21d2; Future </a>
354
+
355
+
356
+
357
+ </span>
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
323
367
  <span class="summary_desc"><div class='inline'></div></span>
324
368
 
325
369
  </li>
@@ -994,28 +1038,6 @@
994
1038
 
995
1039
 
996
1040
 
997
- <span class="summary_desc"><div class='inline'></div></span>
998
-
999
- </li>
1000
-
1001
-
1002
- <li class="public ">
1003
- <span class="summary_signature">
1004
-
1005
- <a href="#wait_for_navigation-instance_method" title="#wait_for_navigation (instance method)">#<strong>wait_for_navigation</strong>(timeout: nil, wait_until: nil) &#x21d2; Object </a>
1006
-
1007
-
1008
-
1009
- </span>
1010
-
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
1041
  <span class="summary_desc"><div class='inline'></div></span>
1020
1042
 
1021
1043
  </li>
@@ -1145,8 +1167,6 @@
1145
1167
  <pre class="lines">
1146
1168
 
1147
1169
 
1148
- 6
1149
- 7
1150
1170
  8
1151
1171
  9
1152
1172
  10
@@ -1160,10 +1180,12 @@
1160
1180
  18
1161
1181
  19
1162
1182
  20
1163
- 21</pre>
1183
+ 21
1184
+ 22
1185
+ 23</pre>
1164
1186
  </td>
1165
1187
  <td>
1166
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 6</span>
1188
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 8</span>
1167
1189
 
1168
1190
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_frame_manager'>frame_manager</span><span class='comma'>,</span> <span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_parent_frame'>parent_frame</span><span class='comma'>,</span> <span class='id identifier rubyid_frame_id'>frame_id</span><span class='rparen'>)</span>
1169
1191
  <span class='ivar'>@frame_manager</span> <span class='op'>=</span> <span class='id identifier rubyid_frame_manager'>frame_manager</span>
@@ -1219,12 +1241,12 @@
1219
1241
  <pre class="lines">
1220
1242
 
1221
1243
 
1222
- 23
1223
- 24
1224
- 25</pre>
1244
+ 25
1245
+ 26
1246
+ 27</pre>
1225
1247
  </td>
1226
1248
  <td>
1227
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 23</span>
1249
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 25</span>
1228
1250
 
1229
1251
  <span class='kw'>def</span> <span class='id identifier rubyid_frame_manager'>frame_manager</span>
1230
1252
  <span class='ivar'>@frame_manager</span>
@@ -1262,12 +1284,12 @@
1262
1284
  <pre class="lines">
1263
1285
 
1264
1286
 
1265
- 23
1266
- 24
1267
- 25</pre>
1287
+ 25
1288
+ 26
1289
+ 27</pre>
1268
1290
  </td>
1269
1291
  <td>
1270
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 23</span>
1292
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 25</span>
1271
1293
 
1272
1294
  <span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
1273
1295
  <span class='ivar'>@id</span>
@@ -1305,12 +1327,12 @@
1305
1327
  <pre class="lines">
1306
1328
 
1307
1329
 
1308
- 23
1309
- 24
1310
- 25</pre>
1330
+ 25
1331
+ 26
1332
+ 27</pre>
1311
1333
  </td>
1312
1334
  <td>
1313
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 23</span>
1335
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 25</span>
1314
1336
 
1315
1337
  <span class='kw'>def</span> <span class='id identifier rubyid_lifecycle_events'>lifecycle_events</span>
1316
1338
  <span class='ivar'>@lifecycle_events</span>
@@ -1348,12 +1370,12 @@
1348
1370
  <pre class="lines">
1349
1371
 
1350
1372
 
1351
- 23
1352
- 24
1353
- 25</pre>
1373
+ 25
1374
+ 26
1375
+ 27</pre>
1354
1376
  </td>
1355
1377
  <td>
1356
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 23</span>
1378
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 25</span>
1357
1379
 
1358
1380
  <span class='kw'>def</span> <span class='id identifier rubyid_loader_id'>loader_id</span>
1359
1381
  <span class='ivar'>@loader_id</span>
@@ -1391,12 +1413,12 @@
1391
1413
  <pre class="lines">
1392
1414
 
1393
1415
 
1394
- 23
1395
- 24
1396
- 25</pre>
1416
+ 25
1417
+ 26
1418
+ 27</pre>
1397
1419
  </td>
1398
1420
  <td>
1399
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 23</span>
1421
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 25</span>
1400
1422
 
1401
1423
  <span class='kw'>def</span> <span class='id identifier rubyid_main_world'>main_world</span>
1402
1424
  <span class='ivar'>@main_world</span>
@@ -1434,12 +1456,12 @@
1434
1456
  <pre class="lines">
1435
1457
 
1436
1458
 
1437
- 23
1438
- 24
1439
- 25</pre>
1459
+ 25
1460
+ 26
1461
+ 27</pre>
1440
1462
  </td>
1441
1463
  <td>
1442
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 23</span>
1464
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 25</span>
1443
1465
 
1444
1466
  <span class='kw'>def</span> <span class='id identifier rubyid_secondary_world'>secondary_world</span>
1445
1467
  <span class='ivar'>@secondary_world</span>
@@ -1508,12 +1530,12 @@
1508
1530
  <pre class="lines">
1509
1531
 
1510
1532
 
1511
- 136
1512
- 137
1513
- 138</pre>
1533
+ 145
1534
+ 146
1535
+ 147</pre>
1514
1536
  </td>
1515
1537
  <td>
1516
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 136</span>
1538
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 145</span>
1517
1539
 
1518
1540
  <span class='kw'>def</span> <span class='id identifier rubyid_add_script_tag'>add_script_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_script_tag'>script_tag</span><span class='rparen'>)</span>
1519
1541
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_add_script_tag'>add_script_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_script_tag'>script_tag</span><span class='rparen'>)</span>
@@ -1575,12 +1597,12 @@
1575
1597
  <pre class="lines">
1576
1598
 
1577
1599
 
1578
- 142
1579
- 143
1580
- 144</pre>
1600
+ 151
1601
+ 152
1602
+ 153</pre>
1581
1603
  </td>
1582
1604
  <td>
1583
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 142</span>
1605
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 151</span>
1584
1606
 
1585
1607
  <span class='kw'>def</span> <span class='id identifier rubyid_add_style_tag'>add_style_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_style_tag'>style_tag</span><span class='rparen'>)</span>
1586
1608
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_add_style_tag'>add_style_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_style_tag'>style_tag</span><span class='rparen'>)</span>
@@ -1588,6 +1610,194 @@
1588
1610
  </td>
1589
1611
  </tr>
1590
1612
  </table>
1613
+ </div>
1614
+
1615
+ <div class="method_details ">
1616
+ <h3 class="signature " id="async_click-instance_method">
1617
+
1618
+ #<strong>async_click</strong> &#x21d2; <tt>Future</tt>
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+ </h3><div class="docstring">
1625
+ <div class="discussion">
1626
+
1627
+
1628
+ </div>
1629
+ </div>
1630
+ <div class="tags">
1631
+ <p class="tag_title">Parameters:</p>
1632
+ <ul class="param">
1633
+
1634
+ <li>
1635
+
1636
+ <span class='name'>selector</span>
1637
+
1638
+
1639
+ <span class='type'>(<tt>String</tt>)</span>
1640
+
1641
+
1642
+
1643
+ </li>
1644
+
1645
+ <li>
1646
+
1647
+ <span class='name'>delay</span>
1648
+
1649
+
1650
+ <span class='type'>(<tt>Number</tt>)</span>
1651
+
1652
+
1653
+
1654
+ </li>
1655
+
1656
+ <li>
1657
+
1658
+ <span class='name'>button</span>
1659
+
1660
+
1661
+ <span class='type'>(<tt>String</tt>)</span>
1662
+
1663
+
1664
+
1665
+ &mdash;
1666
+ <div class='inline'>
1667
+ <p>“left”|“right”|“middle”</p>
1668
+ </div>
1669
+
1670
+ </li>
1671
+
1672
+ <li>
1673
+
1674
+ <span class='name'>click_count</span>
1675
+
1676
+
1677
+ <span class='type'>(<tt>Number</tt>)</span>
1678
+
1679
+
1680
+
1681
+ </li>
1682
+
1683
+ </ul>
1684
+
1685
+ <p class="tag_title">Returns:</p>
1686
+ <ul class="return">
1687
+
1688
+ <li>
1689
+
1690
+
1691
+ <span class='type'>(<tt>Future</tt>)</span>
1692
+
1693
+
1694
+
1695
+ </li>
1696
+
1697
+ </ul>
1698
+
1699
+ </div><table class="source_code">
1700
+ <tr>
1701
+ <td>
1702
+ <pre class="lines">
1703
+
1704
+
1705
+ 160
1706
+ 161
1707
+ 162</pre>
1708
+ </td>
1709
+ <td>
1710
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 160</span>
1711
+
1712
+ <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_click'>async_click</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1713
+ <span class='id identifier rubyid_click'>click</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
1714
+ <span class='kw'>end</span></pre>
1715
+ </td>
1716
+ </tr>
1717
+ </table>
1718
+ </div>
1719
+
1720
+ <div class="method_details ">
1721
+ <h3 class="signature " id="async_wait_for_navigation-instance_method">
1722
+
1723
+ #<strong>async_wait_for_navigation</strong> &#x21d2; <tt>Future</tt>
1724
+
1725
+
1726
+
1727
+
1728
+
1729
+ </h3><div class="docstring">
1730
+ <div class="discussion">
1731
+
1732
+
1733
+ </div>
1734
+ </div>
1735
+ <div class="tags">
1736
+ <p class="tag_title">Parameters:</p>
1737
+ <ul class="param">
1738
+
1739
+ <li>
1740
+
1741
+ <span class='name'>timeout</span>
1742
+
1743
+
1744
+ <span class='type'>(<tt>number|nil</tt>)</span>
1745
+
1746
+
1747
+
1748
+ </li>
1749
+
1750
+ <li>
1751
+
1752
+ <span class='name'>wait_until</span>
1753
+
1754
+
1755
+ <span class='type'>(<tt>string|nil</tt>)</span>
1756
+
1757
+
1758
+
1759
+ &mdash;
1760
+ <div class='inline'>
1761
+ <p>&#39;load&#39; | &#39;domcontentloaded&#39; | &#39;networkidle0&#39; | &#39;networkidle2&#39;</p>
1762
+ </div>
1763
+
1764
+ </li>
1765
+
1766
+ </ul>
1767
+
1768
+ <p class="tag_title">Returns:</p>
1769
+ <ul class="return">
1770
+
1771
+ <li>
1772
+
1773
+
1774
+ <span class='type'>(<tt>Future</tt>)</span>
1775
+
1776
+
1777
+
1778
+ </li>
1779
+
1780
+ </ul>
1781
+
1782
+ </div><table class="source_code">
1783
+ <tr>
1784
+ <td>
1785
+ <pre class="lines">
1786
+
1787
+
1788
+ 45
1789
+ 46
1790
+ 47</pre>
1791
+ </td>
1792
+ <td>
1793
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 45</span>
1794
+
1795
+ <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_wait_for_navigation'>async_wait_for_navigation</span><span class='lparen'>(</span><span class='label'>timeout:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1796
+ <span class='id identifier rubyid_wait_for_navigation'>wait_for_navigation</span><span class='lparen'>(</span><span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='id identifier rubyid_wait_until'>wait_until</span><span class='rparen'>)</span>
1797
+ <span class='kw'>end</span></pre>
1798
+ </td>
1799
+ </tr>
1800
+ </table>
1591
1801
  </div>
1592
1802
 
1593
1803
  <div class="method_details ">
@@ -1605,12 +1815,12 @@
1605
1815
  <pre class="lines">
1606
1816
 
1607
1817
 
1608
- 126
1609
- 127
1610
- 128</pre>
1818
+ 135
1819
+ 136
1820
+ 137</pre>
1611
1821
  </td>
1612
1822
  <td>
1613
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 126</span>
1823
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 135</span>
1614
1824
 
1615
1825
  <span class='kw'>def</span> <span class='id identifier rubyid_child_frames'>child_frames</span>
1616
1826
  <span class='ivar'>@child_frames</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
@@ -1703,12 +1913,12 @@
1703
1913
  <pre class="lines">
1704
1914
 
1705
1915
 
1706
- 150
1707
- 151
1708
- 152</pre>
1916
+ 168
1917
+ 169
1918
+ 170</pre>
1709
1919
  </td>
1710
1920
  <td>
1711
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 150</span>
1921
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 168</span>
1712
1922
 
1713
1923
  <span class='kw'>def</span> <span class='id identifier rubyid_click'>click</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1714
1924
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_click'>click</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
@@ -1733,12 +1943,12 @@
1733
1943
  <pre class="lines">
1734
1944
 
1735
1945
 
1736
- 97
1737
- 98
1738
- 99</pre>
1946
+ 106
1947
+ 107
1948
+ 108</pre>
1739
1949
  </td>
1740
1950
  <td>
1741
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 97</span>
1951
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 106</span>
1742
1952
 
1743
1953
  <span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span>
1744
1954
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_content'>content</span>
@@ -1763,18 +1973,18 @@
1763
1973
  <pre class="lines">
1764
1974
 
1765
1975
 
1766
- 277
1767
- 278
1768
- 279
1769
- 280
1770
- 281
1771
- 282
1772
- 283
1773
- 284
1774
- 285</pre>
1976
+ 295
1977
+ 296
1978
+ 297
1979
+ 298
1980
+ 299
1981
+ 300
1982
+ 301
1983
+ 302
1984
+ 303</pre>
1775
1985
  </td>
1776
1986
  <td>
1777
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 277</span>
1987
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 295</span>
1778
1988
 
1779
1989
  <span class='kw'>def</span> <span class='id identifier rubyid_detach'>detach</span>
1780
1990
  <span class='ivar'>@detached</span> <span class='op'>=</span> <span class='kw'>true</span>
@@ -1827,12 +2037,12 @@
1827
2037
  <pre class="lines">
1828
2038
 
1829
2039
 
1830
- 130
1831
- 131
1832
- 132</pre>
2040
+ 139
2041
+ 140
2042
+ 141</pre>
1833
2043
  </td>
1834
2044
  <td>
1835
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 130</span>
2045
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 139</span>
1836
2046
 
1837
2047
  <span class='kw'>def</span> <span class='id identifier rubyid_detached?'>detached?</span>
1838
2048
  <span class='ivar'>@detached</span>
@@ -1892,12 +2102,12 @@
1892
2102
  <pre class="lines">
1893
2103
 
1894
2104
 
1895
- 52
1896
- 53
1897
- 54</pre>
2105
+ 61
2106
+ 62
2107
+ 63</pre>
1898
2108
  </td>
1899
2109
  <td>
1900
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 52</span>
2110
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 61</span>
1901
2111
 
1902
2112
  <span class='kw'>def</span> <span class='id identifier rubyid_evaluate'>evaluate</span><span class='lparen'>(</span><span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
1903
2113
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_evaluate'>evaluate</span><span class='lparen'>(</span><span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -1959,12 +2169,12 @@
1959
2169
  <pre class="lines">
1960
2170
 
1961
2171
 
1962
- 46
1963
- 47
1964
- 48</pre>
2172
+ 55
2173
+ 56
2174
+ 57</pre>
1965
2175
  </td>
1966
2176
  <td>
1967
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 46</span>
2177
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 55</span>
1968
2178
 
1969
2179
  <span class='kw'>def</span> <span class='id identifier rubyid_evaluate_handle'>evaluate_handle</span><span class='lparen'>(</span><span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
1970
2180
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_evaluate_handle'>evaluate_handle</span><span class='lparen'>(</span><span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -1989,12 +2199,12 @@
1989
2199
  <pre class="lines">
1990
2200
 
1991
2201
 
1992
- 40
1993
- 41
1994
- 42</pre>
2202
+ 49
2203
+ 50
2204
+ 51</pre>
1995
2205
  </td>
1996
2206
  <td>
1997
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 40</span>
2207
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 49</span>
1998
2208
 
1999
2209
  <span class='kw'>def</span> <span class='id identifier rubyid_execution_context'>execution_context</span>
2000
2210
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_execution_context'>execution_context</span>
@@ -2043,12 +2253,12 @@
2043
2253
  <pre class="lines">
2044
2254
 
2045
2255
 
2046
- 155
2047
- 156
2048
- 157</pre>
2256
+ 173
2257
+ 174
2258
+ 175</pre>
2049
2259
  </td>
2050
2260
  <td>
2051
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 155</span>
2261
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 173</span>
2052
2262
 
2053
2263
  <span class='kw'>def</span> <span class='id identifier rubyid_focus'>focus</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
2054
2264
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_focus'>focus</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
@@ -2152,12 +2362,12 @@
2152
2362
  <pre class="lines">
2153
2363
 
2154
2364
 
2155
- 30
2156
- 31
2157
- 32</pre>
2365
+ 32
2366
+ 33
2367
+ 34</pre>
2158
2368
  </td>
2159
2369
  <td>
2160
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 30</span>
2370
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 32</span>
2161
2371
 
2162
2372
  <span class='kw'>def</span> <span class='id identifier rubyid_goto'>goto</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>referer:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2163
2373
  <span class='ivar'>@frame_manager</span><span class='period'>.</span><span class='id identifier rubyid_navigate_frame'>navigate_frame</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>referer:</span> <span class='id identifier rubyid_referer'>referer</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='id identifier rubyid_wait_until'>wait_until</span><span class='rparen'>)</span>
@@ -2182,16 +2392,16 @@
2182
2392
  <pre class="lines">
2183
2393
 
2184
2394
 
2185
- 264
2186
- 265
2187
- 266
2188
- 267
2189
- 268
2190
- 269
2191
- 270</pre>
2395
+ 282
2396
+ 283
2397
+ 284
2398
+ 285
2399
+ 286
2400
+ 287
2401
+ 288</pre>
2192
2402
  </td>
2193
2403
  <td>
2194
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 264</span>
2404
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 282</span>
2195
2405
 
2196
2406
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_lifecycle_event'>handle_lifecycle_event</span><span class='lparen'>(</span><span class='id identifier rubyid_loader_id'>loader_id</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
2197
2407
  <span class='kw'>if</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>init</span><span class='tstring_end'>&#39;</span></span>
@@ -2220,13 +2430,13 @@
2220
2430
  <pre class="lines">
2221
2431
 
2222
2432
 
2223
- 272
2224
- 273
2225
- 274
2226
- 275</pre>
2433
+ 290
2434
+ 291
2435
+ 292
2436
+ 293</pre>
2227
2437
  </td>
2228
2438
  <td>
2229
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 272</span>
2439
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 290</span>
2230
2440
 
2231
2441
  <span class='kw'>def</span> <span class='id identifier rubyid_handle_loading_stopped'>handle_loading_stopped</span>
2232
2442
  <span class='ivar'>@lifecycle_events</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>DOMContentLoaded</span><span class='tstring_end'>&#39;</span></span>
@@ -2276,12 +2486,12 @@
2276
2486
  <pre class="lines">
2277
2487
 
2278
2488
 
2279
- 160
2280
- 161
2281
- 162</pre>
2489
+ 178
2490
+ 179
2491
+ 180</pre>
2282
2492
  </td>
2283
2493
  <td>
2284
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 160</span>
2494
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 178</span>
2285
2495
 
2286
2496
  <span class='kw'>def</span> <span class='id identifier rubyid_hover'>hover</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
2287
2497
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_hover'>hover</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
@@ -2328,12 +2538,12 @@
2328
2538
  <pre class="lines">
2329
2539
 
2330
2540
 
2331
- 108
2332
- 109
2333
- 110</pre>
2541
+ 117
2542
+ 118
2543
+ 119</pre>
2334
2544
  </td>
2335
2545
  <td>
2336
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 108</span>
2546
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 117</span>
2337
2547
 
2338
2548
  <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
2339
2549
  <span class='ivar'>@name</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span>
@@ -2382,19 +2592,19 @@
2382
2592
  <pre class="lines">
2383
2593
 
2384
2594
 
2385
- 248
2386
- 249
2387
- 250
2388
- 251
2389
- 252
2390
- 253
2391
- 254
2392
- 255
2393
- 256
2394
- 257</pre>
2595
+ 266
2596
+ 267
2597
+ 268
2598
+ 269
2599
+ 270
2600
+ 271
2601
+ 272
2602
+ 273
2603
+ 274
2604
+ 275</pre>
2395
2605
  </td>
2396
2606
  <td>
2397
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 248</span>
2607
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 266</span>
2398
2608
 
2399
2609
  <span class='kw'>def</span> <span class='id identifier rubyid_navigated'>navigated</span><span class='lparen'>(</span><span class='id identifier rubyid_frame_payload'>frame_payload</span><span class='rparen'>)</span>
2400
2610
  <span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_frame_payload'>frame_payload</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>name</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
@@ -2450,12 +2660,12 @@
2450
2660
  <pre class="lines">
2451
2661
 
2452
2662
 
2453
- 260
2454
- 261
2455
- 262</pre>
2663
+ 278
2664
+ 279
2665
+ 280</pre>
2456
2666
  </td>
2457
2667
  <td>
2458
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 260</span>
2668
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 278</span>
2459
2669
 
2460
2670
  <span class='kw'>def</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>
2461
2671
  <span class='ivar'>@url</span> <span class='op'>=</span> <span class='id identifier rubyid_url'>url</span>
@@ -2502,12 +2712,12 @@
2502
2712
  <pre class="lines">
2503
2713
 
2504
2714
 
2505
- 118
2506
- 119
2507
- 120</pre>
2715
+ 127
2716
+ 128
2717
+ 129</pre>
2508
2718
  </td>
2509
2719
  <td>
2510
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 118</span>
2720
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 127</span>
2511
2721
 
2512
2722
  <span class='kw'>def</span> <span class='id identifier rubyid_parent_frame'>parent_frame</span>
2513
2723
  <span class='ivar'>@parent_frame</span>
@@ -2571,12 +2781,12 @@
2571
2781
  <pre class="lines">
2572
2782
 
2573
2783
 
2574
- 59
2575
- 60
2576
- 61</pre>
2784
+ 68
2785
+ 69
2786
+ 70</pre>
2577
2787
  </td>
2578
2788
  <td>
2579
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 59</span>
2789
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 68</span>
2580
2790
 
2581
2791
  <span class='kw'>def</span> <span class='const'>S</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
2582
2792
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='const'>S</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
@@ -2649,12 +2859,12 @@
2649
2859
  <pre class="lines">
2650
2860
 
2651
2861
 
2652
- 167
2653
- 168
2654
- 169</pre>
2862
+ 185
2863
+ 186
2864
+ 187</pre>
2655
2865
  </td>
2656
2866
  <td>
2657
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 167</span>
2867
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 185</span>
2658
2868
 
2659
2869
  <span class='kw'>def</span> <span class='id identifier rubyid_select'>select</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
2660
2870
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
@@ -2714,12 +2924,12 @@
2714
2924
  <pre class="lines">
2715
2925
 
2716
2926
 
2717
- 103
2718
- 104
2719
- 105</pre>
2927
+ 112
2928
+ 113
2929
+ 114</pre>
2720
2930
  </td>
2721
2931
  <td>
2722
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 103</span>
2932
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 112</span>
2723
2933
 
2724
2934
  <span class='kw'>def</span> <span class='id identifier rubyid_set_content'>set_content</span><span class='lparen'>(</span><span class='id identifier rubyid_html'>html</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2725
2935
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_set_content'>set_content</span><span class='lparen'>(</span><span class='id identifier rubyid_html'>html</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='id identifier rubyid_wait_until'>wait_until</span><span class='rparen'>)</span>
@@ -2805,12 +3015,12 @@
2805
3015
  <pre class="lines">
2806
3016
 
2807
3017
 
2808
- 77
2809
- 78
2810
- 79</pre>
3018
+ 86
3019
+ 87
3020
+ 88</pre>
2811
3021
  </td>
2812
3022
  <td>
2813
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 77</span>
3023
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 86</span>
2814
3024
 
2815
3025
  <span class='kw'>def</span> <span class='const'>Seval</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
2816
3026
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='const'>Seval</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -2874,12 +3084,12 @@
2874
3084
  <pre class="lines">
2875
3085
 
2876
3086
 
2877
- 93
2878
- 94
2879
- 95</pre>
3087
+ 102
3088
+ 103
3089
+ 104</pre>
2880
3090
  </td>
2881
3091
  <td>
2882
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 93</span>
3092
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 102</span>
2883
3093
 
2884
3094
  <span class='kw'>def</span> <span class='const'>SS</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
2885
3095
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='const'>SS</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
@@ -2965,12 +3175,12 @@
2965
3175
  <pre class="lines">
2966
3176
 
2967
3177
 
2968
- 86
2969
- 87
2970
- 88</pre>
3178
+ 95
3179
+ 96
3180
+ 97</pre>
2971
3181
  </td>
2972
3182
  <td>
2973
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 86</span>
3183
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 95</span>
2974
3184
 
2975
3185
  <span class='kw'>def</span> <span class='const'>SSeval</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
2976
3186
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='const'>SSeval</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -3034,12 +3244,12 @@
3034
3244
  <pre class="lines">
3035
3245
 
3036
3246
 
3037
- 67
3038
- 68
3039
- 69</pre>
3247
+ 76
3248
+ 77
3249
+ 78</pre>
3040
3250
  </td>
3041
3251
  <td>
3042
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 67</span>
3252
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 76</span>
3043
3253
 
3044
3254
  <span class='kw'>def</span> <span class='const'>Sx</span><span class='lparen'>(</span><span class='id identifier rubyid_expression'>expression</span><span class='rparen'>)</span>
3045
3255
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='const'>Sx</span><span class='lparen'>(</span><span class='id identifier rubyid_expression'>expression</span><span class='rparen'>)</span>
@@ -3088,12 +3298,12 @@
3088
3298
  <pre class="lines">
3089
3299
 
3090
3300
 
3091
- 172
3092
- 173
3093
- 174</pre>
3301
+ 190
3302
+ 191
3303
+ 192</pre>
3094
3304
  </td>
3095
3305
  <td>
3096
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 172</span>
3306
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 190</span>
3097
3307
 
3098
3308
  <span class='kw'>def</span> <span class='id identifier rubyid_tap'>tap</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
3099
3309
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
@@ -3118,12 +3328,12 @@
3118
3328
  <pre class="lines">
3119
3329
 
3120
3330
 
3121
- 243
3122
- 244
3123
- 245</pre>
3331
+ 261
3332
+ 262
3333
+ 263</pre>
3124
3334
  </td>
3125
3335
  <td>
3126
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 243</span>
3336
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 261</span>
3127
3337
 
3128
3338
  <span class='kw'>def</span> <span class='id identifier rubyid_title'>title</span>
3129
3339
  <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_title'>title</span>
@@ -3196,12 +3406,12 @@
3196
3406
  <pre class="lines">
3197
3407
 
3198
3408
 
3199
- 179
3200
- 180
3201
- 181</pre>
3409
+ 197
3410
+ 198
3411
+ 199</pre>
3202
3412
  </td>
3203
3413
  <td>
3204
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 179</span>
3414
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 197</span>
3205
3415
 
3206
3416
  <span class='kw'>def</span> <span class='id identifier rubyid_type_text'>type_text</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
3207
3417
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_type_text'>type_text</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='rparen'>)</span>
@@ -3248,12 +3458,12 @@
3248
3458
  <pre class="lines">
3249
3459
 
3250
3460
 
3251
- 113
3252
- 114
3253
- 115</pre>
3461
+ 122
3462
+ 123
3463
+ 124</pre>
3254
3464
  </td>
3255
3465
  <td>
3256
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 113</span>
3466
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 122</span>
3257
3467
 
3258
3468
  <span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
3259
3469
  <span class='ivar'>@url</span>
@@ -3339,12 +3549,12 @@
3339
3549
  <pre class="lines">
3340
3550
 
3341
3551
 
3342
- 239
3343
- 240
3344
- 241</pre>
3552
+ 257
3553
+ 258
3554
+ 259</pre>
3345
3555
  </td>
3346
3556
  <td>
3347
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 239</span>
3557
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 257</span>
3348
3558
 
3349
3559
  <span class='kw'>def</span> <span class='id identifier rubyid_wait_for_function'>wait_for_function</span><span class='lparen'>(</span><span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
3350
3560
  <span class='ivar'>@main_world</span><span class='period'>.</span><span class='id identifier rubyid_wait_for_function'>wait_for_function</span><span class='lparen'>(</span><span class='id identifier rubyid_page_function'>page_function</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -3352,80 +3562,6 @@
3352
3562
  </td>
3353
3563
  </tr>
3354
3564
  </table>
3355
- </div>
3356
-
3357
- <div class="method_details ">
3358
- <h3 class="signature " id="wait_for_navigation-instance_method">
3359
-
3360
- #<strong>wait_for_navigation</strong>(timeout: nil, wait_until: nil) &#x21d2; <tt>Object</tt>
3361
-
3362
-
3363
-
3364
-
3365
-
3366
- </h3><div class="docstring">
3367
- <div class="discussion">
3368
-
3369
-
3370
- </div>
3371
- </div>
3372
- <div class="tags">
3373
- <p class="tag_title">Parameters:</p>
3374
- <ul class="param">
3375
-
3376
- <li>
3377
-
3378
- <span class='name'>timeout</span>
3379
-
3380
-
3381
- <span class='type'>(<tt>number|nil</tt>)</span>
3382
-
3383
-
3384
- <em class="default">(defaults to: <tt>nil</tt>)</em>
3385
-
3386
-
3387
- </li>
3388
-
3389
- <li>
3390
-
3391
- <span class='name'>wait_until</span>
3392
-
3393
-
3394
- <span class='type'>(<tt>string|nil</tt>)</span>
3395
-
3396
-
3397
- <em class="default">(defaults to: <tt>nil</tt>)</em>
3398
-
3399
-
3400
- &mdash;
3401
- <div class='inline'>
3402
- <p>&#39;load&#39; | &#39;domcontentloaded&#39; | &#39;networkidle0&#39; | &#39;networkidle2&#39;</p>
3403
- </div>
3404
-
3405
- </li>
3406
-
3407
- </ul>
3408
-
3409
-
3410
- </div><table class="source_code">
3411
- <tr>
3412
- <td>
3413
- <pre class="lines">
3414
-
3415
-
3416
- 36
3417
- 37
3418
- 38</pre>
3419
- </td>
3420
- <td>
3421
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 36</span>
3422
-
3423
- <span class='kw'>def</span> <span class='id identifier rubyid_wait_for_navigation'>wait_for_navigation</span><span class='lparen'>(</span><span class='label'>timeout:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
3424
- <span class='ivar'>@frame_manager</span><span class='period'>.</span><span class='id identifier rubyid_wait_for_frame_navigation'>wait_for_frame_navigation</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span><span class='comma'>,</span> <span class='label'>wait_until:</span> <span class='id identifier rubyid_wait_until'>wait_until</span><span class='rparen'>)</span>
3425
- <span class='kw'>end</span></pre>
3426
- </td>
3427
- </tr>
3428
- </table>
3429
3565
  </div>
3430
3566
 
3431
3567
  <div class="method_details ">
@@ -3516,19 +3652,19 @@
3516
3652
  <pre class="lines">
3517
3653
 
3518
3654
 
3519
- 209
3520
- 210
3521
- 211
3522
- 212
3523
- 213
3524
- 214
3525
- 215
3526
- 216
3527
- 217
3528
- 218</pre>
3655
+ 227
3656
+ 228
3657
+ 229
3658
+ 230
3659
+ 231
3660
+ 232
3661
+ 233
3662
+ 234
3663
+ 235
3664
+ 236</pre>
3529
3665
  </td>
3530
3666
  <td>
3531
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 209</span>
3667
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 227</span>
3532
3668
 
3533
3669
  <span class='kw'>def</span> <span class='id identifier rubyid_wait_for_selector'>wait_for_selector</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='label'>visible:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>hidden:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
3534
3670
  <span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_wait_for_selector'>wait_for_selector</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='label'>visible:</span> <span class='id identifier rubyid_visible'>visible</span><span class='comma'>,</span> <span class='label'>hidden:</span> <span class='id identifier rubyid_hidden'>hidden</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span><span class='rparen'>)</span>
@@ -3633,19 +3769,19 @@
3633
3769
  <pre class="lines">
3634
3770
 
3635
3771
 
3636
- 224
3637
- 225
3638
- 226
3639
- 227
3640
- 228
3641
- 229
3642
- 230
3643
- 231
3644
- 232
3645
- 233</pre>
3772
+ 242
3773
+ 243
3774
+ 244
3775
+ 245
3776
+ 246
3777
+ 247
3778
+ 248
3779
+ 249
3780
+ 250
3781
+ 251</pre>
3646
3782
  </td>
3647
3783
  <td>
3648
- <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 224</span>
3784
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/frame.rb', line 242</span>
3649
3785
 
3650
3786
  <span class='kw'>def</span> <span class='id identifier rubyid_wait_for_xpath'>wait_for_xpath</span><span class='lparen'>(</span><span class='id identifier rubyid_xpath'>xpath</span><span class='comma'>,</span> <span class='label'>visible:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>hidden:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
3651
3787
  <span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='ivar'>@secondary_world</span><span class='period'>.</span><span class='id identifier rubyid_wait_for_xpath'>wait_for_xpath</span><span class='lparen'>(</span><span class='id identifier rubyid_xpath'>xpath</span><span class='comma'>,</span> <span class='label'>visible:</span> <span class='id identifier rubyid_visible'>visible</span><span class='comma'>,</span> <span class='label'>hidden:</span> <span class='id identifier rubyid_hidden'>hidden</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span><span class='rparen'>)</span>
@@ -3667,7 +3803,7 @@
3667
3803
  </div>
3668
3804
 
3669
3805
  <div id="footer">
3670
- Generated on Fri Jun 12 12:38:33 2020 by
3806
+ Generated on Sat Jun 20 17:15:06 2020 by
3671
3807
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3672
3808
  0.9.24 (ruby-2.6.3).
3673
3809
  </div>