puppeteer-ruby 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/docs/Puppeteer.html +414 -96
- data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
- data/docs/Puppeteer/Browser.html +34 -34
- data/docs/Puppeteer/BrowserContext.html +2 -2
- data/docs/Puppeteer/BrowserFetcher.html +1 -1
- data/docs/Puppeteer/BrowserRunner.html +1 -1
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
- data/docs/Puppeteer/CDPSession.html +2 -2
- data/docs/Puppeteer/CDPSession/Error.html +1 -1
- data/docs/Puppeteer/ConcurrentRubyUtils.html +14 -6
- data/docs/Puppeteer/Connection.html +2 -2
- data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
- data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +1 -1
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +1 -1
- data/docs/Puppeteer/ConsoleMessage.html +1 -1
- data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
- data/docs/Puppeteer/DOMWorld.html +1 -1
- data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
- data/docs/Puppeteer/DebugPrint.html +1 -1
- data/docs/Puppeteer/Device.html +1 -1
- data/docs/Puppeteer/Devices.html +1 -1
- data/docs/Puppeteer/ElementHandle.html +1 -1
- data/docs/Puppeteer/ElementHandle/BoundingBox.html +1 -1
- data/docs/Puppeteer/ElementHandle/BoxModel.html +1 -1
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +1 -1
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +1 -1
- data/docs/Puppeteer/ElementHandle/Point.html +1 -1
- data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +1 -1
- data/docs/Puppeteer/EmulationManager.html +1 -1
- data/docs/Puppeteer/EventCallbackable.html +83 -17
- data/docs/Puppeteer/EventCallbackable/EventListeners.html +1 -1
- data/docs/Puppeteer/ExecutionContext.html +1 -1
- data/docs/Puppeteer/ExecutionContext/EvaluationError.html +1 -1
- data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +1 -1
- data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +1 -1
- data/docs/Puppeteer/FileChooser.html +1 -1
- data/docs/Puppeteer/Frame.html +1 -1
- data/docs/Puppeteer/FrameManager.html +2 -2
- data/docs/Puppeteer/FrameManager/NavigationError.html +1 -1
- data/docs/Puppeteer/IfPresent.html +1 -1
- data/docs/Puppeteer/JSHandle.html +1 -1
- data/docs/Puppeteer/Keyboard.html +1 -1
- data/docs/Puppeteer/Keyboard/KeyDefinition.html +1 -1
- data/docs/Puppeteer/Keyboard/KeyDescription.html +1 -1
- data/docs/Puppeteer/Launcher.html +1 -1
- data/docs/Puppeteer/Launcher/Base.html +1 -1
- data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +1 -1
- data/docs/Puppeteer/Launcher/BrowserOptions.html +1 -1
- data/docs/Puppeteer/Launcher/Chrome.html +1 -1
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
- data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
- data/docs/Puppeteer/Mouse.html +1 -1
- data/docs/Puppeteer/Mouse/Button.html +1 -1
- data/docs/Puppeteer/NetworkManager.html +2 -2
- data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
- data/docs/Puppeteer/Page.html +497 -294
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +5 -5
- data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
- data/docs/Puppeteer/Page/ScriptTag.html +24 -24
- data/docs/Puppeteer/Page/StyleTag.html +19 -19
- data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
- data/docs/Puppeteer/RemoteObject.html +1 -1
- data/docs/Puppeteer/Target.html +2 -2
- data/docs/Puppeteer/Target/InitializeFailure.html +1 -1
- data/docs/Puppeteer/Target/TargetInfo.html +1 -1
- data/docs/Puppeteer/TimeoutError.html +1 -1
- data/docs/Puppeteer/TimeoutSettings.html +1 -1
- data/docs/Puppeteer/TouchScreen.html +1 -1
- data/docs/Puppeteer/Viewport.html +1 -1
- data/docs/Puppeteer/WaitTask.html +1 -1
- data/docs/Puppeteer/WaitTask/TerminatedError.html +1 -1
- data/docs/Puppeteer/WaitTask/TimeoutError.html +1 -1
- data/docs/Puppeteer/WebSocket.html +1 -1
- data/docs/Puppeteer/WebSocket/DriverImpl.html +1 -1
- data/docs/Puppeteer/WebSocket/TransportError.html +1 -1
- data/docs/Puppeteer/WebSocketTransport.html +9 -9
- data/docs/_index.html +1 -1
- data/docs/file.README.html +3 -1
- data/docs/index.html +3 -1
- data/docs/method_list.html +581 -557
- data/docs/top-level-namespace.html +1 -1
- data/lib/puppeteer.rb +36 -12
- data/lib/puppeteer/browser.rb +5 -0
- data/lib/puppeteer/concurrent_ruby_utils.rb +6 -2
- data/lib/puppeteer/event_callbackable.rb +11 -0
- data/lib/puppeteer/launcher.rb +6 -6
- data/lib/puppeteer/launcher/chrome.rb +1 -1
- data/lib/puppeteer/page.rb +39 -0
- data/lib/puppeteer/target.rb +1 -1
- data/lib/puppeteer/version.rb +1 -1
- data/lib/puppeteer/web_socket_transport.rb +8 -8
- data/puppeteer-ruby.png +0 -0
- metadata +3 -4
- data/Dockerfile +0 -6
- data/docker-compose.yml +0 -15
data/docs/Puppeteer/Browser.html
CHANGED
@@ -683,7 +683,7 @@
|
|
683
683
|
|
684
684
|
|
685
685
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
|
686
|
-
<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>
|
686
|
+
<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>
|
687
687
|
|
688
688
|
|
689
689
|
|
@@ -1030,13 +1030,13 @@
|
|
1030
1030
|
<pre class="lines">
|
1031
1031
|
|
1032
1032
|
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1033
|
+
264
|
1034
|
+
265
|
1035
|
+
266
|
1036
|
+
267</pre>
|
1037
1037
|
</td>
|
1038
1038
|
<td>
|
1039
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
1039
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 264</span>
|
1040
1040
|
|
1041
1041
|
<span class='kw'>def</span> <span class='id identifier rubyid_close'>close</span>
|
1042
1042
|
<span class='ivar'>@close_callback</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span>
|
@@ -1084,12 +1084,12 @@
|
|
1084
1084
|
<pre class="lines">
|
1085
1085
|
|
1086
1086
|
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1087
|
+
273
|
1088
|
+
274
|
1089
|
+
275</pre>
|
1090
1090
|
</td>
|
1091
1091
|
<td>
|
1092
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
1092
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 273</span>
|
1093
1093
|
|
1094
1094
|
<span class='kw'>def</span> <span class='id identifier rubyid_connected?'>connected?</span>
|
1095
1095
|
<span class='op'>!</span><span class='ivar'>@connection</span><span class='period'>.</span><span class='id identifier rubyid_closed?'>closed?</span>
|
@@ -1305,12 +1305,12 @@
|
|
1305
1305
|
<pre class="lines">
|
1306
1306
|
|
1307
1307
|
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1308
|
+
269
|
1309
|
+
270
|
1310
|
+
271</pre>
|
1311
1311
|
</td>
|
1312
1312
|
<td>
|
1313
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
1313
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 269</span>
|
1314
1314
|
|
1315
1315
|
<span class='kw'>def</span> <span class='id identifier rubyid_disconnect'>disconnect</span>
|
1316
1316
|
<span class='ivar'>@connection</span><span class='period'>.</span><span class='id identifier rubyid_dispose'>dispose</span>
|
@@ -1784,12 +1784,12 @@
|
|
1784
1784
|
<pre class="lines">
|
1785
1785
|
|
1786
1786
|
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1787
|
+
250
|
1788
|
+
251
|
1789
|
+
252</pre>
|
1790
1790
|
</td>
|
1791
1791
|
<td>
|
1792
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
1792
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 250</span>
|
1793
1793
|
|
1794
1794
|
<span class='kw'>def</span> <span class='id identifier rubyid_pages'>pages</span>
|
1795
1795
|
<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>
|
@@ -1992,12 +1992,12 @@
|
|
1992
1992
|
<pre class="lines">
|
1993
1993
|
|
1994
1994
|
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1995
|
+
260
|
1996
|
+
261
|
1997
|
+
262</pre>
|
1998
1998
|
</td>
|
1999
1999
|
<td>
|
2000
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
2000
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 260</span>
|
2001
2001
|
|
2002
2002
|
<span class='kw'>def</span> <span class='id identifier rubyid_user_agent'>user_agent</span>
|
2003
2003
|
<span class='id identifier rubyid_get_version'>get_version</span><span class='period'>.</span><span class='id identifier rubyid_user_agent'>user_agent</span>
|
@@ -2044,12 +2044,12 @@
|
|
2044
2044
|
<pre class="lines">
|
2045
2045
|
|
2046
2046
|
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
2047
|
+
255
|
2048
|
+
256
|
2049
|
+
257</pre>
|
2050
2050
|
</td>
|
2051
2051
|
<td>
|
2052
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
2052
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 255</span>
|
2053
2053
|
|
2054
2054
|
<span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
|
2055
2055
|
<span class='id identifier rubyid_get_version'>get_version</span><span class='period'>.</span><span class='id identifier rubyid_product'>product</span>
|
@@ -2122,11 +2122,6 @@
|
|
2122
2122
|
<pre class="lines">
|
2123
2123
|
|
2124
2124
|
|
2125
|
-
213
|
2126
|
-
214
|
2127
|
-
215
|
2128
|
-
216
|
2129
|
-
217
|
2130
2125
|
218
|
2131
2126
|
219
|
2132
2127
|
220
|
@@ -2151,10 +2146,15 @@
|
|
2151
2146
|
239
|
2152
2147
|
240
|
2153
2148
|
241
|
2154
|
-
242
|
2149
|
+
242
|
2150
|
+
243
|
2151
|
+
244
|
2152
|
+
245
|
2153
|
+
246
|
2154
|
+
247</pre>
|
2155
2155
|
</td>
|
2156
2156
|
<td>
|
2157
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line
|
2157
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/browser.rb', line 218</span>
|
2158
2158
|
|
2159
2159
|
<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>
|
2160
2160
|
<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>
|
@@ -2248,7 +2248,7 @@
|
|
2248
2248
|
</div>
|
2249
2249
|
|
2250
2250
|
<div id="footer">
|
2251
|
-
Generated on
|
2251
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
2252
2252
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2253
2253
|
0.9.24 (ruby-2.6.3).
|
2254
2254
|
</div>
|
@@ -314,7 +314,7 @@
|
|
314
314
|
|
315
315
|
|
316
316
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
|
317
|
-
<p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
|
317
|
+
<p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#observe_first-instance_method" title="Puppeteer::EventCallbackable#observe_first (method)">#observe_first</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
|
318
318
|
<div id="constructor_details" class="method_details_list">
|
319
319
|
<h2>Constructor Details</h2>
|
320
320
|
|
@@ -799,7 +799,7 @@
|
|
799
799
|
</div>
|
800
800
|
|
801
801
|
<div id="footer">
|
802
|
-
Generated on
|
802
|
+
Generated on Tue Jun 23 10:25:00 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 23 10:25:00 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 23 10:25:00 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 23 10:25:00 2020 by
|
471
471
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
472
472
|
0.9.24 (ruby-2.6.3).
|
473
473
|
</div>
|
@@ -312,7 +312,7 @@
|
|
312
312
|
|
313
313
|
|
314
314
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
|
315
|
-
<p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
|
315
|
+
<p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#observe_first-instance_method" title="Puppeteer::EventCallbackable#observe_first (method)">#observe_first</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
|
316
316
|
|
317
317
|
|
318
318
|
|
@@ -803,7 +803,7 @@
|
|
803
803
|
</div>
|
804
804
|
|
805
805
|
<div id="footer">
|
806
|
-
Generated on
|
806
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
807
807
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
808
808
|
0.9.24 (ruby-2.6.3).
|
809
809
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.24 (ruby-2.6.3).
|
120
120
|
</div>
|
@@ -202,7 +202,7 @@
|
|
202
202
|
<li class="public ">
|
203
203
|
<span class="summary_signature">
|
204
204
|
|
205
|
-
<a href="#resolvable_future-instance_method" title="#resolvable_future (instance method)">#<strong>resolvable_future</strong> ⇒ Object </a>
|
205
|
+
<a href="#resolvable_future-instance_method" title="#resolvable_future (instance method)">#<strong>resolvable_future</strong>(&block) ⇒ Object </a>
|
206
206
|
|
207
207
|
|
208
208
|
|
@@ -388,7 +388,7 @@
|
|
388
388
|
<div class="method_details ">
|
389
389
|
<h3 class="signature " id="resolvable_future-instance_method">
|
390
390
|
|
391
|
-
#<strong>resolvable_future</strong> ⇒ <tt>Object</tt>
|
391
|
+
#<strong>resolvable_future</strong>(&block) ⇒ <tt>Object</tt>
|
392
392
|
|
393
393
|
|
394
394
|
|
@@ -402,13 +402,21 @@
|
|
402
402
|
|
403
403
|
32
|
404
404
|
33
|
405
|
-
34
|
405
|
+
34
|
406
|
+
35
|
407
|
+
36
|
408
|
+
37
|
409
|
+
38</pre>
|
406
410
|
</td>
|
407
411
|
<td>
|
408
412
|
<pre class="code"><span class="info file"># File 'lib/puppeteer/concurrent_ruby_utils.rb', line 32</span>
|
409
413
|
|
410
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_resolvable_future'>resolvable_future</span>
|
411
|
-
<span class='const'>Concurrent</span><span class='op'>::</span><span class='const'>Promises</span><span class='period'>.</span><span class='id identifier rubyid_resolvable_future'>resolvable_future</span>
|
414
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_resolvable_future'>resolvable_future</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
415
|
+
<span class='id identifier rubyid_future'><span class='object_link'><a href="#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span> <span class='op'>=</span> <span class='const'>Concurrent</span><span class='op'>::</span><span class='const'>Promises</span><span class='period'>.</span><span class='id identifier rubyid_resolvable_future'>resolvable_future</span>
|
416
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span>
|
417
|
+
<span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_future'><span class='object_link'><a href="#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span><span class='rparen'>)</span>
|
418
|
+
<span class='kw'>end</span>
|
419
|
+
<span class='id identifier rubyid_future'><span class='object_link'><a href="#future-instance_method" title="Puppeteer::ConcurrentRubyUtils#future (method)">future</a></span></span>
|
412
420
|
<span class='kw'>end</span></pre>
|
413
421
|
</td>
|
414
422
|
</tr>
|
@@ -420,7 +428,7 @@
|
|
420
428
|
</div>
|
421
429
|
|
422
430
|
<div id="footer">
|
423
|
-
Generated on
|
431
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
424
432
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
425
433
|
0.9.24 (ruby-2.6.3).
|
426
434
|
</div>
|
@@ -397,7 +397,7 @@
|
|
397
397
|
|
398
398
|
|
399
399
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="EventCallbackable.html" title="Puppeteer::EventCallbackable (module)">EventCallbackable</a></span></h3>
|
400
|
-
<p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
|
400
|
+
<p class="inherited"><span class='object_link'><a href="EventCallbackable.html#add_event_listener-instance_method" title="Puppeteer::EventCallbackable#add_event_listener (method)">#add_event_listener</a></span>, <span class='object_link'><a href="EventCallbackable.html#emit_event-instance_method" title="Puppeteer::EventCallbackable#emit_event (method)">#emit_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#observe_first-instance_method" title="Puppeteer::EventCallbackable#observe_first (method)">#observe_first</a></span>, <span class='object_link'><a href="EventCallbackable.html#on_event-instance_method" title="Puppeteer::EventCallbackable#on_event (method)">#on_event</a></span>, <span class='object_link'><a href="EventCallbackable.html#remove_event_listener-instance_method" title="Puppeteer::EventCallbackable#remove_event_listener (method)">#remove_event_listener</a></span></p>
|
401
401
|
|
402
402
|
|
403
403
|
|
@@ -954,7 +954,7 @@
|
|
954
954
|
</div>
|
955
955
|
|
956
956
|
<div id="footer">
|
957
|
-
Generated on
|
957
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
958
958
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
959
959
|
0.9.24 (ruby-2.6.3).
|
960
960
|
</div>
|
@@ -424,7 +424,7 @@
|
|
424
424
|
</div>
|
425
425
|
|
426
426
|
<div id="footer">
|
427
|
-
Generated on
|
427
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
428
428
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
429
429
|
0.9.24 (ruby-2.6.3).
|
430
430
|
</div>
|
@@ -206,7 +206,7 @@
|
|
206
206
|
</div>
|
207
207
|
|
208
208
|
<div id="footer">
|
209
|
-
Generated on
|
209
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
210
210
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
211
211
|
0.9.24 (ruby-2.6.3).
|
212
212
|
</div>
|
@@ -207,7 +207,7 @@
|
|
207
207
|
</div>
|
208
208
|
|
209
209
|
<div id="footer">
|
210
|
-
Generated on
|
210
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
211
211
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
212
212
|
0.9.24 (ruby-2.6.3).
|
213
213
|
</div>
|
@@ -234,7 +234,7 @@
|
|
234
234
|
</div>
|
235
235
|
|
236
236
|
<div id="footer">
|
237
|
-
Generated on
|
237
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
238
238
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
239
239
|
0.9.24 (ruby-2.6.3).
|
240
240
|
</div>
|
@@ -555,7 +555,7 @@
|
|
555
555
|
</div>
|
556
556
|
|
557
557
|
<div id="footer">
|
558
|
-
Generated on
|
558
|
+
Generated on Tue Jun 23 10:25:00 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 23 10:25:00 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>
|
@@ -2209,7 +2209,7 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
2209
2209
|
</div>
|
2210
2210
|
|
2211
2211
|
<div id="footer">
|
2212
|
-
Generated on
|
2212
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
2213
2213
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2214
2214
|
0.9.24 (ruby-2.6.3).
|
2215
2215
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.24 (ruby-2.6.3).
|
120
120
|
</div>
|
@@ -223,7 +223,7 @@
|
|
223
223
|
</div>
|
224
224
|
|
225
225
|
<div id="footer">
|
226
|
-
Generated on
|
226
|
+
Generated on Tue Jun 23 10:24:58 2020 by
|
227
227
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
228
228
|
0.9.24 (ruby-2.6.3).
|
229
229
|
</div>
|
data/docs/Puppeteer/Device.html
CHANGED
@@ -460,7 +460,7 @@
|
|
460
460
|
</div>
|
461
461
|
|
462
462
|
<div id="footer">
|
463
|
-
Generated on
|
463
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
464
464
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
465
465
|
0.9.24 (ruby-2.6.3).
|
466
466
|
</div>
|
data/docs/Puppeteer/Devices.html
CHANGED
@@ -129,7 +129,7 @@
|
|
129
129
|
</div>
|
130
130
|
|
131
131
|
<div id="footer">
|
132
|
-
Generated on
|
132
|
+
Generated on Tue Jun 23 10:24:59 2020 by
|
133
133
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
134
134
|
0.9.24 (ruby-2.6.3).
|
135
135
|
</div>
|
@@ -2532,7 +2532,7 @@
|
|
2532
2532
|
</div>
|
2533
2533
|
|
2534
2534
|
<div id="footer">
|
2535
|
-
Generated on
|
2535
|
+
Generated on Tue Jun 23 10:25:00 2020 by
|
2536
2536
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2537
2537
|
0.9.24 (ruby-2.6.3).
|
2538
2538
|
</div>
|
@@ -497,7 +497,7 @@
|
|
497
497
|
</div>
|
498
498
|
|
499
499
|
<div id="footer">
|
500
|
-
Generated on
|
500
|
+
Generated on Tue Jun 23 10:25:01 2020 by
|
501
501
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
502
502
|
0.9.24 (ruby-2.6.3).
|
503
503
|
</div>
|
@@ -394,7 +394,7 @@
|
|
394
394
|
</div>
|
395
395
|
|
396
396
|
<div id="footer">
|
397
|
-
Generated on
|
397
|
+
Generated on Tue Jun 23 10:25:01 2020 by
|
398
398
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
399
399
|
0.9.24 (ruby-2.6.3).
|
400
400
|
</div>
|
@@ -196,7 +196,7 @@
|
|
196
196
|
</div>
|
197
197
|
|
198
198
|
<div id="footer">
|
199
|
-
Generated on
|
199
|
+
Generated on Tue Jun 23 10:25:00 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>
|