puppeteer-ruby 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/Puppeteer.html +2 -2
- data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
- data/docs/Puppeteer/Browser.html +47 -49
- data/docs/Puppeteer/BrowserContext.html +1 -1
- data/docs/Puppeteer/BrowserFetcher.html +1 -1
- data/docs/Puppeteer/BrowserRunner.html +1 -1
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
- data/docs/Puppeteer/CDPSession.html +1 -1
- data/docs/Puppeteer/CDPSession/Error.html +1 -1
- data/docs/Puppeteer/ConcurrentRubyUtils.html +1 -1
- data/docs/Puppeteer/Connection.html +1 -1
- data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
- data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +1 -1
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +1 -1
- data/docs/Puppeteer/ConsoleMessage.html +1 -1
- data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
- data/docs/Puppeteer/DOMWorld.html +1 -1
- data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
- data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +1 -1
- data/docs/Puppeteer/DebugPrint.html +1 -1
- data/docs/Puppeteer/Device.html +1 -1
- data/docs/Puppeteer/Devices.html +1 -1
- data/docs/Puppeteer/ElementHandle.html +1 -1
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +1 -1
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +1 -1
- data/docs/Puppeteer/ElementHandle/Point.html +1 -1
- data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +1 -1
- data/docs/Puppeteer/EmulationManager.html +1 -1
- data/docs/Puppeteer/EventCallbackable.html +1 -1
- data/docs/Puppeteer/EventCallbackable/EventListeners.html +1 -1
- data/docs/Puppeteer/ExecutionContext.html +1 -1
- data/docs/Puppeteer/ExecutionContext/EvaluationError.html +1 -1
- data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +1 -1
- data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +1 -1
- data/docs/Puppeteer/FileChooser.html +1 -1
- data/docs/Puppeteer/Frame.html +1 -1
- data/docs/Puppeteer/FrameManager.html +22 -26
- data/docs/Puppeteer/FrameManager/NavigationError.html +1 -1
- data/docs/Puppeteer/IfPresent.html +1 -1
- data/docs/Puppeteer/JSHandle.html +1 -1
- data/docs/Puppeteer/Keyboard.html +1 -1
- data/docs/Puppeteer/Keyboard/KeyDefinition.html +1 -1
- data/docs/Puppeteer/Keyboard/KeyDescription.html +1 -1
- data/docs/Puppeteer/Launcher.html +1 -1
- data/docs/Puppeteer/Launcher/Base.html +1 -1
- data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +1 -1
- data/docs/Puppeteer/Launcher/BrowserOptions.html +1 -1
- data/docs/Puppeteer/Launcher/Chrome.html +1 -1
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
- data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
- data/docs/Puppeteer/Mouse.html +1 -1
- data/docs/Puppeteer/Mouse/Button.html +1 -1
- data/docs/Puppeteer/NetworkManager.html +1 -1
- data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
- data/docs/Puppeteer/Page.html +1 -1
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +1 -1
- data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
- data/docs/Puppeteer/Page/ScriptTag.html +1 -1
- data/docs/Puppeteer/Page/StyleTag.html +1 -1
- data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
- data/docs/Puppeteer/RemoteObject.html +1 -1
- data/docs/Puppeteer/Target.html +102 -172
- data/docs/Puppeteer/Target/InitializeFailure.html +1 -1
- data/docs/Puppeteer/Target/TargetInfo.html +1 -1
- data/docs/Puppeteer/TimeoutError.html +1 -1
- data/docs/Puppeteer/TimeoutSettings.html +1 -1
- data/docs/Puppeteer/TouchScreen.html +1 -1
- data/docs/Puppeteer/Viewport.html +1 -1
- data/docs/Puppeteer/WaitTask.html +1 -1
- data/docs/Puppeteer/WaitTask/TerminatedError.html +1 -1
- data/docs/Puppeteer/WaitTask/TimeoutError.html +1 -1
- data/docs/Puppeteer/WebSocket.html +1 -1
- data/docs/Puppeteer/WebSocket/DriverImpl.html +1 -1
- data/docs/Puppeteer/WebSocketTransport.html +1 -1
- data/docs/Puppeteer/WebSocktTransportError.html +1 -1
- data/docs/_index.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/method_list.html +300 -308
- data/docs/top-level-namespace.html +1 -1
- data/lib/puppeteer/browser.rb +3 -4
- data/lib/puppeteer/target.rb +16 -13
- data/lib/puppeteer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bd4cd6afe37a5975230cc6f9563671881e2fac9cdfed904afcff459cbfdb061
|
|
4
|
+
data.tar.gz: abbd2505425e7e9b5b3b878daba8fbbf94c616e7e988ca0722bf96307be0d88b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 926da4f494be0bce07cb8788ef379478f997290a3939e72e8aedf6f2f38ebac485fa334805f0c9641a06528d15f4238c40dae549c4fca6ab8bc9876b507cf445
|
|
7
|
+
data.tar.gz: 6e86387731a4d22d861e474b18481226bcdc19fe0d699dc1f0e96be1ed07f20d4180dd9f402c8637c1c85318df70e63b162f75aea3ba99716b12bd334d177d00
|
data/docs/Puppeteer.html
CHANGED
|
@@ -1012,7 +1012,7 @@
|
|
|
1012
1012
|
<dt id="VERSION-constant" class="">VERSION =
|
|
1013
1013
|
|
|
1014
1014
|
</dt>
|
|
1015
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.
|
|
1015
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.9</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
1016
1016
|
|
|
1017
1017
|
</dl>
|
|
1018
1018
|
|
|
@@ -2010,7 +2010,7 @@
|
|
|
2010
2010
|
</div>
|
|
2011
2011
|
|
|
2012
2012
|
<div id="footer">
|
|
2013
|
-
Generated on
|
|
2013
|
+
Generated on Tue Jun 9 00:13:39 2020 by
|
|
2014
2014
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2015
2015
|
0.9.24 (ruby-2.6.3).
|
|
2016
2016
|
</div>
|
data/docs/Puppeteer/Browser.html
CHANGED
|
@@ -987,13 +987,13 @@
|
|
|
987
987
|
<pre class="lines">
|
|
988
988
|
|
|
989
989
|
|
|
990
|
+
243
|
|
990
991
|
244
|
|
991
992
|
245
|
|
992
|
-
246
|
|
993
|
-
247</pre>
|
|
993
|
+
246</pre>
|
|
994
994
|
</td>
|
|
995
995
|
<td>
|
|
996
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
996
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 243</span>
|
|
997
997
|
|
|
998
998
|
<span class='kw'>def</span> <span class='id identifier rubyid_close'>close</span>
|
|
999
999
|
<span class='ivar'>@close_callback</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span>
|
|
@@ -1041,12 +1041,12 @@
|
|
|
1041
1041
|
<pre class="lines">
|
|
1042
1042
|
|
|
1043
1043
|
|
|
1044
|
+
252
|
|
1044
1045
|
253
|
|
1045
|
-
254
|
|
1046
|
-
255</pre>
|
|
1046
|
+
254</pre>
|
|
1047
1047
|
</td>
|
|
1048
1048
|
<td>
|
|
1049
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1049
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 252</span>
|
|
1050
1050
|
|
|
1051
1051
|
<span class='kw'>def</span> <span class='id identifier rubyid_connected?'>connected?</span>
|
|
1052
1052
|
<span class='op'>!</span><span class='ivar'>@connection</span><span class='period'>.</span><span class='id identifier rubyid_closed?'>closed?</span>
|
|
@@ -1164,6 +1164,7 @@
|
|
|
1164
1164
|
<pre class="lines">
|
|
1165
1165
|
|
|
1166
1166
|
|
|
1167
|
+
171
|
|
1167
1168
|
172
|
|
1168
1169
|
173
|
|
1169
1170
|
174
|
|
@@ -1173,11 +1174,10 @@
|
|
|
1173
1174
|
178
|
|
1174
1175
|
179
|
|
1175
1176
|
180
|
|
1176
|
-
181
|
|
1177
|
-
182</pre>
|
|
1177
|
+
181</pre>
|
|
1178
1178
|
</td>
|
|
1179
1179
|
<td>
|
|
1180
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1180
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 171</span>
|
|
1181
1181
|
|
|
1182
1182
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_page_in_context'>create_page_in_context</span><span class='lparen'>(</span><span class='id identifier rubyid_context_id'>context_id</span><span class='rparen'>)</span>
|
|
1183
1183
|
<span class='id identifier rubyid_create_target_params'>create_target_params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>about:blank</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
|
@@ -1262,12 +1262,12 @@
|
|
|
1262
1262
|
<pre class="lines">
|
|
1263
1263
|
|
|
1264
1264
|
|
|
1265
|
+
248
|
|
1265
1266
|
249
|
|
1266
|
-
250
|
|
1267
|
-
251</pre>
|
|
1267
|
+
250</pre>
|
|
1268
1268
|
</td>
|
|
1269
1269
|
<td>
|
|
1270
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1270
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 248</span>
|
|
1271
1271
|
|
|
1272
1272
|
<span class='kw'>def</span> <span class='id identifier rubyid_disconnect'>disconnect</span>
|
|
1273
1273
|
<span class='ivar'>@connection</span><span class='period'>.</span><span class='id identifier rubyid_dispose'>dispose</span>
|
|
@@ -1400,8 +1400,7 @@
|
|
|
1400
1400
|
110
|
|
1401
1401
|
111
|
|
1402
1402
|
112
|
|
1403
|
-
113
|
|
1404
|
-
114</pre>
|
|
1403
|
+
113</pre>
|
|
1405
1404
|
</td>
|
|
1406
1405
|
<td>
|
|
1407
1406
|
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 85</span>
|
|
@@ -1426,8 +1425,7 @@
|
|
|
1426
1425
|
<span class='rparen'>)</span>
|
|
1427
1426
|
<span class='comment'># assert(!this._targets.has(event.targetInfo.targetId), 'Target should not exist before targetCreated');
|
|
1428
1427
|
</span> <span class='ivar'>@targets</span><span class='lbracket'>[</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='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_target'>target</span>
|
|
1429
|
-
|
|
1430
|
-
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_on_initialize_succeeded'>on_initialize_succeeded</span> <span class='kw'>do</span>
|
|
1428
|
+
<span class='kw'>if</span> <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_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_initialized_promise'>initialized_promise</span>
|
|
1431
1429
|
<span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Events.Browser.TargetCreated</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
|
|
1432
1430
|
<span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Events.BrowserContext.TargetCreated</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
|
|
1433
1431
|
<span class='kw'>end</span>
|
|
@@ -1480,6 +1478,7 @@
|
|
|
1480
1478
|
<pre class="lines">
|
|
1481
1479
|
|
|
1482
1480
|
|
|
1481
|
+
117
|
|
1483
1482
|
118
|
|
1484
1483
|
119
|
|
1485
1484
|
120
|
|
@@ -1489,19 +1488,18 @@
|
|
|
1489
1488
|
124
|
|
1490
1489
|
125
|
|
1491
1490
|
126
|
|
1492
|
-
127
|
|
1493
|
-
128</pre>
|
|
1491
|
+
127</pre>
|
|
1494
1492
|
</td>
|
|
1495
1493
|
<td>
|
|
1496
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1494
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 117</span>
|
|
1497
1495
|
|
|
1498
1496
|
<span class='kw'>def</span> <span class='id identifier rubyid_handle_target_destroyed'>handle_target_destroyed</span><span class='lparen'>(</span><span class='id identifier rubyid_event'>event</span><span class='rparen'>)</span>
|
|
1499
1497
|
<span class='id identifier rubyid_target_id'>target_id</span> <span class='op'>=</span> <span class='id identifier rubyid_event'>event</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>targetId</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
|
1500
1498
|
<span class='id identifier rubyid_target'>target</span> <span class='op'>=</span> <span class='ivar'>@targets</span><span class='lbracket'>[</span><span class='id identifier rubyid_target_id'>target_id</span><span class='rbracket'>]</span>
|
|
1501
|
-
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier
|
|
1499
|
+
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_ignore_initialize_callback_promise'>ignore_initialize_callback_promise</span>
|
|
1502
1500
|
<span class='ivar'>@targets</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_target_id'>target_id</span><span class='rparen'>)</span>
|
|
1503
1501
|
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_handle_closed'>handle_closed</span>
|
|
1504
|
-
<span class='id identifier
|
|
1502
|
+
<span class='kw'>if</span> <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_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_initialized_promise'>initialized_promise</span>
|
|
1505
1503
|
<span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Events.Browser.TargetDestroyed</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
|
|
1506
1504
|
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_browser_context'>browser_context</span><span class='period'>.</span><span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Events.BrowserContext.TargetDestroyed</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
|
|
1507
1505
|
<span class='kw'>end</span>
|
|
@@ -1550,6 +1548,7 @@
|
|
|
1550
1548
|
<pre class="lines">
|
|
1551
1549
|
|
|
1552
1550
|
|
|
1551
|
+
130
|
|
1553
1552
|
131
|
|
1554
1553
|
132
|
|
1555
1554
|
133
|
|
@@ -1573,11 +1572,10 @@
|
|
|
1573
1572
|
151
|
|
1574
1573
|
152
|
|
1575
1574
|
153
|
|
1576
|
-
154
|
|
1577
|
-
155</pre>
|
|
1575
|
+
154</pre>
|
|
1578
1576
|
</td>
|
|
1579
1577
|
<td>
|
|
1580
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1578
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 130</span>
|
|
1581
1579
|
|
|
1582
1580
|
<span class='kw'>def</span> <span class='id identifier rubyid_handle_target_info_changed'>handle_target_info_changed</span><span class='lparen'>(</span><span class='id identifier rubyid_event'>event</span><span class='rparen'>)</span>
|
|
1583
1581
|
<span class='id identifier rubyid_target_info'>target_info</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Target.html" title="Puppeteer::Target (class)">Target</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Target/TargetInfo.html" title="Puppeteer::Target::TargetInfo (class)">TargetInfo</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Target/TargetInfo.html#initialize-instance_method" title="Puppeteer::Target::TargetInfo#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_event'>event</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>targetInfo</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
|
@@ -1624,12 +1622,12 @@
|
|
|
1624
1622
|
<pre class="lines">
|
|
1625
1623
|
|
|
1626
1624
|
|
|
1625
|
+
165
|
|
1627
1626
|
166
|
|
1628
|
-
167
|
|
1629
|
-
168</pre>
|
|
1627
|
+
167</pre>
|
|
1630
1628
|
</td>
|
|
1631
1629
|
<td>
|
|
1632
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1630
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 165</span>
|
|
1633
1631
|
|
|
1634
1632
|
<span class='kw'>def</span> <span class='id identifier rubyid_new_page'>new_page</span>
|
|
1635
1633
|
<span class='ivar'>@default_context</span><span class='period'>.</span><span class='id identifier rubyid_new_page'>new_page</span>
|
|
@@ -1676,12 +1674,12 @@
|
|
|
1676
1674
|
<pre class="lines">
|
|
1677
1675
|
|
|
1678
1676
|
|
|
1677
|
+
229
|
|
1679
1678
|
230
|
|
1680
|
-
231
|
|
1681
|
-
232</pre>
|
|
1679
|
+
231</pre>
|
|
1682
1680
|
</td>
|
|
1683
1681
|
<td>
|
|
1684
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1682
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 229</span>
|
|
1685
1683
|
|
|
1686
1684
|
<span class='kw'>def</span> <span class='id identifier rubyid_pages'>pages</span>
|
|
1687
1685
|
<span class='id identifier rubyid_browser_contexts'>browser_contexts</span><span class='period'>.</span><span class='id identifier rubyid_flat_map'>flat_map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:pages</span><span class='rparen'>)</span>
|
|
@@ -1780,12 +1778,12 @@
|
|
|
1780
1778
|
<pre class="lines">
|
|
1781
1779
|
|
|
1782
1780
|
|
|
1781
|
+
190
|
|
1783
1782
|
191
|
|
1784
|
-
192
|
|
1785
|
-
193</pre>
|
|
1783
|
+
192</pre>
|
|
1786
1784
|
</td>
|
|
1787
1785
|
<td>
|
|
1788
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1786
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 190</span>
|
|
1789
1787
|
|
|
1790
1788
|
<span class='kw'>def</span> <span class='id identifier rubyid_target'>target</span>
|
|
1791
1789
|
<span class='id identifier rubyid_targets'>targets</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_target'>target</span><span class='op'>|</span> <span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>browser</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
|
@@ -1832,12 +1830,12 @@
|
|
|
1832
1830
|
<pre class="lines">
|
|
1833
1831
|
|
|
1834
1832
|
|
|
1833
|
+
184
|
|
1835
1834
|
185
|
|
1836
|
-
186
|
|
1837
|
-
187</pre>
|
|
1835
|
+
186</pre>
|
|
1838
1836
|
</td>
|
|
1839
1837
|
<td>
|
|
1840
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1838
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 184</span>
|
|
1841
1839
|
|
|
1842
1840
|
<span class='kw'>def</span> <span class='id identifier rubyid_targets'>targets</span>
|
|
1843
1841
|
<span class='ivar'>@targets</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_target'>target</span><span class='op'>|</span> <span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_initialized?'>initialized?</span> <span class='rbrace'>}</span>
|
|
@@ -1884,12 +1882,12 @@
|
|
|
1884
1882
|
<pre class="lines">
|
|
1885
1883
|
|
|
1886
1884
|
|
|
1885
|
+
239
|
|
1887
1886
|
240
|
|
1888
|
-
241
|
|
1889
|
-
242</pre>
|
|
1887
|
+
241</pre>
|
|
1890
1888
|
</td>
|
|
1891
1889
|
<td>
|
|
1892
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1890
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 239</span>
|
|
1893
1891
|
|
|
1894
1892
|
<span class='kw'>def</span> <span class='id identifier rubyid_user_agent'>user_agent</span>
|
|
1895
1893
|
<span class='id identifier rubyid_get_version'>get_version</span><span class='period'>.</span><span class='id identifier rubyid_user_agent'>user_agent</span>
|
|
@@ -1936,12 +1934,12 @@
|
|
|
1936
1934
|
<pre class="lines">
|
|
1937
1935
|
|
|
1938
1936
|
|
|
1937
|
+
234
|
|
1939
1938
|
235
|
|
1940
|
-
236
|
|
1941
|
-
237</pre>
|
|
1939
|
+
236</pre>
|
|
1942
1940
|
</td>
|
|
1943
1941
|
<td>
|
|
1944
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
1942
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 234</span>
|
|
1945
1943
|
|
|
1946
1944
|
<span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
|
|
1947
1945
|
<span class='id identifier rubyid_get_version'>get_version</span><span class='period'>.</span><span class='id identifier rubyid_product'>product</span>
|
|
@@ -2014,6 +2012,7 @@
|
|
|
2014
2012
|
<pre class="lines">
|
|
2015
2013
|
|
|
2016
2014
|
|
|
2015
|
+
197
|
|
2017
2016
|
198
|
|
2018
2017
|
199
|
|
2019
2018
|
200
|
|
@@ -2042,11 +2041,10 @@
|
|
|
2042
2041
|
223
|
|
2043
2042
|
224
|
|
2044
2043
|
225
|
|
2045
|
-
226
|
|
2046
|
-
227</pre>
|
|
2044
|
+
226</pre>
|
|
2047
2045
|
</td>
|
|
2048
2046
|
<td>
|
|
2049
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
2047
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 197</span>
|
|
2050
2048
|
|
|
2051
2049
|
<span class='kw'>def</span> <span class='id identifier rubyid_wait_for_target'>wait_for_target</span><span class='lparen'>(</span><span class='label'>predicate:</span><span class='comma'>,</span> <span class='label'>timeout:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
2052
2050
|
<span class='id identifier rubyid_timeout_in_sec'>timeout_in_sec</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_timeout'>timeout</span> <span class='op'>||</span> <span class='int'>30000</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>/</span> <span class='float'>1000.0</span>
|
|
@@ -2120,12 +2118,12 @@
|
|
|
2120
2118
|
<pre class="lines">
|
|
2121
2119
|
|
|
2122
2120
|
|
|
2121
|
+
161
|
|
2123
2122
|
162
|
|
2124
|
-
163
|
|
2125
|
-
164</pre>
|
|
2123
|
+
163</pre>
|
|
2126
2124
|
</td>
|
|
2127
2125
|
<td>
|
|
2128
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
|
2126
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 161</span>
|
|
2129
2127
|
|
|
2130
2128
|
<span class='kw'>def</span> <span class='id identifier rubyid_websocket_endpoint'>websocket_endpoint</span>
|
|
2131
2129
|
<span class='ivar'>@connection</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span>
|
|
@@ -2140,7 +2138,7 @@
|
|
|
2140
2138
|
</div>
|
|
2141
2139
|
|
|
2142
2140
|
<div id="footer">
|
|
2143
|
-
Generated on
|
|
2141
|
+
Generated on Tue Jun 9 00:13:40 2020 by
|
|
2144
2142
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2145
2143
|
0.9.24 (ruby-2.6.3).
|
|
2146
2144
|
</div>
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
</div>
|
|
800
800
|
|
|
801
801
|
<div id="footer">
|
|
802
|
-
Generated on
|
|
802
|
+
Generated on Tue Jun 9 00:13:41 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
|
|
207
|
+
Generated on Tue Jun 9 00:13:41 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
|
|
907
|
+
Generated on Tue Jun 9 00:13:41 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
|
|
470
|
+
Generated on Tue Jun 9 00:13:41 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>
|
|
@@ -803,7 +803,7 @@
|
|
|
803
803
|
</div>
|
|
804
804
|
|
|
805
805
|
<div id="footer">
|
|
806
|
-
Generated on
|
|
806
|
+
Generated on Tue Jun 9 00:13:40 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
|
|
117
|
+
Generated on Tue Jun 9 00:13:40 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>
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
</div>
|
|
421
421
|
|
|
422
422
|
<div id="footer">
|
|
423
|
-
Generated on
|
|
423
|
+
Generated on Tue Jun 9 00:13:39 2020 by
|
|
424
424
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
425
425
|
0.9.24 (ruby-2.6.3).
|
|
426
426
|
</div>
|
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
</div>
|
|
951
951
|
|
|
952
952
|
<div id="footer">
|
|
953
|
-
Generated on
|
|
953
|
+
Generated on Tue Jun 9 00:13:40 2020 by
|
|
954
954
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
955
955
|
0.9.24 (ruby-2.6.3).
|
|
956
956
|
</div>
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
</div>
|
|
425
425
|
|
|
426
426
|
<div id="footer">
|
|
427
|
-
Generated on
|
|
427
|
+
Generated on Tue Jun 9 00:13:40 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
|
|
209
|
+
Generated on Tue Jun 9 00:13:40 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>
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
</div>
|
|
208
208
|
|
|
209
209
|
<div id="footer">
|
|
210
|
-
Generated on
|
|
210
|
+
Generated on Tue Jun 9 00:13:40 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>
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
</div>
|
|
235
235
|
|
|
236
236
|
<div id="footer">
|
|
237
|
-
Generated on
|
|
237
|
+
Generated on Tue Jun 9 00:13:40 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>
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
</div>
|
|
556
556
|
|
|
557
557
|
<div id="footer">
|
|
558
|
-
Generated on
|
|
558
|
+
Generated on Tue Jun 9 00:13:41 2020 by
|
|
559
559
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
560
560
|
0.9.24 (ruby-2.6.3).
|
|
561
561
|
</div>
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
</div>
|
|
424
424
|
|
|
425
425
|
<div id="footer">
|
|
426
|
-
Generated on
|
|
426
|
+
Generated on Tue Jun 9 00:13:41 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>
|