puppeteer-ruby 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/docs/Puppeteer.html +3 -3
  3. data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
  4. data/docs/Puppeteer/Browser.html +2 -2
  5. data/docs/Puppeteer/BrowserContext.html +1 -1
  6. data/docs/Puppeteer/BrowserFetcher.html +1 -1
  7. data/docs/Puppeteer/BrowserRunner.html +1 -1
  8. data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
  9. data/docs/Puppeteer/CDPSession.html +1 -1
  10. data/docs/Puppeteer/CDPSession/Error.html +1 -1
  11. data/docs/Puppeteer/ConcurrentRubyUtils.html +1 -1
  12. data/docs/Puppeteer/Connection.html +1 -1
  13. data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
  14. data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
  15. data/docs/Puppeteer/Connection/RequestDebugPrinter.html +1 -1
  16. data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +1 -1
  17. data/docs/Puppeteer/ConsoleMessage.html +1 -1
  18. data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
  19. data/docs/Puppeteer/DOMWorld.html +1 -1
  20. data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
  21. data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +1 -1
  22. data/docs/Puppeteer/DebugPrint.html +1 -1
  23. data/docs/Puppeteer/Device.html +1 -1
  24. data/docs/Puppeteer/Devices.html +1 -1
  25. data/docs/Puppeteer/ElementHandle.html +525 -207
  26. data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +5 -5
  27. data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +5 -5
  28. data/docs/Puppeteer/ElementHandle/Point.html +40 -29
  29. data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +1 -1
  30. data/docs/Puppeteer/EmulationManager.html +1 -1
  31. data/docs/Puppeteer/EventCallbackable.html +1 -1
  32. data/docs/Puppeteer/EventCallbackable/EventListeners.html +1 -1
  33. data/docs/Puppeteer/ExecutionContext.html +1 -1
  34. data/docs/Puppeteer/ExecutionContext/EvaluationError.html +1 -1
  35. data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +1 -1
  36. data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +1 -1
  37. data/docs/Puppeteer/FileChooser.html +1 -1
  38. data/docs/Puppeteer/Frame.html +1 -1
  39. data/docs/Puppeteer/FrameManager.html +1 -1
  40. data/docs/Puppeteer/FrameManager/NavigationError.html +1 -1
  41. data/docs/Puppeteer/IfPresent.html +1 -1
  42. data/docs/Puppeteer/JSHandle.html +1 -1
  43. data/docs/Puppeteer/Keyboard.html +1 -1
  44. data/docs/Puppeteer/Keyboard/KeyDefinition.html +1 -1
  45. data/docs/Puppeteer/Keyboard/KeyDescription.html +1 -1
  46. data/docs/Puppeteer/Launcher.html +1 -1
  47. data/docs/Puppeteer/Launcher/Base.html +1 -1
  48. data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +1 -1
  49. data/docs/Puppeteer/Launcher/BrowserOptions.html +1 -1
  50. data/docs/Puppeteer/Launcher/Chrome.html +1 -1
  51. data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
  52. data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
  53. data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
  54. data/docs/Puppeteer/LifecycleWatcher.html +1 -1
  55. data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
  56. data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
  57. data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
  58. data/docs/Puppeteer/Mouse.html +1 -1
  59. data/docs/Puppeteer/Mouse/Button.html +1 -1
  60. data/docs/Puppeteer/NetworkManager.html +1 -1
  61. data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
  62. data/docs/Puppeteer/Page.html +2 -2
  63. data/docs/Puppeteer/Page/FileChooserTimeoutError.html +1 -1
  64. data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
  65. data/docs/Puppeteer/Page/ScriptTag.html +1 -1
  66. data/docs/Puppeteer/Page/StyleTag.html +1 -1
  67. data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
  68. data/docs/Puppeteer/RemoteObject.html +110 -39
  69. data/docs/Puppeteer/Target.html +138 -116
  70. data/docs/Puppeteer/Target/InitializeFailure.html +1 -1
  71. data/docs/Puppeteer/Target/TargetInfo.html +1 -1
  72. data/docs/Puppeteer/TimeoutError.html +2 -2
  73. data/docs/Puppeteer/TimeoutSettings.html +1 -1
  74. data/docs/Puppeteer/TouchScreen.html +1 -1
  75. data/docs/Puppeteer/Viewport.html +81 -1
  76. data/docs/Puppeteer/WaitTask.html +1 -1
  77. data/docs/Puppeteer/WaitTask/TerminatedError.html +1 -1
  78. data/docs/Puppeteer/WaitTask/TimeoutError.html +1 -1
  79. data/docs/Puppeteer/WebSocket.html +26 -26
  80. data/docs/Puppeteer/WebSocket/DriverImpl.html +1 -1
  81. data/docs/Puppeteer/WebSocketTransport.html +2 -2
  82. data/docs/_index.html +26 -12
  83. data/docs/class_list.html +1 -1
  84. data/docs/file.README.html +1 -1
  85. data/docs/index.html +1 -1
  86. data/docs/method_list.html +675 -571
  87. data/docs/top-level-namespace.html +1 -1
  88. data/lib/puppeteer/browser.rb +1 -1
  89. data/lib/puppeteer/element_handle.rb +66 -108
  90. data/lib/puppeteer/element_handle/bounding_box.rb +12 -0
  91. data/lib/puppeteer/element_handle/box_model.rb +19 -0
  92. data/lib/puppeteer/element_handle/point.rb +26 -0
  93. data/lib/puppeteer/errors.rb +1 -3
  94. data/lib/puppeteer/page.rb +1 -1
  95. data/lib/puppeteer/remote_object.rb +9 -0
  96. data/lib/puppeteer/target.rb +9 -12
  97. data/lib/puppeteer/version.rb +1 -1
  98. data/lib/puppeteer/viewport.rb +18 -0
  99. data/lib/puppeteer/web_socket.rb +3 -1
  100. data/lib/puppeteer/web_socket_transport.rb +1 -1
  101. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bd4cd6afe37a5975230cc6f9563671881e2fac9cdfed904afcff459cbfdb061
4
- data.tar.gz: abbd2505425e7e9b5b3b878daba8fbbf94c616e7e988ca0722bf96307be0d88b
3
+ metadata.gz: b43e26ef1313e3be7dddacb20ef524d8312f2b4149af75a48c68038d84dadadf
4
+ data.tar.gz: 0fb91daee496531b0be5026bbe562bcc532ad312a75874b98f3332f3a8235d19
5
5
  SHA512:
6
- metadata.gz: 926da4f494be0bce07cb8788ef379478f997290a3939e72e8aedf6f2f38ebac485fa334805f0c9641a06528d15f4238c40dae549c4fca6ab8bc9876b507cf445
7
- data.tar.gz: 6e86387731a4d22d861e474b18481226bcdc19fe0d699dc1f0e96be1ed07f20d4180dd9f402c8637c1c85318df70e63b162f75aea3ba99716b12bd334d177d00
6
+ metadata.gz: 243c3f594ea951b40abbe861f46a3a0b0feafb5eedb37b173eea480808f345d9e1f6c67fceb1a1aca7f967a25676c59078bf09d222f64053344891fd08f8ecb0
7
+ data.tar.gz: 96d8a363bc14ab00099b3f4e514d53d29c32fb1c4105966cb8059f20259773ab65ff2e600a48657442ea819f7f8bb3b379e8df3903550d010d753a156451194d
@@ -120,7 +120,7 @@
120
120
 
121
121
 
122
122
 
123
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Puppeteer/Browser.html" title="Puppeteer::Browser (class)">Browser</a></span>, <span class='object_link'><a href="Puppeteer/BrowserContext.html" title="Puppeteer::BrowserContext (class)">BrowserContext</a></span>, <span class='object_link'><a href="Puppeteer/BrowserFetcher.html" title="Puppeteer::BrowserFetcher (class)">BrowserFetcher</a></span>, <span class='object_link'><a href="Puppeteer/BrowserRunner.html" title="Puppeteer::BrowserRunner (class)">BrowserRunner</a></span>, <span class='object_link'><a href="Puppeteer/CDPSession.html" title="Puppeteer::CDPSession (class)">CDPSession</a></span>, <span class='object_link'><a href="Puppeteer/Connection.html" title="Puppeteer::Connection (class)">Connection</a></span>, <span class='object_link'><a href="Puppeteer/ConsoleMessage.html" title="Puppeteer::ConsoleMessage (class)">ConsoleMessage</a></span>, <span class='object_link'><a href="Puppeteer/DOMWorld.html" title="Puppeteer::DOMWorld (class)">DOMWorld</a></span>, <span class='object_link'><a href="Puppeteer/Device.html" title="Puppeteer::Device (class)">Device</a></span>, <span class='object_link'><a href="Puppeteer/Devices.html" title="Puppeteer::Devices (class)">Devices</a></span>, <span class='object_link'><a href="Puppeteer/ElementHandle.html" title="Puppeteer::ElementHandle (class)">ElementHandle</a></span>, <span class='object_link'><a href="Puppeteer/EmulationManager.html" title="Puppeteer::EmulationManager (class)">EmulationManager</a></span>, <span class='object_link'><a href="Puppeteer/ExecutionContext.html" title="Puppeteer::ExecutionContext (class)">ExecutionContext</a></span>, <span class='object_link'><a href="Puppeteer/FileChooser.html" title="Puppeteer::FileChooser (class)">FileChooser</a></span>, <span class='object_link'><a href="Puppeteer/Frame.html" title="Puppeteer::Frame (class)">Frame</a></span>, <span class='object_link'><a href="Puppeteer/FrameManager.html" title="Puppeteer::FrameManager (class)">FrameManager</a></span>, <span class='object_link'><a href="Puppeteer/JSHandle.html" title="Puppeteer::JSHandle (class)">JSHandle</a></span>, <span class='object_link'><a href="Puppeteer/Keyboard.html" title="Puppeteer::Keyboard (class)">Keyboard</a></span>, <span class='object_link'><a href="Puppeteer/LifecycleWatcher.html" title="Puppeteer::LifecycleWatcher (class)">LifecycleWatcher</a></span>, <span class='object_link'><a href="Puppeteer/Mouse.html" title="Puppeteer::Mouse (class)">Mouse</a></span>, <span class='object_link'><a href="Puppeteer/NetworkManager.html" title="Puppeteer::NetworkManager (class)">NetworkManager</a></span>, <span class='object_link'><a href="Puppeteer/Page.html" title="Puppeteer::Page (class)">Page</a></span>, <span class='object_link'><a href="Puppeteer/RemoteObject.html" title="Puppeteer::RemoteObject (class)">RemoteObject</a></span>, <span class='object_link'><a href="Puppeteer/Target.html" title="Puppeteer::Target (class)">Target</a></span>, <span class='object_link'><a href="Puppeteer/TimeoutError.html" title="Puppeteer::TimeoutError (class)">TimeoutError</a></span>, <span class='object_link'><a href="Puppeteer/TimeoutSettings.html" title="Puppeteer::TimeoutSettings (class)">TimeoutSettings</a></span>, <span class='object_link'><a href="Puppeteer/TouchScreen.html" title="Puppeteer::TouchScreen (class)">TouchScreen</a></span>, <span class='object_link'><a href="Puppeteer/Viewport.html" title="Puppeteer::Viewport (class)">Viewport</a></span>, <span class='object_link'><a href="Puppeteer/WaitTask.html" title="Puppeteer::WaitTask (class)">WaitTask</a></span>, <span class='object_link'><a href="Puppeteer/WebSocket.html" title="Puppeteer::WebSocket (class)">WebSocket</a></span>, <span class='object_link'><a href="Puppeteer/WebSocketTransport.html" title="Puppeteer::WebSocketTransport (class)">WebSocketTransport</a></span>, <span class='object_link'><a href="Puppeteer/WebSocktTransportError.html" title="Puppeteer::WebSocktTransportError (class)">WebSocktTransportError</a></span>
123
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Puppeteer/Browser.html" title="Puppeteer::Browser (class)">Browser</a></span>, <span class='object_link'><a href="Puppeteer/BrowserContext.html" title="Puppeteer::BrowserContext (class)">BrowserContext</a></span>, <span class='object_link'><a href="Puppeteer/BrowserFetcher.html" title="Puppeteer::BrowserFetcher (class)">BrowserFetcher</a></span>, <span class='object_link'><a href="Puppeteer/BrowserRunner.html" title="Puppeteer::BrowserRunner (class)">BrowserRunner</a></span>, <span class='object_link'><a href="Puppeteer/CDPSession.html" title="Puppeteer::CDPSession (class)">CDPSession</a></span>, <span class='object_link'><a href="Puppeteer/Connection.html" title="Puppeteer::Connection (class)">Connection</a></span>, <span class='object_link'><a href="Puppeteer/ConsoleMessage.html" title="Puppeteer::ConsoleMessage (class)">ConsoleMessage</a></span>, <span class='object_link'><a href="Puppeteer/DOMWorld.html" title="Puppeteer::DOMWorld (class)">DOMWorld</a></span>, <span class='object_link'><a href="Puppeteer/Device.html" title="Puppeteer::Device (class)">Device</a></span>, <span class='object_link'><a href="Puppeteer/Devices.html" title="Puppeteer::Devices (class)">Devices</a></span>, <span class='object_link'><a href="Puppeteer/ElementHandle.html" title="Puppeteer::ElementHandle (class)">ElementHandle</a></span>, <span class='object_link'><a href="Puppeteer/EmulationManager.html" title="Puppeteer::EmulationManager (class)">EmulationManager</a></span>, <span class='object_link'><a href="Puppeteer/ExecutionContext.html" title="Puppeteer::ExecutionContext (class)">ExecutionContext</a></span>, <span class='object_link'><a href="Puppeteer/FileChooser.html" title="Puppeteer::FileChooser (class)">FileChooser</a></span>, <span class='object_link'><a href="Puppeteer/Frame.html" title="Puppeteer::Frame (class)">Frame</a></span>, <span class='object_link'><a href="Puppeteer/FrameManager.html" title="Puppeteer::FrameManager (class)">FrameManager</a></span>, <span class='object_link'><a href="Puppeteer/JSHandle.html" title="Puppeteer::JSHandle (class)">JSHandle</a></span>, <span class='object_link'><a href="Puppeteer/Keyboard.html" title="Puppeteer::Keyboard (class)">Keyboard</a></span>, <span class='object_link'><a href="Puppeteer/LifecycleWatcher.html" title="Puppeteer::LifecycleWatcher (class)">LifecycleWatcher</a></span>, <span class='object_link'><a href="Puppeteer/Mouse.html" title="Puppeteer::Mouse (class)">Mouse</a></span>, <span class='object_link'><a href="Puppeteer/NetworkManager.html" title="Puppeteer::NetworkManager (class)">NetworkManager</a></span>, <span class='object_link'><a href="Puppeteer/Page.html" title="Puppeteer::Page (class)">Page</a></span>, <span class='object_link'><a href="Puppeteer/RemoteObject.html" title="Puppeteer::RemoteObject (class)">RemoteObject</a></span>, <span class='object_link'><a href="Puppeteer/Target.html" title="Puppeteer::Target (class)">Target</a></span>, <span class='object_link'><a href="Puppeteer/TimeoutError.html" title="Puppeteer::TimeoutError (class)">TimeoutError</a></span>, <span class='object_link'><a href="Puppeteer/TimeoutSettings.html" title="Puppeteer::TimeoutSettings (class)">TimeoutSettings</a></span>, <span class='object_link'><a href="Puppeteer/TouchScreen.html" title="Puppeteer::TouchScreen (class)">TouchScreen</a></span>, <span class='object_link'><a href="Puppeteer/Viewport.html" title="Puppeteer::Viewport (class)">Viewport</a></span>, <span class='object_link'><a href="Puppeteer/WaitTask.html" title="Puppeteer::WaitTask (class)">WaitTask</a></span>, <span class='object_link'><a href="Puppeteer/WebSocket.html" title="Puppeteer::WebSocket (class)">WebSocket</a></span>, <span class='object_link'><a href="Puppeteer/WebSocketTransport.html" title="Puppeteer::WebSocketTransport (class)">WebSocketTransport</a></span>
124
124
 
125
125
 
126
126
  </p>
@@ -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'>&#39;</span><span class='tstring_content'>0.0.9</span><span class='tstring_end'>&#39;</span></span></pre></dd>
1015
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.0.10</span><span class='tstring_end'>&#39;</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 Tue Jun 9 00:13:39 2020 by
2013
+ Generated on Fri Jun 12 12:38:32 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>
@@ -95,7 +95,7 @@
95
95
  </div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Tue Jun 9 00:13:39 2020 by
98
+ Generated on Fri Jun 12 12:38:32 2020 by
99
99
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.24 (ruby-2.6.3).
101
101
  </div>
@@ -1498,7 +1498,7 @@
1498
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>
1499
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>
1500
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>
1501
- <span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_handle_closed'>handle_closed</span>
1501
+ <span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_closed_callback'>closed_callback</span>
1502
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>
1503
1503
  <span class='id identifier rubyid_emit_event'>emit_event</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Events.Browser.TargetDestroyed</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
1504
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'>&#39;</span><span class='tstring_content'>Events.BrowserContext.TargetDestroyed</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
@@ -2138,7 +2138,7 @@
2138
2138
  </div>
2139
2139
 
2140
2140
  <div id="footer">
2141
- Generated on Tue Jun 9 00:13:40 2020 by
2141
+ Generated on Fri Jun 12 12:38:33 2020 by
2142
2142
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2143
2143
  0.9.24 (ruby-2.6.3).
2144
2144
  </div>
@@ -799,7 +799,7 @@
799
799
  </div>
800
800
 
801
801
  <div id="footer">
802
- Generated on Tue Jun 9 00:13:41 2020 by
802
+ Generated on Fri Jun 12 12:38:35 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 Tue Jun 9 00:13:41 2020 by
207
+ Generated on Fri Jun 12 12:38:35 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 Tue Jun 9 00:13:41 2020 by
907
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:41 2020 by
470
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
806
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
117
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:39 2020 by
423
+ Generated on Fri Jun 12 12:38:32 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 Tue Jun 9 00:13:40 2020 by
953
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
427
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
209
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
210
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
237
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:41 2020 by
558
+ Generated on Fri Jun 12 12:38:35 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 Tue Jun 9 00:13:41 2020 by
426
+ Generated on Fri Jun 12 12:38:35 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 Tue Jun 9 00:13:40 2020 by
2212
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:40 2020 by
117
+ Generated on Fri Jun 12 12:38:34 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>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Tue Jun 9 00:13:40 2020 by
117
+ Generated on Fri Jun 12 12:38:34 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 Tue Jun 9 00:13:39 2020 by
226
+ Generated on Fri Jun 12 12:38:32 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>
@@ -460,7 +460,7 @@
460
460
  </div>
461
461
 
462
462
  <div id="footer">
463
- Generated on Tue Jun 9 00:13:39 2020 by
463
+ Generated on Fri Jun 12 12:38:33 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>
@@ -129,7 +129,7 @@
129
129
  </div>
130
130
 
131
131
  <div id="footer">
132
- Generated on Tue Jun 9 00:13:40 2020 by
132
+ Generated on Fri Jun 12 12:38:33 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>
@@ -101,7 +101,9 @@
101
101
 
102
102
  <dl>
103
103
  <dt>Defined in:</dt>
104
- <dd>lib/puppeteer/element_handle.rb</dd>
104
+ <dd>lib/puppeteer/element_handle.rb<span class="defines">,<br />
105
+ lib/puppeteer/element_handle/point.rb,<br /> lib/puppeteer/element_handle/box_model.rb,<br /> lib/puppeteer/element_handle/bounding_box.rb</span>
106
+ </dd>
105
107
  </dl>
106
108
 
107
109
  </div>
@@ -112,7 +114,7 @@
112
114
 
113
115
 
114
116
 
115
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="ElementHandle/ElementNotFoundError.html" title="Puppeteer::ElementHandle::ElementNotFoundError (class)">ElementNotFoundError</a></span>, <span class='object_link'><a href="ElementHandle/ElementNotVisibleError.html" title="Puppeteer::ElementHandle::ElementNotVisibleError (class)">ElementNotVisibleError</a></span>, <span class='object_link'><a href="ElementHandle/Point.html" title="Puppeteer::ElementHandle::Point (class)">Point</a></span>, <span class='object_link'><a href="ElementHandle/ScrollIntoViewError.html" title="Puppeteer::ElementHandle::ScrollIntoViewError (class)">ScrollIntoViewError</a></span>
117
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="ElementHandle/BoundingBox.html" title="Puppeteer::ElementHandle::BoundingBox (class)">BoundingBox</a></span>, <span class='object_link'><a href="ElementHandle/BoxModel.html" title="Puppeteer::ElementHandle::BoxModel (class)">BoxModel</a></span>, <span class='object_link'><a href="ElementHandle/ElementNotFoundError.html" title="Puppeteer::ElementHandle::ElementNotFoundError (class)">ElementNotFoundError</a></span>, <span class='object_link'><a href="ElementHandle/ElementNotVisibleError.html" title="Puppeteer::ElementHandle::ElementNotVisibleError (class)">ElementNotVisibleError</a></span>, <span class='object_link'><a href="ElementHandle/Point.html" title="Puppeteer::ElementHandle::Point (class)">Point</a></span>, <span class='object_link'><a href="ElementHandle/ScrollIntoViewError.html" title="Puppeteer::ElementHandle::ScrollIntoViewError (class)">ScrollIntoViewError</a></span>
116
118
 
117
119
 
118
120
  </p>
@@ -245,6 +247,50 @@
245
247
 
246
248
 
247
249
 
250
+ <span class="summary_desc"><div class='inline'></div></span>
251
+
252
+ </li>
253
+
254
+
255
+ <li class="public ">
256
+ <span class="summary_signature">
257
+
258
+ <a href="#bounding_box-instance_method" title="#bounding_box (instance method)">#<strong>bounding_box</strong> &#x21d2; BoundingBox|nil </a>
259
+
260
+
261
+
262
+ </span>
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ <span class="summary_desc"><div class='inline'></div></span>
273
+
274
+ </li>
275
+
276
+
277
+ <li class="public ">
278
+ <span class="summary_signature">
279
+
280
+ <a href="#box_model-instance_method" title="#box_model (instance method)">#<strong>box_model</strong> &#x21d2; BoxModel|nil </a>
281
+
282
+
283
+
284
+ </span>
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
248
294
  <span class="summary_desc"><div class='inline'></div></span>
249
295
 
250
296
  </li>
@@ -407,6 +453,28 @@
407
453
  <p>`$()` in JavaScript.</p>
408
454
  </div></span>
409
455
 
456
+ </li>
457
+
458
+
459
+ <li class="public ">
460
+ <span class="summary_signature">
461
+
462
+ <a href="#screenshot-instance_method" title="#screenshot (instance method)">#<strong>screenshot</strong>(options = {}) &#x21d2; Object </a>
463
+
464
+
465
+
466
+ </span>
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+ <span class="summary_desc"><div class='inline'></div></span>
477
+
410
478
  </li>
411
479
 
412
480
 
@@ -729,15 +797,15 @@
729
797
  <pre class="lines">
730
798
 
731
799
 
732
- 12
733
- 13
734
800
  14
735
801
  15
736
802
  16
737
- 17</pre>
803
+ 17
804
+ 18
805
+ 19</pre>
738
806
  </td>
739
807
  <td>
740
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 12</span>
808
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 14</span>
741
809
 
742
810
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>context:</span><span class='comma'>,</span> <span class='label'>client:</span><span class='comma'>,</span> <span class='label'>remote_object:</span><span class='comma'>,</span> <span class='label'>page:</span><span class='comma'>,</span> <span class='label'>frame_manager:</span><span class='rparen'>)</span>
743
811
  <span class='kw'>super</span><span class='lparen'>(</span><span class='label'>context:</span> <span class='id identifier rubyid_context'>context</span><span class='comma'>,</span> <span class='label'>client:</span> <span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='label'>remote_object:</span> <span class='id identifier rubyid_remote_object'>remote_object</span><span class='rparen'>)</span>
@@ -772,12 +840,12 @@
772
840
  <pre class="lines">
773
841
 
774
842
 
775
- 19
776
- 20
777
- 21</pre>
843
+ 21
844
+ 22
845
+ 23</pre>
778
846
  </td>
779
847
  <td>
780
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 19</span>
848
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 21</span>
781
849
 
782
850
  <span class='kw'>def</span> <span class='id identifier rubyid_as_element'>as_element</span>
783
851
  <span class='kw'>self</span>
@@ -850,12 +918,12 @@
850
918
  <pre class="lines">
851
919
 
852
920
 
853
- 264
854
- 265
855
- 266</pre>
921
+ 234
922
+ 235
923
+ 236</pre>
856
924
  </td>
857
925
  <td>
858
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 264</span>
926
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 234</span>
859
927
 
860
928
  <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_press'>async_press</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
861
929
  <span class='id identifier rubyid_press'>press</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='rparen'>)</span>
@@ -930,12 +998,12 @@
930
998
  <pre class="lines">
931
999
 
932
1000
 
933
- 405
934
- 406
935
- 407</pre>
1001
+ 363
1002
+ 364
1003
+ 365</pre>
936
1004
  </td>
937
1005
  <td>
938
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 405</span>
1006
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 363</span>
939
1007
 
940
1008
  <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_Seval'>async_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>
941
1009
  <span class='const'><span class='object_link'><a href="#Seval-instance_method" title="Puppeteer::ElementHandle#Seval (method)">Seval</a></span></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>
@@ -1010,12 +1078,12 @@
1010
1078
  <pre class="lines">
1011
1079
 
1012
1080
 
1013
- 428
1014
- 429
1015
- 430</pre>
1081
+ 386
1082
+ 387
1083
+ 388</pre>
1016
1084
  </td>
1017
1085
  <td>
1018
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 428</span>
1086
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 386</span>
1019
1087
 
1020
1088
  <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_SSeval'>async_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>
1021
1089
  <span class='const'><span class='object_link'><a href="#SSeval-instance_method" title="Puppeteer::ElementHandle#SSeval (method)">SSeval</a></span></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>
@@ -1088,15 +1156,145 @@
1088
1156
  <pre class="lines">
1089
1157
 
1090
1158
 
1159
+ 220
1160
+ 221
1161
+ 222</pre>
1162
+ </td>
1163
+ <td>
1164
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 220</span>
1165
+
1166
+ <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_type_text'>async_type_text</span><span class='lparen'>(</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>
1167
+ <span class='id identifier rubyid_type_text'>type_text</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='rparen'>)</span>
1168
+ <span class='kw'>end</span></pre>
1169
+ </td>
1170
+ </tr>
1171
+ </table>
1172
+ </div>
1173
+
1174
+ <div class="method_details ">
1175
+ <h3 class="signature " id="bounding_box-instance_method">
1176
+
1177
+ #<strong>bounding_box</strong> &#x21d2; <tt><span class='object_link'><a href="ElementHandle/BoundingBox.html" title="Puppeteer::ElementHandle::BoundingBox (class)">BoundingBox</a></span>|nil</tt>
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+ </h3><div class="docstring">
1184
+ <div class="discussion">
1185
+
1186
+
1187
+ </div>
1188
+ </div>
1189
+ <div class="tags">
1190
+
1191
+ <p class="tag_title">Returns:</p>
1192
+ <ul class="return">
1193
+
1194
+ <li>
1195
+
1196
+
1197
+ <span class='type'>(<tt><span class='object_link'><a href="ElementHandle/BoundingBox.html" title="Puppeteer::ElementHandle::BoundingBox (class)">BoundingBox</a></span>|nil</tt>)</span>
1198
+
1199
+
1200
+
1201
+ </li>
1202
+
1203
+ </ul>
1204
+
1205
+ </div><table class="source_code">
1206
+ <tr>
1207
+ <td>
1208
+ <pre class="lines">
1209
+
1210
+
1211
+ 239
1212
+ 240
1213
+ 241
1214
+ 242
1215
+ 243
1216
+ 244
1217
+ 245
1218
+ 246
1219
+ 247
1220
+ 248
1221
+ 249
1091
1222
  250
1092
1223
  251
1093
1224
  252</pre>
1094
1225
  </td>
1095
1226
  <td>
1096
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 250</span>
1227
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 239</span>
1228
+
1229
+ <span class='kw'>def</span> <span class='id identifier rubyid_bounding_box'>bounding_box</span>
1230
+ <span class='id identifier rubyid_if_present'>if_present</span><span class='lparen'>(</span><span class='id identifier rubyid_box_model'>box_model</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_result_model'>result_model</span><span class='op'>|</span>
1231
+ <span class='id identifier rubyid_quads'>quads</span> <span class='op'>=</span> <span class='id identifier rubyid_result_model'>result_model</span><span class='period'>.</span><span class='id identifier rubyid_border'>border</span>
1232
+
1233
+ <span class='id identifier rubyid_x'>x</span> <span class='op'>=</span> <span class='id identifier rubyid_quads'>quads</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:x</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_min'>min</span>
1234
+ <span class='id identifier rubyid_y'>y</span> <span class='op'>=</span> <span class='id identifier rubyid_quads'>quads</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:y</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_min'>min</span>
1235
+ <span class='const'><span class='object_link'><a href="ElementHandle/BoundingBox.html" title="Puppeteer::ElementHandle::BoundingBox (class)">BoundingBox</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ElementHandle/BoundingBox.html#initialize-instance_method" title="Puppeteer::ElementHandle::BoundingBox#initialize (method)">new</a></span></span><span class='lparen'>(</span>
1236
+ <span class='label'>x:</span> <span class='id identifier rubyid_x'>x</span><span class='comma'>,</span>
1237
+ <span class='label'>y:</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span>
1238
+ <span class='label'>width:</span> <span class='id identifier rubyid_quads'>quads</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:x</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span> <span class='op'>-</span> <span class='id identifier rubyid_x'>x</span><span class='comma'>,</span>
1239
+ <span class='label'>height:</span> <span class='id identifier rubyid_quads'>quads</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:y</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span> <span class='op'>-</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span>
1240
+ <span class='rparen'>)</span>
1241
+ <span class='kw'>end</span>
1242
+ <span class='kw'>end</span></pre>
1243
+ </td>
1244
+ </tr>
1245
+ </table>
1246
+ </div>
1247
+
1248
+ <div class="method_details ">
1249
+ <h3 class="signature " id="box_model-instance_method">
1250
+
1251
+ #<strong>box_model</strong> &#x21d2; <tt><span class='object_link'><a href="ElementHandle/BoxModel.html" title="Puppeteer::ElementHandle::BoxModel (class)">BoxModel</a></span>|nil</tt>
1252
+
1097
1253
 
1098
- <span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_type_text'>async_type_text</span><span class='lparen'>(</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>
1099
- <span class='id identifier rubyid_type_text'>type_text</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='rparen'>)</span>
1254
+
1255
+
1256
+
1257
+ </h3><div class="docstring">
1258
+ <div class="discussion">
1259
+
1260
+
1261
+ </div>
1262
+ </div>
1263
+ <div class="tags">
1264
+
1265
+ <p class="tag_title">Returns:</p>
1266
+ <ul class="return">
1267
+
1268
+ <li>
1269
+
1270
+
1271
+ <span class='type'>(<tt><span class='object_link'><a href="ElementHandle/BoxModel.html" title="Puppeteer::ElementHandle::BoxModel (class)">BoxModel</a></span>|nil</tt>)</span>
1272
+
1273
+
1274
+
1275
+ </li>
1276
+
1277
+ </ul>
1278
+
1279
+ </div><table class="source_code">
1280
+ <tr>
1281
+ <td>
1282
+ <pre class="lines">
1283
+
1284
+
1285
+ 255
1286
+ 256
1287
+ 257
1288
+ 258
1289
+ 259</pre>
1290
+ </td>
1291
+ <td>
1292
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 255</span>
1293
+
1294
+ <span class='kw'>def</span> <span class='id identifier rubyid_box_model'>box_model</span>
1295
+ <span class='id identifier rubyid_if_present'>if_present</span><span class='lparen'>(</span><span class='ivar'>@remote_object</span><span class='period'>.</span><span class='id identifier rubyid_box_model'>box_model</span><span class='lparen'>(</span><span class='ivar'>@client</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_result'>result</span><span class='op'>|</span>
1296
+ <span class='const'><span class='object_link'><a href="ElementHandle/BoxModel.html" title="Puppeteer::ElementHandle::BoxModel (class)">BoxModel</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ElementHandle/BoxModel.html#initialize-instance_method" title="Puppeteer::ElementHandle::BoxModel#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>model</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
1297
+ <span class='kw'>end</span>
1100
1298
  <span class='kw'>end</span></pre>
1101
1299
  </td>
1102
1300
  </tr>
@@ -1175,14 +1373,14 @@
1175
1373
  <pre class="lines">
1176
1374
 
1177
1375
 
1178
- 147
1179
- 148
1180
- 149
1181
- 150
1182
- 151</pre>
1376
+ 117
1377
+ 118
1378
+ 119
1379
+ 120
1380
+ 121</pre>
1183
1381
  </td>
1184
1382
  <td>
1185
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 147</span>
1383
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 117</span>
1186
1384
 
1187
1385
  <span class='kw'>def</span> <span class='id identifier rubyid_click'>click</span><span class='lparen'>(</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>
1188
1386
  <span class='id identifier rubyid_scroll_into_view_if_needed'>scroll_into_view_if_needed</span>
@@ -1209,31 +1407,31 @@
1209
1407
  <pre class="lines">
1210
1408
 
1211
1409
 
1212
- 85
1213
- 86
1214
- 87
1215
- 88
1216
- 89
1217
- 90
1218
- 91
1219
- 92
1220
- 93
1221
- 94
1222
- 95
1223
- 96
1224
- 97
1225
- 98
1226
- 99
1227
- 100
1228
- 101
1229
- 102
1230
- 103
1231
- 104
1232
- 105
1233
- 106</pre>
1410
+ 64
1411
+ 65
1412
+ 66
1413
+ 67
1414
+ 68
1415
+ 69
1416
+ 70
1417
+ 71
1418
+ 72
1419
+ 73
1420
+ 74
1421
+ 75
1422
+ 76
1423
+ 77
1424
+ 78
1425
+ 79
1426
+ 80
1427
+ 81
1428
+ 82
1429
+ 83
1430
+ 84
1431
+ 85</pre>
1234
1432
  </td>
1235
1433
  <td>
1236
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 85</span>
1434
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 64</span>
1237
1435
 
1238
1436
  <span class='kw'>def</span> <span class='id identifier rubyid_clickable_point'>clickable_point</span>
1239
1437
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@remote_object</span><span class='period'>.</span><span class='id identifier rubyid_content_quads'>content_quads</span><span class='lparen'>(</span><span class='ivar'>@client</span><span class='rparen'>)</span>
@@ -1277,18 +1475,18 @@
1277
1475
  <pre class="lines">
1278
1476
 
1279
1477
 
1280
- 23
1281
- 24
1282
1478
  25
1283
1479
  26
1284
1480
  27
1285
1481
  28
1286
1482
  29
1287
1483
  30
1288
- 31</pre>
1484
+ 31
1485
+ 32
1486
+ 33</pre>
1289
1487
  </td>
1290
1488
  <td>
1291
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 23</span>
1489
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 25</span>
1292
1490
 
1293
1491
  <span class='kw'>def</span> <span class='id identifier rubyid_content_frame'>content_frame</span>
1294
1492
  <span class='id identifier rubyid_node_info'>node_info</span> <span class='op'>=</span> <span class='ivar'>@remote_object</span><span class='period'>.</span><span class='id identifier rubyid_node_info'>node_info</span>
@@ -1319,12 +1517,12 @@
1319
1517
  <pre class="lines">
1320
1518
 
1321
1519
 
1322
- 232
1323
- 233
1324
- 234</pre>
1520
+ 202
1521
+ 203
1522
+ 204</pre>
1325
1523
  </td>
1326
1524
  <td>
1327
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 232</span>
1525
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 202</span>
1328
1526
 
1329
1527
  <span class='kw'>def</span> <span class='id identifier rubyid_focus'>focus</span>
1330
1528
  <span class='id identifier rubyid_evaluate'>evaluate</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>element =&gt; element.focus()</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
@@ -1386,13 +1584,13 @@
1386
1584
  <pre class="lines">
1387
1585
 
1388
1586
 
1389
- 256
1390
- 257
1391
- 258
1392
- 259</pre>
1587
+ 226
1588
+ 227
1589
+ 228
1590
+ 229</pre>
1393
1591
  </td>
1394
1592
  <td>
1395
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 256</span>
1593
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 226</span>
1396
1594
 
1397
1595
  <span class='kw'>def</span> <span class='id identifier rubyid_press'>press</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1398
1596
  <span class='id identifier rubyid_focus'>focus</span>
@@ -1444,22 +1642,22 @@
1444
1642
  <pre class="lines">
1445
1643
 
1446
1644
 
1447
- 354
1448
- 355
1449
- 356
1450
- 357
1451
- 358
1452
- 359
1453
- 360
1454
- 361
1455
- 362
1456
- 363
1457
- 364
1458
- 365
1459
- 366</pre>
1645
+ 312
1646
+ 313
1647
+ 314
1648
+ 315
1649
+ 316
1650
+ 317
1651
+ 318
1652
+ 319
1653
+ 320
1654
+ 321
1655
+ 322
1656
+ 323
1657
+ 324</pre>
1460
1658
  </td>
1461
1659
  <td>
1462
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 354</span>
1660
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 312</span>
1463
1661
 
1464
1662
  <span class='kw'>def</span> <span class='const'>S</span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
1465
1663
  <span class='id identifier rubyid_handle'>handle</span> <span class='op'>=</span> <span class='id identifier rubyid_evaluate_handle'>evaluate_handle</span><span class='lparen'>(</span>
@@ -1477,6 +1675,126 @@
1477
1675
  </td>
1478
1676
  </tr>
1479
1677
  </table>
1678
+ </div>
1679
+
1680
+ <div class="method_details ">
1681
+ <h3 class="signature " id="screenshot-instance_method">
1682
+
1683
+ #<strong>screenshot</strong>(options = {}) &#x21d2; <tt>Object</tt>
1684
+
1685
+
1686
+
1687
+
1688
+
1689
+ </h3><table class="source_code">
1690
+ <tr>
1691
+ <td>
1692
+ <pre class="lines">
1693
+
1694
+
1695
+ 261
1696
+ 262
1697
+ 263
1698
+ 264
1699
+ 265
1700
+ 266
1701
+ 267
1702
+ 268
1703
+ 269
1704
+ 270
1705
+ 271
1706
+ 272
1707
+ 273
1708
+ 274
1709
+ 275
1710
+ 276
1711
+ 277
1712
+ 278
1713
+ 279
1714
+ 280
1715
+ 281
1716
+ 282
1717
+ 283
1718
+ 284
1719
+ 285
1720
+ 286
1721
+ 287
1722
+ 288
1723
+ 289
1724
+ 290
1725
+ 291
1726
+ 292
1727
+ 293
1728
+ 294
1729
+ 295
1730
+ 296
1731
+ 297
1732
+ 298
1733
+ 299
1734
+ 300
1735
+ 301
1736
+ 302
1737
+ 303
1738
+ 304
1739
+ 305
1740
+ 306
1741
+ 307
1742
+ 308</pre>
1743
+ </td>
1744
+ <td>
1745
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 261</span>
1746
+
1747
+ <span class='kw'>def</span> <span class='id identifier rubyid_screenshot'>screenshot</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1748
+ <span class='id identifier rubyid_needs_viewport_reset'>needs_viewport_reset</span> <span class='op'>=</span> <span class='kw'>false</span>
1749
+
1750
+ <span class='id identifier rubyid_box'>box</span> <span class='op'>=</span> <span class='id identifier rubyid_bounding_box'>bounding_box</span>
1751
+ <span class='kw'>unless</span> <span class='id identifier rubyid_box'>box</span>
1752
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="ElementHandle/ElementNotVisibleError.html" title="Puppeteer::ElementHandle::ElementNotVisibleError (class)">ElementNotVisibleError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ElementHandle/ElementNotVisibleError.html#initialize-instance_method" title="Puppeteer::ElementHandle::ElementNotVisibleError#initialize (method)">new</a></span></span>
1753
+ <span class='kw'>end</span>
1754
+
1755
+ <span class='id identifier rubyid_viewport'>viewport</span> <span class='op'>=</span> <span class='ivar'>@page</span><span class='period'>.</span><span class='id identifier rubyid_viewport'>viewport</span>
1756
+ <span class='kw'>if</span> <span class='id identifier rubyid_viewport'>viewport</span> <span class='op'>&amp;&amp;</span> <span class='lparen'>(</span><span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span> <span class='op'>&gt;</span> <span class='id identifier rubyid_viewport'>viewport</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span> <span class='op'>||</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span> <span class='op'>&gt;</span> <span class='id identifier rubyid_viewport'>viewport</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span><span class='rparen'>)</span>
1757
+ <span class='id identifier rubyid_new_viewport'>new_viewport</span> <span class='op'>=</span> <span class='id identifier rubyid_viewport'>viewport</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span>
1758
+ <span class='label'>width:</span> <span class='lbracket'>[</span><span class='id identifier rubyid_viewport'>viewport</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span><span class='comma'>,</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_min'>min</span><span class='comma'>,</span>
1759
+ <span class='label'>height:</span> <span class='lbracket'>[</span><span class='id identifier rubyid_viewport'>viewport</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span><span class='comma'>,</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_min'>min</span><span class='comma'>,</span>
1760
+ <span class='rparen'>)</span>
1761
+ <span class='ivar'>@page</span><span class='period'>.</span><span class='id identifier rubyid_viewport'>viewport</span> <span class='op'>=</span> <span class='id identifier rubyid_new_viewport'>new_viewport</span>
1762
+
1763
+ <span class='id identifier rubyid_needs_viewport_reset'>needs_viewport_reset</span> <span class='op'>=</span> <span class='kw'>true</span>
1764
+ <span class='kw'>end</span>
1765
+ <span class='id identifier rubyid_scroll_into_view_if_needed'>scroll_into_view_if_needed</span>
1766
+
1767
+ <span class='id identifier rubyid_box'>box</span> <span class='op'>=</span> <span class='id identifier rubyid_bounding_box'>bounding_box</span>
1768
+ <span class='kw'>unless</span> <span class='id identifier rubyid_box'>box</span>
1769
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="ElementHandle/ElementNotVisibleError.html" title="Puppeteer::ElementHandle::ElementNotVisibleError (class)">ElementNotVisibleError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ElementHandle/ElementNotVisibleError.html#initialize-instance_method" title="Puppeteer::ElementHandle::ElementNotVisibleError#initialize (method)">new</a></span></span>
1770
+ <span class='kw'>end</span>
1771
+ <span class='kw'>if</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span> <span class='op'>==</span> <span class='int'>0</span>
1772
+ <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Node has 0 width.</span><span class='tstring_end'>&#39;</span></span>
1773
+ <span class='kw'>end</span>
1774
+ <span class='kw'>if</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span> <span class='op'>==</span> <span class='int'>0</span>
1775
+ <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Node has 0 height.</span><span class='tstring_end'>&#39;</span></span>
1776
+ <span class='kw'>end</span>
1777
+
1778
+ <span class='id identifier rubyid_layout_metrics'>layout_metrics</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_send_message'>send_message</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Page.getLayoutMetrics</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1779
+ <span class='id identifier rubyid_page_x'>page_x</span> <span class='op'>=</span> <span class='id identifier rubyid_layout_metrics'>layout_metrics</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>layoutViewport</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pageX</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
1780
+ <span class='id identifier rubyid_page_y'>page_y</span> <span class='op'>=</span> <span class='id identifier rubyid_layout_metrics'>layout_metrics</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>layoutViewport</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pageY</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
1781
+
1782
+ <span class='id identifier rubyid_clip'>clip</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1783
+ <span class='label'>x:</span> <span class='id identifier rubyid_page_x'>page_x</span> <span class='op'>+</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span>
1784
+ <span class='label'>y:</span> <span class='id identifier rubyid_page_y'>page_y</span> <span class='op'>+</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_y'>y</span><span class='comma'>,</span>
1785
+ <span class='label'>width:</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span><span class='comma'>,</span>
1786
+ <span class='label'>height:</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span><span class='comma'>,</span>
1787
+ <span class='rbrace'>}</span>
1788
+
1789
+ <span class='ivar'>@page</span><span class='period'>.</span><span class='id identifier rubyid_screenshot'>screenshot</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>clip:</span> <span class='id identifier rubyid_clip'>clip</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span><span class='rparen'>)</span>
1790
+ <span class='kw'>ensure</span>
1791
+ <span class='kw'>if</span> <span class='id identifier rubyid_needs_viewport_reset'>needs_viewport_reset</span>
1792
+ <span class='ivar'>@page</span><span class='period'>.</span><span class='id identifier rubyid_viewport'>viewport</span> <span class='op'>=</span> <span class='id identifier rubyid_viewport'>viewport</span>
1793
+ <span class='kw'>end</span>
1794
+ <span class='kw'>end</span></pre>
1795
+ </td>
1796
+ </tr>
1797
+ </table>
1480
1798
  </div>
1481
1799
 
1482
1800
  <div class="method_details ">
@@ -1494,8 +1812,6 @@
1494
1812
  <pre class="lines">
1495
1813
 
1496
1814
 
1497
- 35
1498
- 36
1499
1815
  37
1500
1816
  38
1501
1817
  39
@@ -1513,10 +1829,12 @@
1513
1829
  51
1514
1830
  52
1515
1831
  53
1516
- 54</pre>
1832
+ 54
1833
+ 55
1834
+ 56</pre>
1517
1835
  </td>
1518
1836
  <td>
1519
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 35</span>
1837
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 37</span>
1520
1838
 
1521
1839
  <span class='kw'>def</span> <span class='id identifier rubyid_scroll_into_view_if_needed'>scroll_into_view_if_needed</span>
1522
1840
  <span class='id identifier rubyid_js'>js</span> <span class='op'>=</span> <span class='heredoc_beg'>&lt;&lt;~JAVASCRIPT</span>
@@ -1580,35 +1898,35 @@
1580
1898
  <pre class="lines">
1581
1899
 
1582
1900
 
1583
- 161
1584
- 162
1585
- 163
1586
- 164
1587
- 165
1588
- 166
1589
- 167
1590
- 168
1591
- 169
1592
- 170
1593
- 171
1594
- 172
1595
- 173
1596
- 174
1597
- 175
1598
- 176
1599
- 177
1600
- 178
1601
- 179
1602
- 180
1603
- 181
1604
- 182
1605
- 183
1606
- 184
1607
- 185
1608
- 186</pre>
1901
+ 131
1902
+ 132
1903
+ 133
1904
+ 134
1905
+ 135
1906
+ 136
1907
+ 137
1908
+ 138
1909
+ 139
1910
+ 140
1911
+ 141
1912
+ 142
1913
+ 143
1914
+ 144
1915
+ 145
1916
+ 146
1917
+ 147
1918
+ 148
1919
+ 149
1920
+ 150
1921
+ 151
1922
+ 152
1923
+ 153
1924
+ 154
1925
+ 155
1926
+ 156</pre>
1609
1927
  </td>
1610
1928
  <td>
1611
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 161</span>
1929
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 131</span>
1612
1930
 
1613
1931
  <span class='kw'>def</span> <span class='id identifier rubyid_select'>select</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
1614
1932
  <span class='kw'>if</span> <span class='id identifier rubyid_nonstring'>nonstring</span> <span class='op'>=</span> <span class='id identifier rubyid_values'>values</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span> <span class='op'>!</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
@@ -1706,19 +2024,19 @@
1706
2024
  <pre class="lines">
1707
2025
 
1708
2026
 
1709
- 390
1710
- 391
1711
- 392
1712
- 393
1713
- 394
1714
- 395
1715
- 396
1716
- 397
1717
- 398
1718
- 399</pre>
2027
+ 348
2028
+ 349
2029
+ 350
2030
+ 351
2031
+ 352
2032
+ 353
2033
+ 354
2034
+ 355
2035
+ 356
2036
+ 357</pre>
1719
2037
  </td>
1720
2038
  <td>
1721
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 390</span>
2039
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 348</span>
1722
2040
 
1723
2041
  <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>
1724
2042
  <span class='id identifier rubyid_element_handle'>element_handle</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#S-instance_method" title="Puppeteer::ElementHandle#S (method)">S</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
@@ -1776,18 +2094,18 @@
1776
2094
  <pre class="lines">
1777
2095
 
1778
2096
 
1779
- 370
1780
- 371
1781
- 372
1782
- 373
1783
- 374
1784
- 375
1785
- 376
1786
- 377
1787
- 378</pre>
2097
+ 328
2098
+ 329
2099
+ 330
2100
+ 331
2101
+ 332
2102
+ 333
2103
+ 334
2104
+ 335
2105
+ 336</pre>
1788
2106
  </td>
1789
2107
  <td>
1790
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 370</span>
2108
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 328</span>
1791
2109
 
1792
2110
  <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>
1793
2111
  <span class='id identifier rubyid_handles'>handles</span> <span class='op'>=</span> <span class='id identifier rubyid_evaluate_handle'>evaluate_handle</span><span class='lparen'>(</span>
@@ -1868,19 +2186,19 @@
1868
2186
  <pre class="lines">
1869
2187
 
1870
2188
 
1871
- 413
1872
- 414
1873
- 415
1874
- 416
1875
- 417
1876
- 418
1877
- 419
1878
- 420
1879
- 421
1880
- 422</pre>
2189
+ 371
2190
+ 372
2191
+ 373
2192
+ 374
2193
+ 375
2194
+ 376
2195
+ 377
2196
+ 378
2197
+ 379
2198
+ 380</pre>
1881
2199
  </td>
1882
2200
  <td>
1883
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 413</span>
2201
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 371</span>
1884
2202
 
1885
2203
  <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>
1886
2204
  <span class='id identifier rubyid_handles'>handles</span> <span class='op'>=</span> <span class='id identifier rubyid_evaluate_handle'>evaluate_handle</span><span class='lparen'>(</span>
@@ -1951,26 +2269,26 @@
1951
2269
  <pre class="lines">
1952
2270
 
1953
2271
 
1954
- 435
1955
- 436
1956
- 437
1957
- 438
1958
- 439
1959
- 440
1960
- 441
1961
- 442
1962
- 443
1963
- 444
1964
- 445
1965
- 446
1966
- 447
1967
- 448
1968
- 449
1969
- 450
1970
- 451</pre>
2272
+ 393
2273
+ 394
2274
+ 395
2275
+ 396
2276
+ 397
2277
+ 398
2278
+ 399
2279
+ 400
2280
+ 401
2281
+ 402
2282
+ 403
2283
+ 404
2284
+ 405
2285
+ 406
2286
+ 407
2287
+ 408
2288
+ 409</pre>
1971
2289
  </td>
1972
2290
  <td>
1973
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 435</span>
2291
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 393</span>
1974
2292
 
1975
2293
  <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>
1976
2294
  <span class='id identifier rubyid_fn'>fn</span> <span class='op'>=</span> <span class='heredoc_beg'>&lt;&lt;~JAVASCRIPT</span>
@@ -2009,16 +2327,16 @@
2009
2327
  <pre class="lines">
2010
2328
 
2011
2329
 
2012
- 220
2013
- 221
2014
- 222
2015
- 223
2016
- 224
2017
- 225
2018
- 226</pre>
2330
+ 190
2331
+ 191
2332
+ 192
2333
+ 193
2334
+ 194
2335
+ 195
2336
+ 196</pre>
2019
2337
  </td>
2020
2338
  <td>
2021
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 220</span>
2339
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 190</span>
2022
2340
 
2023
2341
  <span class='kw'>def</span> <span class='id identifier rubyid_tap'>tap</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
2024
2342
  <span class='kw'>return</span> <span class='kw'>super</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span>
@@ -2084,13 +2402,13 @@
2084
2402
  <pre class="lines">
2085
2403
 
2086
2404
 
2087
- 242
2088
- 243
2089
- 244
2090
- 245</pre>
2405
+ 212
2406
+ 213
2407
+ 214
2408
+ 215</pre>
2091
2409
  </td>
2092
2410
  <td>
2093
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 242</span>
2411
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 212</span>
2094
2412
 
2095
2413
  <span class='kw'>def</span> <span class='id identifier rubyid_type_text'>type_text</span><span class='lparen'>(</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>
2096
2414
  <span class='id identifier rubyid_focus'>focus</span>
@@ -2140,39 +2458,39 @@
2140
2458
  <pre class="lines">
2141
2459
 
2142
2460
 
2143
- 189
2144
- 190
2145
- 191
2146
- 192
2147
- 193
2148
- 194
2149
- 195
2150
- 196
2151
- 197
2152
- 198
2153
- 199
2154
- 200
2155
- 201
2156
- 202
2157
- 203
2158
- 204
2159
- 205
2160
- 206
2161
- 207
2162
- 208
2163
- 209
2164
- 210
2165
- 211
2166
- 212
2167
- 213
2168
- 214
2169
- 215
2170
- 216
2171
- 217
2172
- 218</pre>
2461
+ 159
2462
+ 160
2463
+ 161
2464
+ 162
2465
+ 163
2466
+ 164
2467
+ 165
2468
+ 166
2469
+ 167
2470
+ 168
2471
+ 169
2472
+ 170
2473
+ 171
2474
+ 172
2475
+ 173
2476
+ 174
2477
+ 175
2478
+ 176
2479
+ 177
2480
+ 178
2481
+ 179
2482
+ 180
2483
+ 181
2484
+ 182
2485
+ 183
2486
+ 184
2487
+ 185
2488
+ 186
2489
+ 187
2490
+ 188</pre>
2173
2491
  </td>
2174
2492
  <td>
2175
- <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 189</span>
2493
+ <pre class="code"><span class="info file"># File 'lib/puppeteer/element_handle.rb', line 159</span>
2176
2494
 
2177
2495
  <span class='kw'>def</span> <span class='id identifier rubyid_upload_file'>upload_file</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_file_paths'>file_paths</span><span class='rparen'>)</span>
2178
2496
  <span class='id identifier rubyid_is_multiple'>is_multiple</span> <span class='op'>=</span> <span class='id identifier rubyid_evaluate'>evaluate</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>el =&gt; el.multiple</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
@@ -2214,7 +2532,7 @@
2214
2532
  </div>
2215
2533
 
2216
2534
  <div id="footer">
2217
- Generated on Tue Jun 9 00:13:41 2020 by
2535
+ Generated on Fri Jun 12 12:38:35 2020 by
2218
2536
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2219
2537
  0.9.24 (ruby-2.6.3).
2220
2538
  </div>