puppeteer-ruby 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/docs/Puppeteer.html +53 -43
- data/docs/Puppeteer/AsyncAwaitBehavior.html +1 -1
- data/docs/Puppeteer/Browser.html +1 -1
- data/docs/Puppeteer/BrowserContext.html +1 -1
- data/docs/Puppeteer/BrowserFetcher.html +1 -1
- data/docs/Puppeteer/BrowserRunner.html +1 -1
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +1 -1
- data/docs/Puppeteer/CDPSession.html +1 -1
- data/docs/Puppeteer/CDPSession/Error.html +1 -1
- data/docs/Puppeteer/ConcurrentRubyUtils.html +1 -1
- data/docs/Puppeteer/Connection.html +1 -1
- data/docs/Puppeteer/Connection/MessageCallback.html +1 -1
- data/docs/Puppeteer/Connection/ProtocolError.html +1 -1
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +1 -1
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +1 -1
- data/docs/Puppeteer/ConsoleMessage.html +1 -1
- data/docs/Puppeteer/ConsoleMessage/Location.html +1 -1
- data/docs/Puppeteer/DOMWorld.html +116 -19
- data/docs/Puppeteer/DOMWorld/DetachedError.html +1 -1
- data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +1 -1
- data/docs/Puppeteer/DebugPrint.html +1 -1
- data/docs/Puppeteer/Device.html +1 -1
- data/docs/Puppeteer/Devices.html +1 -1
- data/docs/Puppeteer/ElementHandle.html +565 -141
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +5 -5
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +5 -5
- data/docs/Puppeteer/ElementHandle/Point.html +21 -21
- 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 +114 -11
- 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 +455 -0
- data/docs/Puppeteer/Frame.html +1 -1
- 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 +64 -23
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +1 -1
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +1 -1
- data/docs/Puppeteer/Launcher/LaunchOptions.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +1 -1
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +1 -1
- data/docs/Puppeteer/Mouse.html +1 -1
- data/docs/Puppeteer/Mouse/Button.html +1 -1
- data/docs/Puppeteer/NetworkManager.html +1 -1
- data/docs/Puppeteer/NetworkManager/Credentials.html +1 -1
- data/docs/Puppeteer/Page.html +841 -349
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +206 -0
- data/docs/Puppeteer/Page/ScreenshotOptions.html +1 -1
- data/docs/Puppeteer/Page/ScriptTag.html +24 -24
- data/docs/Puppeteer/Page/StyleTag.html +19 -19
- data/docs/Puppeteer/Page/TargetCrashedError.html +1 -1
- data/docs/Puppeteer/RemoteObject.html +68 -3
- 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/WebSocketTransport.html +1 -1
- data/docs/Puppeteer/WebSocktTransportError.html +1 -1
- data/docs/_index.html +19 -5
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +5 -3
- data/docs/index.html +5 -3
- data/docs/method_list.html +644 -508
- data/docs/top-level-namespace.html +1 -1
- data/lib/puppeteer.rb +7 -1
- data/lib/puppeteer/browser_runner.rb +1 -1
- data/lib/puppeteer/dom_world.rb +9 -12
- data/lib/puppeteer/element_handle.rb +82 -61
- data/lib/puppeteer/execution_context.rb +13 -0
- data/lib/puppeteer/file_chooser.rb +29 -0
- data/lib/puppeteer/frame_manager.rb +0 -2
- data/lib/puppeteer/launcher/chrome.rb +48 -2
- data/lib/puppeteer/page.rb +85 -52
- data/lib/puppeteer/remote_object.rb +6 -1
- data/lib/puppeteer/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4a15068a36a1be715e1a36a9a60499e97993b8df6ddd2870ec828c9bd454c8
|
4
|
+
data.tar.gz: '04197dff06b1049338b61a43529a3daf420c411f9736e7d1589f7db1dae27191'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8426ed7e21111c956859ce604beddeffb4c2c1f6c430698f380760789c8eb67cdac93acfb715ec6b4d83eb0bbba2f563fd0c89949f0b44d186f0715ec04dde5
|
7
|
+
data.tar.gz: 60b08406a74f956011565d9b582a6bc507adecac9d94ff963e8454556512d5d408a2ff7ee5c5f380058384829f6f8cbfc23357eaa423780f2a97c54e06ef8495
|
data/README.md
CHANGED
@@ -43,10 +43,11 @@ Puppeteer.launch(headless: false, slow_mo: 50, args: ['--guest', '--window-size=
|
|
43
43
|
end
|
44
44
|
```
|
45
45
|
|
46
|
-
|
46
|
+
More usage examples can be found [here](https://github.com/YusukeIwaki/puppeteer-ruby-example)
|
47
47
|
|
48
|
+
## API
|
48
49
|
|
49
|
-
|
50
|
+
https://yusukeiwaki.github.io/puppeteer-ruby/
|
50
51
|
|
51
52
|
## Contributing
|
52
53
|
|
data/docs/Puppeteer.html
CHANGED
@@ -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/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>, <span class='object_link'><a href="Puppeteer/WebSocktTransportError.html" title="Puppeteer::WebSocktTransportError (class)">WebSocktTransportError</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'>'</span><span class='tstring_content'>0.0.
|
1015
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.7</span><span class='tstring_end'>'</span></span></pre></dd>
|
1016
1016
|
|
1017
1017
|
</dl>
|
1018
1018
|
|
@@ -1333,14 +1333,14 @@
|
|
1333
1333
|
<pre class="lines">
|
1334
1334
|
|
1335
1335
|
|
1336
|
-
68
|
1337
1336
|
69
|
1338
1337
|
70
|
1339
1338
|
71
|
1340
|
-
72
|
1339
|
+
72
|
1340
|
+
73</pre>
|
1341
1341
|
</td>
|
1342
1342
|
<td>
|
1343
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1343
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 69</span>
|
1344
1344
|
|
1345
1345
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>project_root:</span><span class='comma'>,</span> <span class='label'>preferred_revision:</span><span class='comma'>,</span> <span class='label'>is_puppeteer_core:</span><span class='rparen'>)</span>
|
1346
1346
|
<span class='ivar'>@project_root</span> <span class='op'>=</span> <span class='id identifier rubyid_project_root'>project_root</span>
|
@@ -1374,16 +1374,16 @@
|
|
1374
1374
|
<pre class="lines">
|
1375
1375
|
|
1376
1376
|
|
1377
|
-
56
|
1378
1377
|
57
|
1379
1378
|
58
|
1380
1379
|
59
|
1381
1380
|
60
|
1382
1381
|
61
|
1383
|
-
62
|
1382
|
+
62
|
1383
|
+
63</pre>
|
1384
1384
|
</td>
|
1385
1385
|
<td>
|
1386
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1386
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 57</span>
|
1387
1387
|
|
1388
1388
|
<span class='kw'>def</span> <span class='id identifier rubyid_instance'>instance</span>
|
1389
1389
|
<span class='ivar'>@instance</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="" title="Puppeteer (class)">Puppeteer</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Puppeteer#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
@@ -1412,12 +1412,12 @@
|
|
1412
1412
|
<pre class="lines">
|
1413
1413
|
|
1414
1414
|
|
1415
|
-
52
|
1416
1415
|
53
|
1417
|
-
54
|
1416
|
+
54
|
1417
|
+
55</pre>
|
1418
1418
|
</td>
|
1419
1419
|
<td>
|
1420
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1420
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 53</span>
|
1421
1421
|
|
1422
1422
|
<span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
1423
1423
|
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -1485,7 +1485,6 @@
|
|
1485
1485
|
<pre class="lines">
|
1486
1486
|
|
1487
1487
|
|
1488
|
-
129
|
1489
1488
|
130
|
1490
1489
|
131
|
1491
1490
|
132
|
@@ -1502,10 +1501,16 @@
|
|
1502
1501
|
143
|
1503
1502
|
144
|
1504
1503
|
145
|
1505
|
-
146
|
1504
|
+
146
|
1505
|
+
147
|
1506
|
+
148
|
1507
|
+
149
|
1508
|
+
150
|
1509
|
+
151
|
1510
|
+
152</pre>
|
1506
1511
|
</td>
|
1507
1512
|
<td>
|
1508
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1513
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 130</span>
|
1509
1514
|
|
1510
1515
|
<span class='kw'>def</span> <span class='id identifier rubyid_connect'>connect</span><span class='lparen'>(</span>
|
1511
1516
|
<span class='label'>browser_ws_endpoint:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
@@ -1523,7 +1528,12 @@
|
|
1523
1528
|
<span class='label'>default_viewport:</span> <span class='id identifier rubyid_default_viewport'>default_viewport</span><span class='comma'>,</span>
|
1524
1529
|
<span class='label'>slow_mo:</span> <span class='id identifier rubyid_slow_mo'>slow_mo</span><span class='comma'>,</span>
|
1525
1530
|
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span>
|
1526
|
-
<span class='id identifier rubyid_launcher'>launcher</span><span class='period'>.</span><span class='id identifier rubyid_connect'>connect</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1531
|
+
<span class='id identifier rubyid_browser'>browser</span> <span class='op'>=</span> <span class='id identifier rubyid_launcher'>launcher</span><span class='period'>.</span><span class='id identifier rubyid_connect'>connect</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1532
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
1533
|
+
<span class='kw'>yield</span><span class='lparen'>(</span><span class='id identifier rubyid_browser'>browser</span><span class='rparen'>)</span>
|
1534
|
+
<span class='kw'>else</span>
|
1535
|
+
<span class='id identifier rubyid_browser'>browser</span>
|
1536
|
+
<span class='kw'>end</span>
|
1527
1537
|
<span class='kw'>end</span></pre>
|
1528
1538
|
</td>
|
1529
1539
|
</tr>
|
@@ -1584,12 +1594,12 @@
|
|
1584
1594
|
<pre class="lines">
|
1585
1595
|
|
1586
1596
|
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1597
|
+
197
|
1598
|
+
198
|
1599
|
+
199</pre>
|
1590
1600
|
</td>
|
1591
1601
|
<td>
|
1592
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1602
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 197</span>
|
1593
1603
|
|
1594
1604
|
<span class='kw'>def</span> <span class='id identifier rubyid_createBrowserFetcher'>createBrowserFetcher</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>
|
1595
1605
|
<span class='const'><span class='object_link'><a href="Puppeteer/BrowserFetcher.html" title="Puppeteer::BrowserFetcher (class)">BrowserFetcher</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Puppeteer/BrowserFetcher.html#initialize-instance_method" title="Puppeteer::BrowserFetcher#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
@@ -1651,18 +1661,18 @@
|
|
1651
1661
|
<pre class="lines">
|
1652
1662
|
|
1653
1663
|
|
1654
|
-
179
|
1655
|
-
180
|
1656
|
-
181
|
1657
|
-
182
|
1658
|
-
183
|
1659
|
-
184
|
1660
1664
|
185
|
1661
1665
|
186
|
1662
|
-
187
|
1666
|
+
187
|
1667
|
+
188
|
1668
|
+
189
|
1669
|
+
190
|
1670
|
+
191
|
1671
|
+
192
|
1672
|
+
193</pre>
|
1663
1673
|
</td>
|
1664
1674
|
<td>
|
1665
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1675
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 185</span>
|
1666
1676
|
|
1667
1677
|
<span class='kw'>def</span> <span class='id identifier rubyid_default_args'>default_args</span><span class='lparen'>(</span><span class='label'>args:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>user_data_dir:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>devtools:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>headless:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1668
1678
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
@@ -1715,12 +1725,12 @@
|
|
1715
1725
|
<pre class="lines">
|
1716
1726
|
|
1717
1727
|
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1728
|
+
174
|
1729
|
+
175
|
1730
|
+
176</pre>
|
1721
1731
|
</td>
|
1722
1732
|
<td>
|
1723
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1733
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 174</span>
|
1724
1734
|
|
1725
1735
|
<span class='kw'>def</span> <span class='id identifier rubyid_devices'>devices</span>
|
1726
1736
|
<span class='const'><span class='object_link'><a href="" title="Puppeteer (class)">Puppeteer</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Puppeteer/Devices.html" title="Puppeteer::Devices (class)">Devices</a></span></span>
|
@@ -1767,12 +1777,12 @@
|
|
1767
1777
|
<pre class="lines">
|
1768
1778
|
|
1769
1779
|
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1780
|
+
155
|
1781
|
+
156
|
1782
|
+
157</pre>
|
1773
1783
|
</td>
|
1774
1784
|
<td>
|
1775
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1785
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 155</span>
|
1776
1786
|
|
1777
1787
|
<span class='kw'>def</span> <span class='id identifier rubyid_executable_path'>executable_path</span>
|
1778
1788
|
<span class='id identifier rubyid_launcher'>launcher</span><span class='period'>.</span><span class='id identifier rubyid_executable_path'>executable_path</span>
|
@@ -1834,7 +1844,6 @@
|
|
1834
1844
|
<pre class="lines">
|
1835
1845
|
|
1836
1846
|
|
1837
|
-
76
|
1838
1847
|
77
|
1839
1848
|
78
|
1840
1849
|
79
|
@@ -1883,10 +1892,11 @@
|
|
1883
1892
|
122
|
1884
1893
|
123
|
1885
1894
|
124
|
1886
|
-
125
|
1895
|
+
125
|
1896
|
+
126</pre>
|
1887
1897
|
</td>
|
1888
1898
|
<td>
|
1889
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1899
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 77</span>
|
1890
1900
|
|
1891
1901
|
<span class='kw'>def</span> <span class='id identifier rubyid_launch'>launch</span><span class='lparen'>(</span>
|
1892
1902
|
<span class='label'>product:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
@@ -1980,12 +1990,12 @@
|
|
1980
1990
|
<pre class="lines">
|
1981
1991
|
|
1982
1992
|
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1993
|
+
169
|
1994
|
+
170
|
1995
|
+
171</pre>
|
1986
1996
|
</td>
|
1987
1997
|
<td>
|
1988
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line
|
1998
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer.rb', line 169</span>
|
1989
1999
|
|
1990
2000
|
<span class='kw'>def</span> <span class='id identifier rubyid_product'>product</span>
|
1991
2001
|
<span class='id identifier rubyid_launcher'>launcher</span><span class='period'>.</span><span class='id identifier rubyid_product'>product</span>
|
@@ -2000,7 +2010,7 @@
|
|
2000
2010
|
</div>
|
2001
2011
|
|
2002
2012
|
<div id="footer">
|
2003
|
-
Generated on
|
2013
|
+
Generated on Thu Jun 4 23:54:41 2020 by
|
2004
2014
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2005
2015
|
0.9.24 (ruby-2.6.3).
|
2006
2016
|
</div>
|
data/docs/Puppeteer/Browser.html
CHANGED
@@ -2140,7 +2140,7 @@
|
|
2140
2140
|
</div>
|
2141
2141
|
|
2142
2142
|
<div id="footer">
|
2143
|
-
Generated on
|
2143
|
+
Generated on Thu Jun 4 23:54:42 2020 by
|
2144
2144
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2145
2145
|
0.9.24 (ruby-2.6.3).
|
2146
2146
|
</div>
|
@@ -799,7 +799,7 @@
|
|
799
799
|
</div>
|
800
800
|
|
801
801
|
<div id="footer">
|
802
|
-
Generated on
|
802
|
+
Generated on Thu Jun 4 23:54:43 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 Thu Jun 4 23:54:43 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 Thu Jun 4 23:54:43 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 Thu Jun 4 23:54:43 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 Thu Jun 4 23:54:42 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 Thu Jun 4 23:54:42 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 Thu Jun 4 23:54:41 2020 by
|
424
424
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
425
425
|
0.9.24 (ruby-2.6.3).
|
426
426
|
</div>
|
@@ -950,7 +950,7 @@
|
|
950
950
|
</div>
|
951
951
|
|
952
952
|
<div id="footer">
|
953
|
-
Generated on
|
953
|
+
Generated on Thu Jun 4 23:54:42 2020 by
|
954
954
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
955
955
|
0.9.24 (ruby-2.6.3).
|
956
956
|
</div>
|
@@ -424,7 +424,7 @@
|
|
424
424
|
</div>
|
425
425
|
|
426
426
|
<div id="footer">
|
427
|
-
Generated on
|
427
|
+
Generated on Thu Jun 4 23:54:42 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 Thu Jun 4 23:54:42 2020 by
|
210
210
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
211
211
|
0.9.24 (ruby-2.6.3).
|
212
212
|
</div>
|
@@ -207,7 +207,7 @@
|
|
207
207
|
</div>
|
208
208
|
|
209
209
|
<div id="footer">
|
210
|
-
Generated on
|
210
|
+
Generated on Thu Jun 4 23:54:42 2020 by
|
211
211
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
212
212
|
0.9.24 (ruby-2.6.3).
|
213
213
|
</div>
|
@@ -234,7 +234,7 @@
|
|
234
234
|
</div>
|
235
235
|
|
236
236
|
<div id="footer">
|
237
|
-
Generated on
|
237
|
+
Generated on Thu Jun 4 23:54:42 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 Thu Jun 4 23:54:43 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 Thu Jun 4 23:54:43 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>
|
@@ -461,6 +461,28 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
461
461
|
<p>`$()` in JavaScript.</p>
|
462
462
|
</div></span>
|
463
463
|
|
464
|
+
</li>
|
465
|
+
|
466
|
+
|
467
|
+
<li class="public ">
|
468
|
+
<span class="summary_signature">
|
469
|
+
|
470
|
+
<a href="#select-instance_method" title="#select (instance method)">#<strong>select</strong>(selector, *values) ⇒ Array<String> </a>
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
</span>
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
485
|
+
|
464
486
|
</li>
|
465
487
|
|
466
488
|
|
@@ -1439,6 +1461,81 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1439
1461
|
</td>
|
1440
1462
|
</tr>
|
1441
1463
|
</table>
|
1464
|
+
</div>
|
1465
|
+
|
1466
|
+
<div class="method_details ">
|
1467
|
+
<h3 class="signature " id="select-instance_method">
|
1468
|
+
|
1469
|
+
#<strong>select</strong>(selector, *values) ⇒ <tt>Array<String></tt>
|
1470
|
+
|
1471
|
+
|
1472
|
+
|
1473
|
+
|
1474
|
+
|
1475
|
+
</h3><div class="docstring">
|
1476
|
+
<div class="discussion">
|
1477
|
+
|
1478
|
+
|
1479
|
+
</div>
|
1480
|
+
</div>
|
1481
|
+
<div class="tags">
|
1482
|
+
<p class="tag_title">Parameters:</p>
|
1483
|
+
<ul class="param">
|
1484
|
+
|
1485
|
+
<li>
|
1486
|
+
|
1487
|
+
<span class='name'>selector</span>
|
1488
|
+
|
1489
|
+
|
1490
|
+
<span class='type'>(<tt>String</tt>)</span>
|
1491
|
+
|
1492
|
+
|
1493
|
+
|
1494
|
+
</li>
|
1495
|
+
|
1496
|
+
</ul>
|
1497
|
+
|
1498
|
+
<p class="tag_title">Returns:</p>
|
1499
|
+
<ul class="return">
|
1500
|
+
|
1501
|
+
<li>
|
1502
|
+
|
1503
|
+
|
1504
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
1505
|
+
|
1506
|
+
|
1507
|
+
|
1508
|
+
</li>
|
1509
|
+
|
1510
|
+
</ul>
|
1511
|
+
|
1512
|
+
</div><table class="source_code">
|
1513
|
+
<tr>
|
1514
|
+
<td>
|
1515
|
+
<pre class="lines">
|
1516
|
+
|
1517
|
+
|
1518
|
+
360
|
1519
|
+
361
|
1520
|
+
362
|
1521
|
+
363
|
1522
|
+
364
|
1523
|
+
365
|
1524
|
+
366</pre>
|
1525
|
+
</td>
|
1526
|
+
<td>
|
1527
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/dom_world.rb', line 360</span>
|
1528
|
+
|
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
|
+
<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>
|
1531
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_handle'>handle</span><span class='period'>.</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>
|
1532
|
+
<span class='id identifier rubyid_handle'>handle</span><span class='period'>.</span><span class='id identifier rubyid_dispose'>dispose</span>
|
1533
|
+
|
1534
|
+
<span class='id identifier rubyid_result'>result</span>
|
1535
|
+
<span class='kw'>end</span></pre>
|
1536
|
+
</td>
|
1537
|
+
</tr>
|
1538
|
+
</table>
|
1442
1539
|
</div>
|
1443
1540
|
|
1444
1541
|
<div class="method_details ">
|
@@ -1800,14 +1897,14 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1800
1897
|
<pre class="lines">
|
1801
1898
|
|
1802
1899
|
|
1900
|
+
369
|
1901
|
+
370
|
1902
|
+
371
|
1803
1903
|
372
|
1804
|
-
373
|
1805
|
-
374
|
1806
|
-
375
|
1807
|
-
376</pre>
|
1904
|
+
373</pre>
|
1808
1905
|
</td>
|
1809
1906
|
<td>
|
1810
|
-
<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 369</span>
|
1811
1908
|
|
1812
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>
|
1813
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>
|
@@ -1882,14 +1979,14 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1882
1979
|
<pre class="lines">
|
1883
1980
|
|
1884
1981
|
|
1982
|
+
378
|
1983
|
+
379
|
1984
|
+
380
|
1885
1985
|
381
|
1886
|
-
382
|
1887
|
-
383
|
1888
|
-
384
|
1889
|
-
385</pre>
|
1986
|
+
382</pre>
|
1890
1987
|
</td>
|
1891
1988
|
<td>
|
1892
|
-
<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 378</span>
|
1893
1990
|
|
1894
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>
|
1895
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>
|
@@ -1989,12 +2086,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
1989
2086
|
<pre class="lines">
|
1990
2087
|
|
1991
2088
|
|
1992
|
-
|
1993
|
-
|
1994
|
-
|
2089
|
+
388
|
2090
|
+
389
|
2091
|
+
390</pre>
|
1995
2092
|
</td>
|
1996
2093
|
<td>
|
1997
|
-
<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 388</span>
|
1998
2095
|
|
1999
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>
|
2000
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>
|
@@ -2092,12 +2189,12 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
2092
2189
|
<pre class="lines">
|
2093
2190
|
|
2094
2191
|
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2192
|
+
396
|
2193
|
+
397
|
2194
|
+
398</pre>
|
2098
2195
|
</td>
|
2099
2196
|
<td>
|
2100
|
-
<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 396</span>
|
2101
2198
|
|
2102
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>
|
2103
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>
|
@@ -2112,7 +2209,7 @@ function _(selectorOrXPath, isXPath, waitForVisible, waitForHidden) {
|
|
2112
2209
|
</div>
|
2113
2210
|
|
2114
2211
|
<div id="footer">
|
2115
|
-
Generated on
|
2212
|
+
Generated on Thu Jun 4 23:54:42 2020 by
|
2116
2213
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2117
2214
|
0.9.24 (ruby-2.6.3).
|
2118
2215
|
</div>
|