puppeteer-ruby 0.0.10 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +0 -12
  3. data/.github/workflows/docs.yml +45 -0
  4. data/.github/workflows/reviewdog.yml +15 -0
  5. data/README.md +54 -1
  6. data/lib/puppeteer.rb +37 -13
  7. data/lib/puppeteer/browser.rb +39 -26
  8. data/lib/puppeteer/cdp_session.rb +3 -19
  9. data/lib/puppeteer/concurrent_ruby_utils.rb +12 -2
  10. data/lib/puppeteer/connection.rb +16 -16
  11. data/lib/puppeteer/define_async_method.rb +23 -0
  12. data/lib/puppeteer/dom_world.rb +58 -71
  13. data/lib/puppeteer/element_handle.rb +15 -44
  14. data/lib/puppeteer/emulation_manager.rb +2 -6
  15. data/lib/puppeteer/event_callbackable.rb +11 -0
  16. data/lib/puppeteer/execution_context.rb +1 -6
  17. data/lib/puppeteer/frame.rb +38 -3
  18. data/lib/puppeteer/frame_manager.rb +7 -25
  19. data/lib/puppeteer/js_handle.rb +3 -12
  20. data/lib/puppeteer/keyboard.rb +6 -27
  21. data/lib/puppeteer/launcher.rb +6 -6
  22. data/lib/puppeteer/launcher/chrome.rb +10 -8
  23. data/lib/puppeteer/mouse.rb +8 -33
  24. data/lib/puppeteer/page.rb +132 -121
  25. data/lib/puppeteer/page/pdf_options.rb +166 -0
  26. data/lib/puppeteer/remote_object.rb +2 -5
  27. data/lib/puppeteer/target.rb +1 -1
  28. data/lib/puppeteer/touch_screen.rb +2 -7
  29. data/lib/puppeteer/version.rb +1 -1
  30. data/lib/puppeteer/wait_task.rb +2 -4
  31. data/lib/puppeteer/web_socket_transport.rb +8 -8
  32. data/puppeteer-ruby.gemspec +1 -1
  33. data/puppeteer-ruby.png +0 -0
  34. metadata +9 -102
  35. data/Dockerfile +0 -6
  36. data/docker-compose.yml +0 -15
  37. data/docs/Puppeteer.html +0 -2020
  38. data/docs/Puppeteer/AsyncAwaitBehavior.html +0 -105
  39. data/docs/Puppeteer/Browser.html +0 -2148
  40. data/docs/Puppeteer/BrowserContext.html +0 -809
  41. data/docs/Puppeteer/BrowserFetcher.html +0 -214
  42. data/docs/Puppeteer/BrowserRunner.html +0 -914
  43. data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +0 -477
  44. data/docs/Puppeteer/CDPSession.html +0 -813
  45. data/docs/Puppeteer/CDPSession/Error.html +0 -124
  46. data/docs/Puppeteer/ConcurrentRubyUtils.html +0 -430
  47. data/docs/Puppeteer/Connection.html +0 -960
  48. data/docs/Puppeteer/Connection/MessageCallback.html +0 -434
  49. data/docs/Puppeteer/Connection/ProtocolError.html +0 -216
  50. data/docs/Puppeteer/Connection/RequestDebugPrinter.html +0 -217
  51. data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +0 -244
  52. data/docs/Puppeteer/ConsoleMessage.html +0 -565
  53. data/docs/Puppeteer/ConsoleMessage/Location.html +0 -433
  54. data/docs/Puppeteer/DOMWorld.html +0 -2219
  55. data/docs/Puppeteer/DOMWorld/DetachedError.html +0 -124
  56. data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +0 -124
  57. data/docs/Puppeteer/DebugPrint.html +0 -233
  58. data/docs/Puppeteer/Device.html +0 -470
  59. data/docs/Puppeteer/Devices.html +0 -139
  60. data/docs/Puppeteer/ElementHandle.html +0 -2542
  61. data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +0 -206
  62. data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +0 -206
  63. data/docs/Puppeteer/ElementHandle/Point.html +0 -492
  64. data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +0 -124
  65. data/docs/Puppeteer/EmulationManager.html +0 -454
  66. data/docs/Puppeteer/EventCallbackable.html +0 -433
  67. data/docs/Puppeteer/EventCallbackable/EventListeners.html +0 -435
  68. data/docs/Puppeteer/ExecutionContext.html +0 -998
  69. data/docs/Puppeteer/ExecutionContext/EvaluationError.html +0 -124
  70. data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +0 -357
  71. data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +0 -389
  72. data/docs/Puppeteer/FileChooser.html +0 -455
  73. data/docs/Puppeteer/Frame.html +0 -3677
  74. data/docs/Puppeteer/FrameManager.html +0 -2410
  75. data/docs/Puppeteer/FrameManager/NavigationError.html +0 -124
  76. data/docs/Puppeteer/IfPresent.html +0 -222
  77. data/docs/Puppeteer/JSHandle.html +0 -1352
  78. data/docs/Puppeteer/Keyboard.html +0 -1557
  79. data/docs/Puppeteer/Keyboard/KeyDefinition.html +0 -831
  80. data/docs/Puppeteer/Keyboard/KeyDescription.html +0 -603
  81. data/docs/Puppeteer/Launcher.html +0 -237
  82. data/docs/Puppeteer/Launcher/Base.html +0 -385
  83. data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +0 -124
  84. data/docs/Puppeteer/Launcher/BrowserOptions.html +0 -441
  85. data/docs/Puppeteer/Launcher/Chrome.html +0 -669
  86. data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +0 -382
  87. data/docs/Puppeteer/Launcher/ChromeArgOptions.html +0 -531
  88. data/docs/Puppeteer/Launcher/LaunchOptions.html +0 -893
  89. data/docs/Puppeteer/LifecycleWatcher.html +0 -834
  90. data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +0 -363
  91. data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +0 -206
  92. data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +0 -124
  93. data/docs/Puppeteer/Mouse.html +0 -1105
  94. data/docs/Puppeteer/Mouse/Button.html +0 -136
  95. data/docs/Puppeteer/NetworkManager.html +0 -901
  96. data/docs/Puppeteer/NetworkManager/Credentials.html +0 -385
  97. data/docs/Puppeteer/Page.html +0 -5970
  98. data/docs/Puppeteer/Page/FileChooserTimeoutError.html +0 -206
  99. data/docs/Puppeteer/Page/ScreenshotOptions.html +0 -845
  100. data/docs/Puppeteer/Page/ScriptTag.html +0 -555
  101. data/docs/Puppeteer/Page/StyleTag.html +0 -448
  102. data/docs/Puppeteer/Page/TargetCrashedError.html +0 -124
  103. data/docs/Puppeteer/RemoteObject.html +0 -1087
  104. data/docs/Puppeteer/Target.html +0 -1336
  105. data/docs/Puppeteer/Target/InitializeFailure.html +0 -124
  106. data/docs/Puppeteer/Target/TargetInfo.html +0 -729
  107. data/docs/Puppeteer/TimeoutError.html +0 -135
  108. data/docs/Puppeteer/TimeoutSettings.html +0 -496
  109. data/docs/Puppeteer/TouchScreen.html +0 -464
  110. data/docs/Puppeteer/Viewport.html +0 -837
  111. data/docs/Puppeteer/WaitTask.html +0 -637
  112. data/docs/Puppeteer/WaitTask/TerminatedError.html +0 -124
  113. data/docs/Puppeteer/WaitTask/TimeoutError.html +0 -206
  114. data/docs/Puppeteer/WebSocket.html +0 -673
  115. data/docs/Puppeteer/WebSocket/DriverImpl.html +0 -412
  116. data/docs/Puppeteer/WebSocketTransport.html +0 -600
  117. data/docs/Puppeteer/WebSocktTransportError.html +0 -124
  118. data/docs/_index.html +0 -823
  119. data/docs/class_list.html +0 -51
  120. data/docs/css/common.css +0 -1
  121. data/docs/css/full_list.css +0 -58
  122. data/docs/css/style.css +0 -496
  123. data/docs/file.README.html +0 -123
  124. data/docs/file_list.html +0 -56
  125. data/docs/frames.html +0 -17
  126. data/docs/index.html +0 -123
  127. data/docs/js/app.js +0 -314
  128. data/docs/js/full_list.js +0 -216
  129. data/docs/js/jquery.js +0 -4
  130. data/docs/method_list.html +0 -4075
  131. data/docs/top-level-namespace.html +0 -126
  132. data/lib/puppeteer/async_await_behavior.rb +0 -38
@@ -1,135 +0,0 @@
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::TimeoutError
8
-
9
- &mdash; 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::TimeoutError";
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 (T)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span>
41
- &raquo;
42
- <span class="title">TimeoutError</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::TimeoutError
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::TimeoutError</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/errors.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>ref: <a href="https://github.com/puppeteer/puppeteer/blob/master/src/Errors.ts">github.com/puppeteer/puppeteer/blob/master/src/Errors.ts</a></p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
- </div>
126
-
127
- <div id="footer">
128
- Generated on Fri Jun 12 12:38:33 2020 by
129
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.24 (ruby-2.6.3).
131
- </div>
132
-
133
- </div>
134
- </body>
135
- </html>
@@ -1,496 +0,0 @@
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
- Class: Puppeteer::TimeoutSettings
8
-
9
- &mdash; 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::TimeoutSettings";
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 (T)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span>
41
- &raquo;
42
- <span class="title">TimeoutSettings</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>Class: Puppeteer::TimeoutSettings
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Puppeteer::TimeoutSettings</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/puppeteer/timeout_settings.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
-
103
-
104
- <h2>
105
- Constant Summary
106
- <small><a href="#" class="constants_summary_toggle">collapse</a></small>
107
- </h2>
108
-
109
- <dl class="constants">
110
-
111
- <dt id="DEFAULT_TIMEOUT-constant" class="">DEFAULT_TIMEOUT =
112
-
113
- </dt>
114
- <dd><pre class="code"><span class='int'>30000</span></pre></dd>
115
-
116
- </dl>
117
-
118
-
119
-
120
-
121
-
122
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
123
- <ul class="summary">
124
-
125
- <li class="public ">
126
- <span class="summary_signature">
127
-
128
- <a href="#default_navigation_timeout=-instance_method" title="#default_navigation_timeout= (instance method)">#<strong>default_navigation_timeout</strong> &#x21d2; Object </a>
129
-
130
-
131
-
132
- </span>
133
-
134
-
135
-
136
-
137
-
138
- <span class="note title writeonly">writeonly</span>
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
- <span class="summary_desc"><div class='inline'>
148
- <p>Sets the attribute default_navigation_timeout.</p>
149
- </div></span>
150
-
151
- </li>
152
-
153
-
154
- <li class="public ">
155
- <span class="summary_signature">
156
-
157
- <a href="#default_timeout=-instance_method" title="#default_timeout= (instance method)">#<strong>default_timeout</strong> &#x21d2; Object </a>
158
-
159
-
160
-
161
- </span>
162
-
163
-
164
-
165
-
166
-
167
- <span class="note title writeonly">writeonly</span>
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
- <span class="summary_desc"><div class='inline'>
177
- <p>Sets the attribute default_timeout.</p>
178
- </div></span>
179
-
180
- </li>
181
-
182
-
183
- </ul>
184
-
185
-
186
-
187
-
188
-
189
- <h2>
190
- Instance Method Summary
191
- <small><a href="#" class="summary_toggle">collapse</a></small>
192
- </h2>
193
-
194
- <ul class="summary">
195
-
196
- <li class="public ">
197
- <span class="summary_signature">
198
-
199
- <a href="#navigation_timeout-instance_method" title="#navigation_timeout (instance method)">#<strong>navigation_timeout</strong> &#x21d2; number </a>
200
-
201
-
202
-
203
- </span>
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
- <span class="summary_desc"><div class='inline'></div></span>
214
-
215
- </li>
216
-
217
-
218
- <li class="public ">
219
- <span class="summary_signature">
220
-
221
- <a href="#timeout-instance_method" title="#timeout (instance method)">#<strong>timeout</strong> &#x21d2; number </a>
222
-
223
-
224
-
225
- </span>
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
- <span class="summary_desc"><div class='inline'></div></span>
236
-
237
- </li>
238
-
239
-
240
- </ul>
241
-
242
-
243
-
244
- <div id="instance_attr_details" class="attr_details">
245
- <h2>Instance Attribute Details</h2>
246
-
247
-
248
- <span id=""></span>
249
- <div class="method_details first">
250
- <h3 class="signature first" id="default_navigation_timeout=-instance_method">
251
-
252
- #<strong>default_navigation_timeout=</strong>(value) &#x21d2; <tt>Object</tt> <span class="extras">(writeonly)</span>
253
-
254
-
255
-
256
-
257
-
258
- </h3><div class="docstring">
259
- <div class="discussion">
260
-
261
- <p>Sets the attribute default_navigation_timeout</p>
262
-
263
-
264
- </div>
265
- </div>
266
- <div class="tags">
267
- <p class="tag_title">Parameters:</p>
268
- <ul class="param">
269
-
270
- <li>
271
-
272
- <span class='name'>value</span>
273
-
274
-
275
- <span class='type'></span>
276
-
277
-
278
-
279
- &mdash;
280
- <div class='inline'>
281
- <p>the value to set the attribute default_navigation_timeout to.</p>
282
- </div>
283
-
284
- </li>
285
-
286
- </ul>
287
-
288
-
289
- </div><table class="source_code">
290
- <tr>
291
- <td>
292
- <pre class="lines">
293
-
294
-
295
- 4
296
- 5
297
- 6</pre>
298
- </td>
299
- <td>
300
- <pre class="code"><span class="info file"># File 'lib/puppeteer/timeout_settings.rb', line 4</span>
301
-
302
- <span class='kw'>def</span> <span class='id identifier rubyid_default_navigation_timeout='>default_navigation_timeout=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
303
- <span class='ivar'>@default_navigation_timeout</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
304
- <span class='kw'>end</span></pre>
305
- </td>
306
- </tr>
307
- </table>
308
- </div>
309
-
310
-
311
- <span id=""></span>
312
- <div class="method_details ">
313
- <h3 class="signature " id="default_timeout=-instance_method">
314
-
315
- #<strong>default_timeout=</strong>(value) &#x21d2; <tt>Object</tt> <span class="extras">(writeonly)</span>
316
-
317
-
318
-
319
-
320
-
321
- </h3><div class="docstring">
322
- <div class="discussion">
323
-
324
- <p>Sets the attribute default_timeout</p>
325
-
326
-
327
- </div>
328
- </div>
329
- <div class="tags">
330
- <p class="tag_title">Parameters:</p>
331
- <ul class="param">
332
-
333
- <li>
334
-
335
- <span class='name'>value</span>
336
-
337
-
338
- <span class='type'></span>
339
-
340
-
341
-
342
- &mdash;
343
- <div class='inline'>
344
- <p>the value to set the attribute default_timeout to.</p>
345
- </div>
346
-
347
- </li>
348
-
349
- </ul>
350
-
351
-
352
- </div><table class="source_code">
353
- <tr>
354
- <td>
355
- <pre class="lines">
356
-
357
-
358
- 4
359
- 5
360
- 6</pre>
361
- </td>
362
- <td>
363
- <pre class="code"><span class="info file"># File 'lib/puppeteer/timeout_settings.rb', line 4</span>
364
-
365
- <span class='kw'>def</span> <span class='id identifier rubyid_default_timeout='>default_timeout=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
366
- <span class='ivar'>@default_timeout</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
367
- <span class='kw'>end</span></pre>
368
- </td>
369
- </tr>
370
- </table>
371
- </div>
372
-
373
- </div>
374
-
375
-
376
- <div id="instance_method_details" class="method_details_list">
377
- <h2>Instance Method Details</h2>
378
-
379
-
380
- <div class="method_details first">
381
- <h3 class="signature first" id="navigation_timeout-instance_method">
382
-
383
- #<strong>navigation_timeout</strong> &#x21d2; <tt>number</tt>
384
-
385
-
386
-
387
-
388
-
389
- </h3><div class="docstring">
390
- <div class="discussion">
391
-
392
-
393
- </div>
394
- </div>
395
- <div class="tags">
396
-
397
- <p class="tag_title">Returns:</p>
398
- <ul class="return">
399
-
400
- <li>
401
-
402
-
403
- <span class='type'>(<tt>number</tt>)</span>
404
-
405
-
406
-
407
- </li>
408
-
409
- </ul>
410
-
411
- </div><table class="source_code">
412
- <tr>
413
- <td>
414
- <pre class="lines">
415
-
416
-
417
- 7
418
- 8
419
- 9</pre>
420
- </td>
421
- <td>
422
- <pre class="code"><span class="info file"># File 'lib/puppeteer/timeout_settings.rb', line 7</span>
423
-
424
- <span class='kw'>def</span> <span class='id identifier rubyid_navigation_timeout'>navigation_timeout</span>
425
- <span class='ivar'>@default_navigation_timeout</span> <span class='op'>||</span> <span class='ivar'>@default_timeout</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="#DEFAULT_TIMEOUT-constant" title="Puppeteer::TimeoutSettings::DEFAULT_TIMEOUT (constant)">DEFAULT_TIMEOUT</a></span></span>
426
- <span class='kw'>end</span></pre>
427
- </td>
428
- </tr>
429
- </table>
430
- </div>
431
-
432
- <div class="method_details ">
433
- <h3 class="signature " id="timeout-instance_method">
434
-
435
- #<strong>timeout</strong> &#x21d2; <tt>number</tt>
436
-
437
-
438
-
439
-
440
-
441
- </h3><div class="docstring">
442
- <div class="discussion">
443
-
444
-
445
- </div>
446
- </div>
447
- <div class="tags">
448
-
449
- <p class="tag_title">Returns:</p>
450
- <ul class="return">
451
-
452
- <li>
453
-
454
-
455
- <span class='type'>(<tt>number</tt>)</span>
456
-
457
-
458
-
459
- </li>
460
-
461
- </ul>
462
-
463
- </div><table class="source_code">
464
- <tr>
465
- <td>
466
- <pre class="lines">
467
-
468
-
469
- 12
470
- 13
471
- 14</pre>
472
- </td>
473
- <td>
474
- <pre class="code"><span class="info file"># File 'lib/puppeteer/timeout_settings.rb', line 12</span>
475
-
476
- <span class='kw'>def</span> <span class='id identifier rubyid_timeout'>timeout</span>
477
- <span class='ivar'>@default_timeout</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="#DEFAULT_TIMEOUT-constant" title="Puppeteer::TimeoutSettings::DEFAULT_TIMEOUT (constant)">DEFAULT_TIMEOUT</a></span></span>
478
- <span class='kw'>end</span></pre>
479
- </td>
480
- </tr>
481
- </table>
482
- </div>
483
-
484
- </div>
485
-
486
- </div>
487
-
488
- <div id="footer">
489
- Generated on Fri Jun 12 12:38:35 2020 by
490
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
491
- 0.9.24 (ruby-2.6.3).
492
- </div>
493
-
494
- </div>
495
- </body>
496
- </html>