puppeteer-ruby 0.0.13 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +2 -14
  3. data/.github/workflows/docs.yml +45 -0
  4. data/.github/workflows/reviewdog.yml +15 -0
  5. data/.rubocop.yml +39 -3
  6. data/README.md +54 -1
  7. data/lib/puppeteer.rb +10 -2
  8. data/lib/puppeteer/browser.rb +53 -34
  9. data/lib/puppeteer/browser_context.rb +35 -5
  10. data/lib/puppeteer/cdp_session.rb +3 -19
  11. data/lib/puppeteer/concurrent_ruby_utils.rb +6 -0
  12. data/lib/puppeteer/connection.rb +9 -16
  13. data/lib/puppeteer/debug_print.rb +1 -1
  14. data/lib/puppeteer/define_async_method.rb +23 -0
  15. data/lib/puppeteer/dom_world.rb +84 -73
  16. data/lib/puppeteer/element_handle.rb +46 -63
  17. data/lib/puppeteer/emulation_manager.rb +2 -6
  18. data/lib/puppeteer/env.rb +18 -0
  19. data/lib/puppeteer/execution_context.rb +1 -6
  20. data/lib/puppeteer/frame.rb +46 -46
  21. data/lib/puppeteer/frame_manager.rb +7 -25
  22. data/lib/puppeteer/js_handle.rb +39 -38
  23. data/lib/puppeteer/keyboard.rb +9 -29
  24. data/lib/puppeteer/mouse.rb +20 -24
  25. data/lib/puppeteer/network_manager.rb +163 -5
  26. data/lib/puppeteer/page.rb +221 -181
  27. data/lib/puppeteer/page/pdf_options.rb +166 -0
  28. data/lib/puppeteer/remote_object.rb +18 -5
  29. data/lib/puppeteer/request.rb +330 -0
  30. data/lib/puppeteer/response.rb +113 -0
  31. data/lib/puppeteer/touch_screen.rb +2 -7
  32. data/lib/puppeteer/version.rb +1 -1
  33. data/lib/puppeteer/wait_task.rb +3 -5
  34. data/lib/puppeteer/web_socket.rb +7 -0
  35. data/puppeteer-ruby.gemspec +2 -1
  36. metadata +25 -103
  37. data/docs/Puppeteer.html +0 -2338
  38. data/docs/Puppeteer/AsyncAwaitBehavior.html +0 -105
  39. data/docs/Puppeteer/Browser.html +0 -2258
  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 -438
  47. data/docs/Puppeteer/Connection.html +0 -964
  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 -2293
  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/BoundingBox.html +0 -507
  62. data/docs/Puppeteer/ElementHandle/BoxModel.html +0 -404
  63. data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +0 -206
  64. data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +0 -206
  65. data/docs/Puppeteer/ElementHandle/Point.html +0 -492
  66. data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +0 -124
  67. data/docs/Puppeteer/EmulationManager.html +0 -454
  68. data/docs/Puppeteer/EventCallbackable.html +0 -499
  69. data/docs/Puppeteer/EventCallbackable/EventListeners.html +0 -435
  70. data/docs/Puppeteer/ExecutionContext.html +0 -998
  71. data/docs/Puppeteer/ExecutionContext/EvaluationError.html +0 -124
  72. data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +0 -357
  73. data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +0 -389
  74. data/docs/Puppeteer/FileChooser.html +0 -455
  75. data/docs/Puppeteer/Frame.html +0 -3835
  76. data/docs/Puppeteer/FrameManager.html +0 -2410
  77. data/docs/Puppeteer/FrameManager/NavigationError.html +0 -124
  78. data/docs/Puppeteer/IfPresent.html +0 -222
  79. data/docs/Puppeteer/JSHandle.html +0 -1352
  80. data/docs/Puppeteer/Keyboard.html +0 -1557
  81. data/docs/Puppeteer/Keyboard/KeyDefinition.html +0 -831
  82. data/docs/Puppeteer/Keyboard/KeyDescription.html +0 -603
  83. data/docs/Puppeteer/Launcher.html +0 -237
  84. data/docs/Puppeteer/Launcher/Base.html +0 -385
  85. data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +0 -124
  86. data/docs/Puppeteer/Launcher/BrowserOptions.html +0 -441
  87. data/docs/Puppeteer/Launcher/Chrome.html +0 -674
  88. data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +0 -382
  89. data/docs/Puppeteer/Launcher/ChromeArgOptions.html +0 -531
  90. data/docs/Puppeteer/Launcher/LaunchOptions.html +0 -893
  91. data/docs/Puppeteer/LifecycleWatcher.html +0 -834
  92. data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +0 -363
  93. data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +0 -206
  94. data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +0 -124
  95. data/docs/Puppeteer/Mouse.html +0 -1095
  96. data/docs/Puppeteer/Mouse/Button.html +0 -136
  97. data/docs/Puppeteer/NetworkManager.html +0 -901
  98. data/docs/Puppeteer/NetworkManager/Credentials.html +0 -385
  99. data/docs/Puppeteer/Page.html +0 -6173
  100. data/docs/Puppeteer/Page/FileChooserTimeoutError.html +0 -206
  101. data/docs/Puppeteer/Page/ScreenshotOptions.html +0 -845
  102. data/docs/Puppeteer/Page/ScriptTag.html +0 -555
  103. data/docs/Puppeteer/Page/StyleTag.html +0 -448
  104. data/docs/Puppeteer/Page/TargetCrashedError.html +0 -124
  105. data/docs/Puppeteer/RemoteObject.html +0 -1087
  106. data/docs/Puppeteer/Target.html +0 -1336
  107. data/docs/Puppeteer/Target/InitializeFailure.html +0 -124
  108. data/docs/Puppeteer/Target/TargetInfo.html +0 -729
  109. data/docs/Puppeteer/TimeoutError.html +0 -135
  110. data/docs/Puppeteer/TimeoutSettings.html +0 -496
  111. data/docs/Puppeteer/TouchScreen.html +0 -464
  112. data/docs/Puppeteer/Viewport.html +0 -837
  113. data/docs/Puppeteer/WaitTask.html +0 -637
  114. data/docs/Puppeteer/WaitTask/TerminatedError.html +0 -124
  115. data/docs/Puppeteer/WaitTask/TimeoutError.html +0 -206
  116. data/docs/Puppeteer/WebSocket.html +0 -673
  117. data/docs/Puppeteer/WebSocket/DriverImpl.html +0 -412
  118. data/docs/Puppeteer/WebSocket/TransportError.html +0 -124
  119. data/docs/Puppeteer/WebSocketTransport.html +0 -600
  120. data/docs/Puppeteer/WebSocktTransportError.html +0 -124
  121. data/docs/_index.html +0 -816
  122. data/docs/class_list.html +0 -51
  123. data/docs/css/common.css +0 -1
  124. data/docs/css/full_list.css +0 -58
  125. data/docs/css/style.css +0 -496
  126. data/docs/file.README.html +0 -125
  127. data/docs/file_list.html +0 -56
  128. data/docs/frames.html +0 -17
  129. data/docs/index.html +0 -125
  130. data/docs/js/app.js +0 -314
  131. data/docs/js/full_list.js +0 -216
  132. data/docs/js/jquery.js +0 -4
  133. data/docs/method_list.html +0 -4123
  134. data/docs/top-level-namespace.html +0 -126
  135. data/lib/puppeteer/async_await_behavior.rb +0 -38
@@ -1,831 +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::Keyboard::KeyDefinition
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::Keyboard::KeyDefinition";
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 (K)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Keyboard.html" title="Puppeteer::Keyboard (class)">Keyboard</a></span></span>
41
- &raquo;
42
- <span class="title">KeyDefinition</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::Keyboard::KeyDefinition
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::Keyboard::KeyDefinition</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/keyboard/us_keyboard_layout.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
- <ul><li>
105
- <p>@typedef Object KeyDefinition</p>
106
- </li><li>
107
- <p>@property number= keyCode</p>
108
- </li><li>
109
- <p>@property number= shiftKeyCode</p>
110
- </li><li>
111
- <p>@property string= key</p>
112
- </li><li>
113
- <p>@property string= shiftKey</p>
114
- </li><li>
115
- <p>@property string= code</p>
116
- </li><li>
117
- <p>@property string= text</p>
118
- </li><li>
119
- <p>@property string= shiftText</p>
120
- </li><li>
121
- <p>@property number= location</p>
122
- </li></ul>
123
-
124
-
125
- </div>
126
- </div>
127
- <div class="tags">
128
-
129
-
130
- </div>
131
-
132
-
133
-
134
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
135
- <ul class="summary">
136
-
137
- <li class="public ">
138
- <span class="summary_signature">
139
-
140
- <a href="#code-instance_method" title="#code (instance method)">#<strong>code</strong> &#x21d2; Object </a>
141
-
142
-
143
-
144
- </span>
145
-
146
-
147
-
148
-
149
- <span class="note title readonly">readonly</span>
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
- <span class="summary_desc"><div class='inline'>
160
- <p>Returns the value of attribute code.</p>
161
- </div></span>
162
-
163
- </li>
164
-
165
-
166
- <li class="public ">
167
- <span class="summary_signature">
168
-
169
- <a href="#key-instance_method" title="#key (instance method)">#<strong>key</strong> &#x21d2; Object </a>
170
-
171
-
172
-
173
- </span>
174
-
175
-
176
-
177
-
178
- <span class="note title readonly">readonly</span>
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
- <span class="summary_desc"><div class='inline'>
189
- <p>Returns the value of attribute key.</p>
190
- </div></span>
191
-
192
- </li>
193
-
194
-
195
- <li class="public ">
196
- <span class="summary_signature">
197
-
198
- <a href="#key_code-instance_method" title="#key_code (instance method)">#<strong>key_code</strong> &#x21d2; Object </a>
199
-
200
-
201
-
202
- </span>
203
-
204
-
205
-
206
-
207
- <span class="note title readonly">readonly</span>
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
- <span class="summary_desc"><div class='inline'>
218
- <p>Returns the value of attribute key_code.</p>
219
- </div></span>
220
-
221
- </li>
222
-
223
-
224
- <li class="public ">
225
- <span class="summary_signature">
226
-
227
- <a href="#location-instance_method" title="#location (instance method)">#<strong>location</strong> &#x21d2; Object </a>
228
-
229
-
230
-
231
- </span>
232
-
233
-
234
-
235
-
236
- <span class="note title readonly">readonly</span>
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
- <span class="summary_desc"><div class='inline'>
247
- <p>Returns the value of attribute location.</p>
248
- </div></span>
249
-
250
- </li>
251
-
252
-
253
- <li class="public ">
254
- <span class="summary_signature">
255
-
256
- <a href="#shift_key-instance_method" title="#shift_key (instance method)">#<strong>shift_key</strong> &#x21d2; Object </a>
257
-
258
-
259
-
260
- </span>
261
-
262
-
263
-
264
-
265
- <span class="note title readonly">readonly</span>
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
- <span class="summary_desc"><div class='inline'>
276
- <p>Returns the value of attribute shift_key.</p>
277
- </div></span>
278
-
279
- </li>
280
-
281
-
282
- <li class="public ">
283
- <span class="summary_signature">
284
-
285
- <a href="#shift_key_code-instance_method" title="#shift_key_code (instance method)">#<strong>shift_key_code</strong> &#x21d2; Object </a>
286
-
287
-
288
-
289
- </span>
290
-
291
-
292
-
293
-
294
- <span class="note title readonly">readonly</span>
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
- <span class="summary_desc"><div class='inline'>
305
- <p>Returns the value of attribute shift_key_code.</p>
306
- </div></span>
307
-
308
- </li>
309
-
310
-
311
- <li class="public ">
312
- <span class="summary_signature">
313
-
314
- <a href="#shift_text-instance_method" title="#shift_text (instance method)">#<strong>shift_text</strong> &#x21d2; Object </a>
315
-
316
-
317
-
318
- </span>
319
-
320
-
321
-
322
-
323
- <span class="note title readonly">readonly</span>
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
- <span class="summary_desc"><div class='inline'>
334
- <p>Returns the value of attribute shift_text.</p>
335
- </div></span>
336
-
337
- </li>
338
-
339
-
340
- <li class="public ">
341
- <span class="summary_signature">
342
-
343
- <a href="#text-instance_method" title="#text (instance method)">#<strong>text</strong> &#x21d2; Object </a>
344
-
345
-
346
-
347
- </span>
348
-
349
-
350
-
351
-
352
- <span class="note title readonly">readonly</span>
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
- <span class="summary_desc"><div class='inline'>
363
- <p>Returns the value of attribute text.</p>
364
- </div></span>
365
-
366
- </li>
367
-
368
-
369
- </ul>
370
-
371
-
372
-
373
-
374
-
375
- <h2>
376
- Instance Method Summary
377
- <small><a href="#" class="summary_toggle">collapse</a></small>
378
- </h2>
379
-
380
- <ul class="summary">
381
-
382
- <li class="public ">
383
- <span class="summary_signature">
384
-
385
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(hash) &#x21d2; KeyDefinition </a>
386
-
387
-
388
-
389
- </span>
390
-
391
-
392
- <span class="note title constructor">constructor</span>
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
- <span class="summary_desc"><div class='inline'>
402
- <p>A new instance of KeyDefinition.</p>
403
- </div></span>
404
-
405
- </li>
406
-
407
-
408
- </ul>
409
-
410
-
411
- <div id="constructor_details" class="method_details_list">
412
- <h2>Constructor Details</h2>
413
-
414
- <div class="method_details first">
415
- <h3 class="signature first" id="initialize-instance_method">
416
-
417
- #<strong>initialize</strong>(hash) &#x21d2; <tt><span class='object_link'><a href="" title="Puppeteer::Keyboard::KeyDefinition (class)">KeyDefinition</a></span></tt>
418
-
419
-
420
-
421
-
422
-
423
- </h3><div class="docstring">
424
- <div class="discussion">
425
-
426
- <p>Returns a new instance of KeyDefinition.</p>
427
-
428
-
429
- </div>
430
- </div>
431
- <div class="tags">
432
-
433
-
434
- </div><table class="source_code">
435
- <tr>
436
- <td>
437
- <pre class="lines">
438
-
439
-
440
- 12
441
- 13
442
- 14
443
- 15
444
- 16
445
- 17
446
- 18
447
- 19
448
- 20
449
- 21</pre>
450
- </td>
451
- <td>
452
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 12</span>
453
-
454
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span>
455
- <span class='ivar'>@key_code</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:keyCode</span><span class='rbracket'>]</span>
456
- <span class='ivar'>@shift_key_code</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:shiftKeyCode</span><span class='rbracket'>]</span>
457
- <span class='ivar'>@key</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:key</span><span class='rbracket'>]</span>
458
- <span class='ivar'>@shift_key</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:shiftKey</span><span class='rbracket'>]</span>
459
- <span class='ivar'>@code</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:code</span><span class='rbracket'>]</span>
460
- <span class='ivar'>@text</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:text</span><span class='rbracket'>]</span>
461
- <span class='ivar'>@shift_text</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:shiftText</span><span class='rbracket'>]</span>
462
- <span class='ivar'>@location</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:location</span><span class='rbracket'>]</span>
463
- <span class='kw'>end</span></pre>
464
- </td>
465
- </tr>
466
- </table>
467
- </div>
468
-
469
- </div>
470
-
471
- <div id="instance_attr_details" class="attr_details">
472
- <h2>Instance Attribute Details</h2>
473
-
474
-
475
- <span id=""></span>
476
- <div class="method_details first">
477
- <h3 class="signature first" id="code-instance_method">
478
-
479
- #<strong>code</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
480
-
481
-
482
-
483
-
484
-
485
- </h3><div class="docstring">
486
- <div class="discussion">
487
-
488
- <p>Returns the value of attribute code.</p>
489
-
490
-
491
- </div>
492
- </div>
493
- <div class="tags">
494
-
495
-
496
- </div><table class="source_code">
497
- <tr>
498
- <td>
499
- <pre class="lines">
500
-
501
-
502
- 23
503
- 24
504
- 25</pre>
505
- </td>
506
- <td>
507
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
508
-
509
- <span class='kw'>def</span> <span class='id identifier rubyid_code'>code</span>
510
- <span class='ivar'>@code</span>
511
- <span class='kw'>end</span></pre>
512
- </td>
513
- </tr>
514
- </table>
515
- </div>
516
-
517
-
518
- <span id=""></span>
519
- <div class="method_details ">
520
- <h3 class="signature " id="key-instance_method">
521
-
522
- #<strong>key</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
523
-
524
-
525
-
526
-
527
-
528
- </h3><div class="docstring">
529
- <div class="discussion">
530
-
531
- <p>Returns the value of attribute key.</p>
532
-
533
-
534
- </div>
535
- </div>
536
- <div class="tags">
537
-
538
-
539
- </div><table class="source_code">
540
- <tr>
541
- <td>
542
- <pre class="lines">
543
-
544
-
545
- 23
546
- 24
547
- 25</pre>
548
- </td>
549
- <td>
550
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
551
-
552
- <span class='kw'>def</span> <span class='id identifier rubyid_key'>key</span>
553
- <span class='ivar'>@key</span>
554
- <span class='kw'>end</span></pre>
555
- </td>
556
- </tr>
557
- </table>
558
- </div>
559
-
560
-
561
- <span id=""></span>
562
- <div class="method_details ">
563
- <h3 class="signature " id="key_code-instance_method">
564
-
565
- #<strong>key_code</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
566
-
567
-
568
-
569
-
570
-
571
- </h3><div class="docstring">
572
- <div class="discussion">
573
-
574
- <p>Returns the value of attribute key_code.</p>
575
-
576
-
577
- </div>
578
- </div>
579
- <div class="tags">
580
-
581
-
582
- </div><table class="source_code">
583
- <tr>
584
- <td>
585
- <pre class="lines">
586
-
587
-
588
- 23
589
- 24
590
- 25</pre>
591
- </td>
592
- <td>
593
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
594
-
595
- <span class='kw'>def</span> <span class='id identifier rubyid_key_code'>key_code</span>
596
- <span class='ivar'>@key_code</span>
597
- <span class='kw'>end</span></pre>
598
- </td>
599
- </tr>
600
- </table>
601
- </div>
602
-
603
-
604
- <span id=""></span>
605
- <div class="method_details ">
606
- <h3 class="signature " id="location-instance_method">
607
-
608
- #<strong>location</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
609
-
610
-
611
-
612
-
613
-
614
- </h3><div class="docstring">
615
- <div class="discussion">
616
-
617
- <p>Returns the value of attribute location.</p>
618
-
619
-
620
- </div>
621
- </div>
622
- <div class="tags">
623
-
624
-
625
- </div><table class="source_code">
626
- <tr>
627
- <td>
628
- <pre class="lines">
629
-
630
-
631
- 23
632
- 24
633
- 25</pre>
634
- </td>
635
- <td>
636
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
637
-
638
- <span class='kw'>def</span> <span class='id identifier rubyid_location'>location</span>
639
- <span class='ivar'>@location</span>
640
- <span class='kw'>end</span></pre>
641
- </td>
642
- </tr>
643
- </table>
644
- </div>
645
-
646
-
647
- <span id=""></span>
648
- <div class="method_details ">
649
- <h3 class="signature " id="shift_key-instance_method">
650
-
651
- #<strong>shift_key</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
652
-
653
-
654
-
655
-
656
-
657
- </h3><div class="docstring">
658
- <div class="discussion">
659
-
660
- <p>Returns the value of attribute shift_key.</p>
661
-
662
-
663
- </div>
664
- </div>
665
- <div class="tags">
666
-
667
-
668
- </div><table class="source_code">
669
- <tr>
670
- <td>
671
- <pre class="lines">
672
-
673
-
674
- 23
675
- 24
676
- 25</pre>
677
- </td>
678
- <td>
679
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
680
-
681
- <span class='kw'>def</span> <span class='id identifier rubyid_shift_key'>shift_key</span>
682
- <span class='ivar'>@shift_key</span>
683
- <span class='kw'>end</span></pre>
684
- </td>
685
- </tr>
686
- </table>
687
- </div>
688
-
689
-
690
- <span id=""></span>
691
- <div class="method_details ">
692
- <h3 class="signature " id="shift_key_code-instance_method">
693
-
694
- #<strong>shift_key_code</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
695
-
696
-
697
-
698
-
699
-
700
- </h3><div class="docstring">
701
- <div class="discussion">
702
-
703
- <p>Returns the value of attribute shift_key_code.</p>
704
-
705
-
706
- </div>
707
- </div>
708
- <div class="tags">
709
-
710
-
711
- </div><table class="source_code">
712
- <tr>
713
- <td>
714
- <pre class="lines">
715
-
716
-
717
- 23
718
- 24
719
- 25</pre>
720
- </td>
721
- <td>
722
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
723
-
724
- <span class='kw'>def</span> <span class='id identifier rubyid_shift_key_code'>shift_key_code</span>
725
- <span class='ivar'>@shift_key_code</span>
726
- <span class='kw'>end</span></pre>
727
- </td>
728
- </tr>
729
- </table>
730
- </div>
731
-
732
-
733
- <span id=""></span>
734
- <div class="method_details ">
735
- <h3 class="signature " id="shift_text-instance_method">
736
-
737
- #<strong>shift_text</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
738
-
739
-
740
-
741
-
742
-
743
- </h3><div class="docstring">
744
- <div class="discussion">
745
-
746
- <p>Returns the value of attribute shift_text.</p>
747
-
748
-
749
- </div>
750
- </div>
751
- <div class="tags">
752
-
753
-
754
- </div><table class="source_code">
755
- <tr>
756
- <td>
757
- <pre class="lines">
758
-
759
-
760
- 23
761
- 24
762
- 25</pre>
763
- </td>
764
- <td>
765
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
766
-
767
- <span class='kw'>def</span> <span class='id identifier rubyid_shift_text'>shift_text</span>
768
- <span class='ivar'>@shift_text</span>
769
- <span class='kw'>end</span></pre>
770
- </td>
771
- </tr>
772
- </table>
773
- </div>
774
-
775
-
776
- <span id=""></span>
777
- <div class="method_details ">
778
- <h3 class="signature " id="text-instance_method">
779
-
780
- #<strong>text</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
781
-
782
-
783
-
784
-
785
-
786
- </h3><div class="docstring">
787
- <div class="discussion">
788
-
789
- <p>Returns the value of attribute text.</p>
790
-
791
-
792
- </div>
793
- </div>
794
- <div class="tags">
795
-
796
-
797
- </div><table class="source_code">
798
- <tr>
799
- <td>
800
- <pre class="lines">
801
-
802
-
803
- 23
804
- 24
805
- 25</pre>
806
- </td>
807
- <td>
808
- <pre class="code"><span class="info file"># File 'lib/puppeteer/keyboard/us_keyboard_layout.rb', line 23</span>
809
-
810
- <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
811
- <span class='ivar'>@text</span>
812
- <span class='kw'>end</span></pre>
813
- </td>
814
- </tr>
815
- </table>
816
- </div>
817
-
818
- </div>
819
-
820
-
821
- </div>
822
-
823
- <div id="footer">
824
- Generated on Wed Jun 24 03:08:02 2020 by
825
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
826
- 0.9.24 (ruby-2.6.3).
827
- </div>
828
-
829
- </div>
830
- </body>
831
- </html>