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
@@ -0,0 +1,206 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Exception: Puppeteer::Page::FileChooserTimeoutError
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.24
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "Puppeteer::Page::FileChooserTimeoutError";
|
19
|
+
relpath = '../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../_index.html">Index (F)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span> » <span class='title'><span class='object_link'><a href="../Page.html" title="Puppeteer::Page (class)">Page</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">FileChooserTimeoutError</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Exception: Puppeteer::Page::FileChooserTimeoutError
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">StandardError</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">StandardError</li>
|
78
|
+
|
79
|
+
<li class="next">Puppeteer::Page::FileChooserTimeoutError</li>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
83
|
+
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/puppeteer/page.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
<h2>
|
113
|
+
Instance Method Summary
|
114
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
115
|
+
</h2>
|
116
|
+
|
117
|
+
<ul class="summary">
|
118
|
+
|
119
|
+
<li class="public ">
|
120
|
+
<span class="summary_signature">
|
121
|
+
|
122
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(timeout:) ⇒ FileChooserTimeoutError </a>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
</span>
|
127
|
+
|
128
|
+
|
129
|
+
<span class="note title constructor">constructor</span>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
<span class="summary_desc"><div class='inline'>
|
139
|
+
<p>A new instance of FileChooserTimeoutError.</p>
|
140
|
+
</div></span>
|
141
|
+
|
142
|
+
</li>
|
143
|
+
|
144
|
+
|
145
|
+
</ul>
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<div id="constructor_details" class="method_details_list">
|
150
|
+
<h2>Constructor Details</h2>
|
151
|
+
|
152
|
+
<div class="method_details first">
|
153
|
+
<h3 class="signature first" id="initialize-instance_method">
|
154
|
+
|
155
|
+
#<strong>initialize</strong>(timeout:) ⇒ <tt><span class='object_link'><a href="" title="Puppeteer::Page::FileChooserTimeoutError (class)">FileChooserTimeoutError</a></span></tt>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
</h3><div class="docstring">
|
162
|
+
<div class="discussion">
|
163
|
+
|
164
|
+
<p>Returns a new instance of FileChooserTimeoutError.</p>
|
165
|
+
|
166
|
+
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
<div class="tags">
|
170
|
+
|
171
|
+
|
172
|
+
</div><table class="source_code">
|
173
|
+
<tr>
|
174
|
+
<td>
|
175
|
+
<pre class="lines">
|
176
|
+
|
177
|
+
|
178
|
+
142
|
179
|
+
143
|
180
|
+
144</pre>
|
181
|
+
</td>
|
182
|
+
<td>
|
183
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 142</span>
|
184
|
+
|
185
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>timeout:</span><span class='rparen'>)</span>
|
186
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>waiting for filechooser failed: timeout </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_timeout'>timeout</span><span class='embexpr_end'>}</span><span class='tstring_content'>ms exceeded</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
187
|
+
<span class='kw'>end</span></pre>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
</table>
|
191
|
+
</div>
|
192
|
+
|
193
|
+
</div>
|
194
|
+
|
195
|
+
|
196
|
+
</div>
|
197
|
+
|
198
|
+
<div id="footer">
|
199
|
+
Generated on Thu Jun 4 23:54:41 2020 by
|
200
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
201
|
+
0.9.24 (ruby-2.6.3).
|
202
|
+
</div>
|
203
|
+
|
204
|
+
</div>
|
205
|
+
</body>
|
206
|
+
</html>
|
@@ -835,7 +835,7 @@
|
|
835
835
|
</div>
|
836
836
|
|
837
837
|
<div id="footer">
|
838
|
-
Generated on
|
838
|
+
Generated on Thu Jun 4 23:54:44 2020 by
|
839
839
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
840
840
|
0.9.24 (ruby-2.6.3).
|
841
841
|
</div>
|
@@ -341,15 +341,15 @@ if (items.length)
|
|
341
341
|
<pre class="lines">
|
342
342
|
|
343
343
|
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
344
|
+
374
|
345
|
+
375
|
346
|
+
376
|
347
|
+
377
|
348
|
+
378
|
349
|
+
379</pre>
|
350
350
|
</td>
|
351
351
|
<td>
|
352
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
352
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 374</span>
|
353
353
|
|
354
354
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>content:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>type:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
355
355
|
<span class='ivar'>@content</span> <span class='op'>=</span> <span class='id identifier rubyid_content'>content</span>
|
@@ -395,12 +395,12 @@ if (items.length)
|
|
395
395
|
<pre class="lines">
|
396
396
|
|
397
397
|
|
398
|
-
|
399
|
-
|
400
|
-
|
398
|
+
380
|
399
|
+
381
|
400
|
+
382</pre>
|
401
401
|
</td>
|
402
402
|
<td>
|
403
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
403
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 380</span>
|
404
404
|
|
405
405
|
<span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span>
|
406
406
|
<span class='ivar'>@content</span>
|
@@ -438,12 +438,12 @@ if (items.length)
|
|
438
438
|
<pre class="lines">
|
439
439
|
|
440
440
|
|
441
|
-
|
442
|
-
|
443
|
-
|
441
|
+
380
|
442
|
+
381
|
443
|
+
382</pre>
|
444
444
|
</td>
|
445
445
|
<td>
|
446
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
446
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 380</span>
|
447
447
|
|
448
448
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span>
|
449
449
|
<span class='ivar'>@path</span>
|
@@ -481,12 +481,12 @@ if (items.length)
|
|
481
481
|
<pre class="lines">
|
482
482
|
|
483
483
|
|
484
|
-
|
485
|
-
|
486
|
-
|
484
|
+
380
|
485
|
+
381
|
486
|
+
382</pre>
|
487
487
|
</td>
|
488
488
|
<td>
|
489
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
489
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 380</span>
|
490
490
|
|
491
491
|
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
492
492
|
<span class='ivar'>@type</span>
|
@@ -524,12 +524,12 @@ if (items.length)
|
|
524
524
|
<pre class="lines">
|
525
525
|
|
526
526
|
|
527
|
-
|
528
|
-
|
529
|
-
|
527
|
+
380
|
528
|
+
381
|
529
|
+
382</pre>
|
530
530
|
</td>
|
531
531
|
<td>
|
532
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
532
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 380</span>
|
533
533
|
|
534
534
|
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
535
535
|
<span class='ivar'>@url</span>
|
@@ -545,7 +545,7 @@ if (items.length)
|
|
545
545
|
</div>
|
546
546
|
|
547
547
|
<div id="footer">
|
548
|
-
Generated on
|
548
|
+
Generated on Thu Jun 4 23:54:41 2020 by
|
549
549
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
550
550
|
0.9.24 (ruby-2.6.3).
|
551
551
|
</div>
|
@@ -279,14 +279,14 @@
|
|
279
279
|
<pre class="lines">
|
280
280
|
|
281
281
|
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
282
|
+
391
|
283
|
+
392
|
284
|
+
393
|
285
|
+
394
|
286
|
+
395</pre>
|
287
287
|
</td>
|
288
288
|
<td>
|
289
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
289
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 391</span>
|
290
290
|
|
291
291
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>content:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
292
292
|
<span class='ivar'>@content</span> <span class='op'>=</span> <span class='id identifier rubyid_content'>content</span>
|
@@ -331,12 +331,12 @@
|
|
331
331
|
<pre class="lines">
|
332
332
|
|
333
333
|
|
334
|
-
|
335
|
-
|
336
|
-
|
334
|
+
396
|
335
|
+
397
|
336
|
+
398</pre>
|
337
337
|
</td>
|
338
338
|
<td>
|
339
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
339
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 396</span>
|
340
340
|
|
341
341
|
<span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span>
|
342
342
|
<span class='ivar'>@content</span>
|
@@ -374,12 +374,12 @@
|
|
374
374
|
<pre class="lines">
|
375
375
|
|
376
376
|
|
377
|
-
|
378
|
-
|
379
|
-
|
377
|
+
396
|
378
|
+
397
|
379
|
+
398</pre>
|
380
380
|
</td>
|
381
381
|
<td>
|
382
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
382
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 396</span>
|
383
383
|
|
384
384
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span>
|
385
385
|
<span class='ivar'>@path</span>
|
@@ -417,12 +417,12 @@
|
|
417
417
|
<pre class="lines">
|
418
418
|
|
419
419
|
|
420
|
-
|
421
|
-
|
422
|
-
|
420
|
+
396
|
421
|
+
397
|
422
|
+
398</pre>
|
423
423
|
</td>
|
424
424
|
<td>
|
425
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line
|
425
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/page.rb', line 396</span>
|
426
426
|
|
427
427
|
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
428
428
|
<span class='ivar'>@url</span>
|
@@ -438,7 +438,7 @@
|
|
438
438
|
</div>
|
439
439
|
|
440
440
|
<div id="footer">
|
441
|
-
Generated on
|
441
|
+
Generated on Thu Jun 4 23:54:41 2020 by
|
442
442
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
443
443
|
0.9.24 (ruby-2.6.3).
|
444
444
|
</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:41 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>
|
@@ -276,7 +276,7 @@
|
|
276
276
|
|
277
277
|
|
278
278
|
<span class="summary_desc"><div class='inline'>
|
279
|
-
<p>used in ElementHandle#content_frame.</p>
|
279
|
+
<p>used in ElementHandle#content_frame, ElementHandle#upload_file.</p>
|
280
280
|
</div></span>
|
281
281
|
|
282
282
|
</li>
|
@@ -325,6 +325,30 @@
|
|
325
325
|
|
326
326
|
<span class="summary_desc"><div class='inline'></div></span>
|
327
327
|
|
328
|
+
</li>
|
329
|
+
|
330
|
+
|
331
|
+
<li class="public ">
|
332
|
+
<span class="summary_signature">
|
333
|
+
|
334
|
+
<a href="#set_file_input_files-instance_method" title="#set_file_input_files (instance method)">#<strong>set_file_input_files</strong>(client, files, backend_node_id) ⇒ Object </a>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
</span>
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
<span class="summary_desc"><div class='inline'>
|
349
|
+
<p>used in ElementHandle#upload_file.</p>
|
350
|
+
</div></span>
|
351
|
+
|
328
352
|
</li>
|
329
353
|
|
330
354
|
|
@@ -701,7 +725,7 @@
|
|
701
725
|
</h3><div class="docstring">
|
702
726
|
<div class="discussion">
|
703
727
|
|
704
|
-
<p>used in ElementHandle#content_frame</p>
|
728
|
+
<p>used in ElementHandle#content_frame, ElementHandle#upload_file</p>
|
705
729
|
|
706
730
|
|
707
731
|
</div>
|
@@ -857,6 +881,47 @@
|
|
857
881
|
</td>
|
858
882
|
</tr>
|
859
883
|
</table>
|
884
|
+
</div>
|
885
|
+
|
886
|
+
<div class="method_details ">
|
887
|
+
<h3 class="signature " id="set_file_input_files-instance_method">
|
888
|
+
|
889
|
+
#<strong>set_file_input_files</strong>(client, files, backend_node_id) ⇒ <tt>Object</tt>
|
890
|
+
|
891
|
+
|
892
|
+
|
893
|
+
|
894
|
+
|
895
|
+
</h3><div class="docstring">
|
896
|
+
<div class="discussion">
|
897
|
+
|
898
|
+
<p>used in ElementHandle#upload_file</p>
|
899
|
+
|
900
|
+
|
901
|
+
</div>
|
902
|
+
</div>
|
903
|
+
<div class="tags">
|
904
|
+
|
905
|
+
|
906
|
+
</div><table class="source_code">
|
907
|
+
<tr>
|
908
|
+
<td>
|
909
|
+
<pre class="lines">
|
910
|
+
|
911
|
+
|
912
|
+
131
|
913
|
+
132
|
914
|
+
133</pre>
|
915
|
+
</td>
|
916
|
+
<td>
|
917
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/remote_object.rb', line 131</span>
|
918
|
+
|
919
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_set_file_input_files'>set_file_input_files</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_files'>files</span><span class='comma'>,</span> <span class='id identifier rubyid_backend_node_id'>backend_node_id</span><span class='rparen'>)</span>
|
920
|
+
<span class='id identifier rubyid_client'>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'>'</span><span class='tstring_content'>DOM.setFileInputFiles</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>objectId:</span> <span class='ivar'>@object_id</span><span class='comma'>,</span> <span class='label'>files:</span> <span class='id identifier rubyid_files'>files</span><span class='comma'>,</span> <span class='label'>backendNodeId:</span> <span class='id identifier rubyid_backend_node_id'>backend_node_id</span><span class='rparen'>)</span>
|
921
|
+
<span class='kw'>end</span></pre>
|
922
|
+
</td>
|
923
|
+
</tr>
|
924
|
+
</table>
|
860
925
|
</div>
|
861
926
|
|
862
927
|
<div class="method_details ">
|
@@ -941,7 +1006,7 @@
|
|
941
1006
|
</div>
|
942
1007
|
|
943
1008
|
<div id="footer">
|
944
|
-
Generated on
|
1009
|
+
Generated on Thu Jun 4 23:54:43 2020 by
|
945
1010
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
946
1011
|
0.9.24 (ruby-2.6.3).
|
947
1012
|
</div>
|