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.
- checksums.yaml +4 -4
- data/docs/Puppeteer.html +2 -2
- data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
- data/docs/Puppeteer/Browser.html +254 -144
- 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 +65 -61
- data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
- data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +5 -5
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +12 -12
- data/docs/Puppeteer/ConsoleMessage.html +1 -1
- data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
- data/docs/Puppeteer/DOMWorld.html +32 -32
- 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 +507 -0
- data/docs/Puppeteer/ElementHandle/BoxModel.html +404 -0
- 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 +425 -289
- data/docs/Puppeteer/FrameManager.html +1 -1
- 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 +31 -41
- 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 +1 -1
- 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 +124 -0
- data/docs/Puppeteer/WebSocketTransport.html +1 -1
- data/docs/_index.html +5 -12
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/method_list.html +402 -386
- data/docs/top-level-namespace.html +1 -1
- data/lib/puppeteer/browser.rb +17 -1
- data/lib/puppeteer/connection.rb +13 -1
- data/lib/puppeteer/dom_world.rb +7 -6
- data/lib/puppeteer/frame.rb +19 -1
- data/lib/puppeteer/mouse.rb +3 -8
- data/lib/puppeteer/page.rb +1 -1
- data/lib/puppeteer/version.rb +1 -1
- metadata +5 -2
@@ -799,7 +799,7 @@
|
|
799
799
|
</div>
|
800
800
|
|
801
801
|
<div id="footer">
|
802
|
-
Generated on
|
802
|
+
Generated on Sat Jun 20 17:15:08 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 Sat Jun 20 17:15:08 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 Sat Jun 20 17:15:07 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 Sat Jun 20 17:15:07 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 Sat Jun 20 17:15:07 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 Sat Jun 20 17:15:07 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 Sat Jun 20 17:15:05 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>
|
@@ -454,7 +454,9 @@
|
|
454
454
|
52
|
455
455
|
53
|
456
456
|
54
|
457
|
-
55
|
457
|
+
55
|
458
|
+
56
|
459
|
+
57</pre>
|
458
460
|
</td>
|
459
461
|
<td>
|
460
462
|
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 39</span>
|
@@ -467,7 +469,9 @@
|
|
467
469
|
|
468
470
|
<span class='ivar'>@transport</span> <span class='op'>=</span> <span class='id identifier rubyid_transport'>transport</span>
|
469
471
|
<span class='ivar'>@transport</span><span class='period'>.</span><span class='id identifier rubyid_on_message'>on_message</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_data'>data</span><span class='op'>|</span>
|
470
|
-
<span class='id identifier
|
472
|
+
<span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
473
|
+
<span class='id identifier rubyid_sleep_before_handling_message'>sleep_before_handling_message</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
|
474
|
+
<span class='id identifier rubyid_async_handle_message'>async_handle_message</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
|
471
475
|
<span class='kw'>end</span>
|
472
476
|
<span class='ivar'>@transport</span><span class='period'>.</span><span class='id identifier rubyid_on_close'>on_close</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_reason'>reason</span><span class='comma'>,</span> <span class='id identifier rubyid_code'>code</span><span class='op'>|</span>
|
473
477
|
<span class='id identifier rubyid_handle_close'>handle_close</span><span class='lparen'>(</span><span class='id identifier rubyid_reason'>reason</span><span class='comma'>,</span> <span class='id identifier rubyid_code'>code</span><span class='rparen'>)</span>
|
@@ -503,12 +507,12 @@
|
|
503
507
|
<pre class="lines">
|
504
508
|
|
505
509
|
|
506
|
-
|
507
|
-
|
508
|
-
|
510
|
+
69
|
511
|
+
70
|
512
|
+
71</pre>
|
509
513
|
</td>
|
510
514
|
<td>
|
511
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
515
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 69</span>
|
512
516
|
|
513
517
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_from_session'>from_session</span><span class='lparen'>(</span><span class='id identifier rubyid_session'>session</span><span class='rparen'>)</span>
|
514
518
|
<span class='id identifier rubyid_session'>session</span><span class='period'>.</span><span class='id identifier rubyid_connection'>connection</span>
|
@@ -539,15 +543,15 @@
|
|
539
543
|
<pre class="lines">
|
540
544
|
|
541
545
|
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
546
|
+
89
|
547
|
+
90
|
548
|
+
91
|
549
|
+
92
|
550
|
+
93
|
551
|
+
94</pre>
|
548
552
|
</td>
|
549
553
|
<td>
|
550
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
554
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 89</span>
|
551
555
|
|
552
556
|
<span class='kw'>def</span> <span class='id identifier rubyid_async_send_message'>async_send_message</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
553
557
|
<span class='id identifier rubyid_id'>id</span> <span class='op'>=</span> <span class='id identifier rubyid_raw_send'>raw_send</span><span class='lparen'>(</span><span class='label'>message:</span> <span class='lbrace'>{</span> <span class='label'>method:</span> <span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='label'>params:</span> <span class='id identifier rubyid_params'>params</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
|
@@ -612,24 +616,24 @@
|
|
612
616
|
<pre class="lines">
|
613
617
|
|
614
618
|
|
615
|
-
239
|
616
|
-
240
|
617
|
-
241
|
618
|
-
242
|
619
|
-
243
|
620
|
-
244
|
621
|
-
245
|
622
|
-
246
|
623
|
-
247
|
624
|
-
248
|
625
|
-
249
|
626
|
-
250
|
627
619
|
251
|
628
620
|
252
|
629
|
-
253
|
621
|
+
253
|
622
|
+
254
|
623
|
+
255
|
624
|
+
256
|
625
|
+
257
|
626
|
+
258
|
627
|
+
259
|
628
|
+
260
|
629
|
+
261
|
630
|
+
262
|
631
|
+
263
|
632
|
+
264
|
633
|
+
265</pre>
|
630
634
|
</td>
|
631
635
|
<td>
|
632
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
636
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 251</span>
|
633
637
|
|
634
638
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_session'>create_session</span><span class='lparen'>(</span><span class='id identifier rubyid_target_info'>target_info</span><span class='rparen'>)</span>
|
635
639
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_send_message'>send_message</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Target.attachToTarget</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>targetId:</span> <span class='id identifier rubyid_target_info'>target_info</span><span class='period'>.</span><span class='id identifier rubyid_target_id'>target_id</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
@@ -666,13 +670,13 @@
|
|
666
670
|
<pre class="lines">
|
667
671
|
|
668
672
|
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
+
244
|
674
|
+
245
|
675
|
+
246
|
676
|
+
247</pre>
|
673
677
|
</td>
|
674
678
|
<td>
|
675
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
679
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 244</span>
|
676
680
|
|
677
681
|
<span class='kw'>def</span> <span class='id identifier rubyid_dispose'>dispose</span>
|
678
682
|
<span class='id identifier rubyid_handle_close'>handle_close</span>
|
@@ -698,12 +702,12 @@
|
|
698
702
|
<pre class="lines">
|
699
703
|
|
700
704
|
|
701
|
-
|
702
|
-
|
703
|
-
|
705
|
+
236
|
706
|
+
237
|
707
|
+
238</pre>
|
704
708
|
</td>
|
705
709
|
<td>
|
706
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
710
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 236</span>
|
707
711
|
|
708
712
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_close'>on_close</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
709
713
|
<span class='ivar'>@on_close</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -728,12 +732,12 @@
|
|
728
732
|
<pre class="lines">
|
729
733
|
|
730
734
|
|
731
|
-
|
732
|
-
|
733
|
-
|
735
|
+
240
|
736
|
+
241
|
737
|
+
242</pre>
|
734
738
|
</td>
|
735
739
|
<td>
|
736
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
740
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 240</span>
|
737
741
|
|
738
742
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_message'>on_message</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
739
743
|
<span class='ivar'>@on_message</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -758,16 +762,16 @@
|
|
758
762
|
<pre class="lines">
|
759
763
|
|
760
764
|
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
765
|
+
100
|
766
|
+
101
|
767
|
+
102
|
768
|
+
103
|
769
|
+
104
|
770
|
+
105
|
771
|
+
106</pre>
|
768
772
|
</td>
|
769
773
|
<td>
|
770
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
774
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 100</span>
|
771
775
|
|
772
776
|
<span class='kw'>def</span> <span class='id identifier rubyid_raw_send'>raw_send</span><span class='lparen'>(</span><span class='label'>message:</span><span class='rparen'>)</span>
|
773
777
|
<span class='id identifier rubyid_id'>id</span> <span class='op'>=</span> <span class='id identifier rubyid_generate_id'>generate_id</span>
|
@@ -833,12 +837,12 @@
|
|
833
837
|
<pre class="lines">
|
834
838
|
|
835
839
|
|
836
|
-
|
837
|
-
|
838
|
-
|
840
|
+
85
|
841
|
+
86
|
842
|
+
87</pre>
|
839
843
|
</td>
|
840
844
|
<td>
|
841
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
845
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 85</span>
|
842
846
|
|
843
847
|
<span class='kw'>def</span> <span class='id identifier rubyid_send_message'>send_message</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
844
848
|
<span class='id identifier rubyid_await'><span class='object_link'><a href="ConcurrentRubyUtils.html#await-instance_method" title="Puppeteer::ConcurrentRubyUtils#await (method)">await</a></span></span> <span class='id identifier rubyid_async_send_message'>async_send_message</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
@@ -900,12 +904,12 @@
|
|
900
904
|
<pre class="lines">
|
901
905
|
|
902
906
|
|
903
|
-
|
904
|
-
|
905
|
-
|
907
|
+
75
|
908
|
+
76
|
909
|
+
77</pre>
|
906
910
|
</td>
|
907
911
|
<td>
|
908
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
912
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 75</span>
|
909
913
|
|
910
914
|
<span class='kw'>def</span> <span class='id identifier rubyid_session'>session</span><span class='lparen'>(</span><span class='id identifier rubyid_session_id'>session_id</span><span class='rparen'>)</span>
|
911
915
|
<span class='ivar'>@sessions</span><span class='lbracket'>[</span><span class='id identifier rubyid_session_id'>session_id</span><span class='rbracket'>]</span>
|
@@ -930,12 +934,12 @@
|
|
930
934
|
<pre class="lines">
|
931
935
|
|
932
936
|
|
933
|
-
|
934
|
-
|
935
|
-
|
937
|
+
79
|
938
|
+
80
|
939
|
+
81</pre>
|
936
940
|
</td>
|
937
941
|
<td>
|
938
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
942
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 79</span>
|
939
943
|
|
940
944
|
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
941
945
|
<span class='ivar'>@url</span>
|
@@ -950,7 +954,7 @@
|
|
950
954
|
</div>
|
951
955
|
|
952
956
|
<div id="footer">
|
953
|
-
Generated on
|
957
|
+
Generated on Sat Jun 20 17:15:07 2020 by
|
954
958
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
955
959
|
0.9.24 (ruby-2.6.3).
|
956
960
|
</div>
|
@@ -424,7 +424,7 @@
|
|
424
424
|
</div>
|
425
425
|
|
426
426
|
<div id="footer">
|
427
|
-
Generated on
|
427
|
+
Generated on Sat Jun 20 17:15:07 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 Sat Jun 20 17:15:07 2020 by
|
210
210
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
211
211
|
0.9.24 (ruby-2.6.3).
|
212
212
|
</div>
|
@@ -187,12 +187,12 @@
|
|
187
187
|
<pre class="lines">
|
188
188
|
|
189
189
|
|
190
|
-
|
191
|
-
|
192
|
-
|
190
|
+
112
|
191
|
+
113
|
192
|
+
114</pre>
|
193
193
|
</td>
|
194
194
|
<td>
|
195
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
195
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 112</span>
|
196
196
|
|
197
197
|
<span class='kw'>def</span> <span class='id identifier rubyid_handle_payload'>handle_payload</span><span class='lparen'>(</span><span class='id identifier rubyid_payload'>payload</span><span class='rparen'>)</span>
|
198
198
|
<span class='id identifier rubyid_debug_puts'>debug_puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>SEND >> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_decorate'>decorate</span><span class='lparen'>(</span><span class='id identifier rubyid_payload'>payload</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
@@ -207,7 +207,7 @@
|
|
207
207
|
</div>
|
208
208
|
|
209
209
|
<div id="footer">
|
210
|
-
Generated on
|
210
|
+
Generated on Sat Jun 20 17:15:07 2020 by
|
211
211
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
212
212
|
0.9.24 (ruby-2.6.3).
|
213
213
|
</div>
|
@@ -200,19 +200,19 @@
|
|
200
200
|
<pre class="lines">
|
201
201
|
|
202
202
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
203
|
+
134
|
204
|
+
135
|
205
|
+
136
|
206
|
+
137
|
207
|
+
138
|
208
|
+
139
|
209
|
+
140
|
210
|
+
141
|
211
|
+
142
|
212
|
+
143</pre>
|
213
213
|
</td>
|
214
214
|
<td>
|
215
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line
|
215
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/connection.rb', line 134</span>
|
216
216
|
|
217
217
|
<span class='kw'>def</span> <span class='id identifier rubyid_handle_message'>handle_message</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span>
|
218
218
|
<span class='kw'>if</span> <span class='id identifier rubyid_skip_debug_print?'>skip_debug_print?</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>method</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -234,7 +234,7 @@
|
|
234
234
|
</div>
|
235
235
|
|
236
236
|
<div id="footer">
|
237
|
-
Generated on
|
237
|
+
Generated on Sat Jun 20 17:15:07 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 Sat Jun 20 17:15:08 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 Sat Jun 20 17:15:08 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>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
|
117
117
|
|
118
118
|
|
119
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="DOMWorld/DetachedError.html" title="Puppeteer::DOMWorld::DetachedError (class)">DetachedError</a></span
|
119
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="DOMWorld/DetachedError.html" title="Puppeteer::DOMWorld::DetachedError (class)">DetachedError</a></span>
|
120
120
|
|
121
121
|
|
122
122
|
</p>
|
@@ -945,14 +945,14 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
945
945
|
<pre class="lines">
|
946
946
|
|
947
947
|
|
948
|
-
332
|
949
948
|
333
|
950
949
|
334
|
951
950
|
335
|
952
|
-
336
|
951
|
+
336
|
952
|
+
337</pre>
|
953
953
|
</td>
|
954
954
|
<td>
|
955
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
955
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 333</span>
|
956
956
|
|
957
957
|
<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>
|
958
958
|
<span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#S-instance_method" title="Puppeteer::DOMWorld#S (method)">S</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
|
@@ -1515,16 +1515,16 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1515
1515
|
<pre class="lines">
|
1516
1516
|
|
1517
1517
|
|
1518
|
-
360
|
1519
1518
|
361
|
1520
1519
|
362
|
1521
1520
|
363
|
1522
1521
|
364
|
1523
1522
|
365
|
1524
|
-
366
|
1523
|
+
366
|
1524
|
+
367</pre>
|
1525
1525
|
</td>
|
1526
1526
|
<td>
|
1527
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1527
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 361</span>
|
1528
1528
|
|
1529
1529
|
<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>
|
1530
1530
|
<span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#S-instance_method" title="Puppeteer::DOMWorld#S (method)">S</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
|
@@ -1614,12 +1614,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1614
1614
|
<pre class="lines">
|
1615
1615
|
|
1616
1616
|
|
1617
|
-
129
|
1618
1617
|
130
|
1619
|
-
131
|
1618
|
+
131
|
1619
|
+
132</pre>
|
1620
1620
|
</td>
|
1621
1621
|
<td>
|
1622
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1622
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 130</span>
|
1623
1623
|
|
1624
1624
|
<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>
|
1625
1625
|
<span class='id identifier rubyid_document'>document</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>
|
@@ -1683,12 +1683,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1683
1683
|
<pre class="lines">
|
1684
1684
|
|
1685
1685
|
|
1686
|
-
145
|
1687
1686
|
146
|
1688
|
-
147
|
1687
|
+
147
|
1688
|
+
148</pre>
|
1689
1689
|
</td>
|
1690
1690
|
<td>
|
1691
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1691
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 146</span>
|
1692
1692
|
|
1693
1693
|
<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>
|
1694
1694
|
<span class='id identifier rubyid_document'>document</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>
|
@@ -1774,12 +1774,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1774
1774
|
<pre class="lines">
|
1775
1775
|
|
1776
1776
|
|
1777
|
-
138
|
1778
1777
|
139
|
1779
|
-
140
|
1778
|
+
140
|
1779
|
+
141</pre>
|
1780
1780
|
</td>
|
1781
1781
|
<td>
|
1782
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1782
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 139</span>
|
1783
1783
|
|
1784
1784
|
<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>
|
1785
1785
|
<span class='id identifier rubyid_document'>document</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>
|
@@ -1843,12 +1843,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1843
1843
|
<pre class="lines">
|
1844
1844
|
|
1845
1845
|
|
1846
|
-
120
|
1847
1846
|
121
|
1848
|
-
122
|
1847
|
+
122
|
1848
|
+
123</pre>
|
1849
1849
|
</td>
|
1850
1850
|
<td>
|
1851
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1851
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 121</span>
|
1852
1852
|
|
1853
1853
|
<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>
|
1854
1854
|
<span class='id identifier rubyid_document'>document</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>
|
@@ -1897,14 +1897,14 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1897
1897
|
<pre class="lines">
|
1898
1898
|
|
1899
1899
|
|
1900
|
-
369
|
1901
1900
|
370
|
1902
1901
|
371
|
1903
1902
|
372
|
1904
|
-
373
|
1903
|
+
373
|
1904
|
+
374</pre>
|
1905
1905
|
</td>
|
1906
1906
|
<td>
|
1907
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1907
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 370</span>
|
1908
1908
|
|
1909
1909
|
<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>
|
1910
1910
|
<span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#S-instance_method" title="Puppeteer::DOMWorld#S (method)">S</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
|
@@ -1979,14 +1979,14 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1979
1979
|
<pre class="lines">
|
1980
1980
|
|
1981
1981
|
|
1982
|
-
378
|
1983
1982
|
379
|
1984
1983
|
380
|
1985
1984
|
381
|
1986
|
-
382
|
1985
|
+
382
|
1986
|
+
383</pre>
|
1987
1987
|
</td>
|
1988
1988
|
<td>
|
1989
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
1989
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 379</span>
|
1990
1990
|
|
1991
1991
|
<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>
|
1992
1992
|
<span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#S-instance_method" title="Puppeteer::DOMWorld#S (method)">S</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
|
@@ -2086,12 +2086,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
2086
2086
|
<pre class="lines">
|
2087
2087
|
|
2088
2088
|
|
2089
|
-
388
|
2090
2089
|
389
|
2091
|
-
390
|
2090
|
+
390
|
2091
|
+
391</pre>
|
2092
2092
|
</td>
|
2093
2093
|
<td>
|
2094
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
2094
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 389</span>
|
2095
2095
|
|
2096
2096
|
<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>
|
2097
2097
|
<span class='id identifier rubyid_wait_for_selector_or_xpath'>wait_for_selector_or_xpath</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='comma'>,</span> <span class='kw'>false</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>
|
@@ -2189,12 +2189,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
2189
2189
|
<pre class="lines">
|
2190
2190
|
|
2191
2191
|
|
2192
|
-
396
|
2193
2192
|
397
|
2194
|
-
398
|
2193
|
+
398
|
2194
|
+
399</pre>
|
2195
2195
|
</td>
|
2196
2196
|
<td>
|
2197
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line
|
2197
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 397</span>
|
2198
2198
|
|
2199
2199
|
<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>
|
2200
2200
|
<span class='id identifier rubyid_wait_for_selector_or_xpath'>wait_for_selector_or_xpath</span><span class='lparen'>(</span><span class='id identifier rubyid_xpath'>xpath</span><span class='comma'>,</span> <span class='kw'>true</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>
|
@@ -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 Sat Jun 20 17:15:07 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>
|