puppeteer-ruby 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +0 -12
- data/.github/workflows/docs.yml +45 -0
- data/.github/workflows/reviewdog.yml +15 -0
- data/README.md +52 -1
- data/lib/puppeteer.rb +1 -1
- data/lib/puppeteer/browser.rb +17 -25
- data/lib/puppeteer/cdp_session.rb +3 -19
- data/lib/puppeteer/concurrent_ruby_utils.rb +6 -0
- data/lib/puppeteer/connection.rb +3 -15
- data/lib/puppeteer/define_async_method.rb +23 -0
- data/lib/puppeteer/dom_world.rb +6 -21
- data/lib/puppeteer/element_handle.rb +15 -44
- data/lib/puppeteer/emulation_manager.rb +2 -6
- data/lib/puppeteer/execution_context.rb +1 -6
- data/lib/puppeteer/frame.rb +30 -16
- data/lib/puppeteer/frame_manager.rb +7 -25
- data/lib/puppeteer/js_handle.rb +3 -12
- data/lib/puppeteer/keyboard.rb +6 -27
- data/lib/puppeteer/mouse.rb +5 -25
- data/lib/puppeteer/page.rb +39 -63
- data/lib/puppeteer/remote_object.rb +2 -5
- data/lib/puppeteer/touch_screen.rb +2 -7
- data/lib/puppeteer/version.rb +1 -1
- data/lib/puppeteer/wait_task.rb +2 -4
- data/puppeteer-ruby.gemspec +1 -1
- metadata +7 -103
- data/docs/Puppeteer.html +0 -2338
- data/docs/Puppeteer/AsyncAwaitBehavior.html +0 -105
- data/docs/Puppeteer/Browser.html +0 -2258
- data/docs/Puppeteer/BrowserContext.html +0 -809
- data/docs/Puppeteer/BrowserFetcher.html +0 -214
- data/docs/Puppeteer/BrowserRunner.html +0 -914
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +0 -477
- data/docs/Puppeteer/CDPSession.html +0 -813
- data/docs/Puppeteer/CDPSession/Error.html +0 -124
- data/docs/Puppeteer/ConcurrentRubyUtils.html +0 -438
- data/docs/Puppeteer/Connection.html +0 -964
- data/docs/Puppeteer/Connection/MessageCallback.html +0 -434
- data/docs/Puppeteer/Connection/ProtocolError.html +0 -216
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +0 -217
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +0 -244
- data/docs/Puppeteer/ConsoleMessage.html +0 -565
- data/docs/Puppeteer/ConsoleMessage/Location.html +0 -433
- data/docs/Puppeteer/DOMWorld.html +0 -2293
- data/docs/Puppeteer/DOMWorld/DetachedError.html +0 -124
- data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +0 -124
- data/docs/Puppeteer/DebugPrint.html +0 -233
- data/docs/Puppeteer/Device.html +0 -470
- data/docs/Puppeteer/Devices.html +0 -139
- data/docs/Puppeteer/ElementHandle.html +0 -2542
- data/docs/Puppeteer/ElementHandle/BoundingBox.html +0 -507
- data/docs/Puppeteer/ElementHandle/BoxModel.html +0 -404
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +0 -206
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +0 -206
- data/docs/Puppeteer/ElementHandle/Point.html +0 -492
- data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +0 -124
- data/docs/Puppeteer/EmulationManager.html +0 -454
- data/docs/Puppeteer/EventCallbackable.html +0 -499
- data/docs/Puppeteer/EventCallbackable/EventListeners.html +0 -435
- data/docs/Puppeteer/ExecutionContext.html +0 -998
- data/docs/Puppeteer/ExecutionContext/EvaluationError.html +0 -124
- data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +0 -357
- data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +0 -389
- data/docs/Puppeteer/FileChooser.html +0 -455
- data/docs/Puppeteer/Frame.html +0 -3835
- data/docs/Puppeteer/FrameManager.html +0 -2410
- data/docs/Puppeteer/FrameManager/NavigationError.html +0 -124
- data/docs/Puppeteer/IfPresent.html +0 -222
- data/docs/Puppeteer/JSHandle.html +0 -1352
- data/docs/Puppeteer/Keyboard.html +0 -1557
- data/docs/Puppeteer/Keyboard/KeyDefinition.html +0 -831
- data/docs/Puppeteer/Keyboard/KeyDescription.html +0 -603
- data/docs/Puppeteer/Launcher.html +0 -237
- data/docs/Puppeteer/Launcher/Base.html +0 -385
- data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +0 -124
- data/docs/Puppeteer/Launcher/BrowserOptions.html +0 -441
- data/docs/Puppeteer/Launcher/Chrome.html +0 -674
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +0 -382
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +0 -531
- data/docs/Puppeteer/Launcher/LaunchOptions.html +0 -893
- data/docs/Puppeteer/LifecycleWatcher.html +0 -834
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +0 -363
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +0 -206
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +0 -124
- data/docs/Puppeteer/Mouse.html +0 -1095
- data/docs/Puppeteer/Mouse/Button.html +0 -136
- data/docs/Puppeteer/NetworkManager.html +0 -901
- data/docs/Puppeteer/NetworkManager/Credentials.html +0 -385
- data/docs/Puppeteer/Page.html +0 -6173
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +0 -206
- data/docs/Puppeteer/Page/ScreenshotOptions.html +0 -845
- data/docs/Puppeteer/Page/ScriptTag.html +0 -555
- data/docs/Puppeteer/Page/StyleTag.html +0 -448
- data/docs/Puppeteer/Page/TargetCrashedError.html +0 -124
- data/docs/Puppeteer/RemoteObject.html +0 -1087
- data/docs/Puppeteer/Target.html +0 -1336
- data/docs/Puppeteer/Target/InitializeFailure.html +0 -124
- data/docs/Puppeteer/Target/TargetInfo.html +0 -729
- data/docs/Puppeteer/TimeoutError.html +0 -135
- data/docs/Puppeteer/TimeoutSettings.html +0 -496
- data/docs/Puppeteer/TouchScreen.html +0 -464
- data/docs/Puppeteer/Viewport.html +0 -837
- data/docs/Puppeteer/WaitTask.html +0 -637
- data/docs/Puppeteer/WaitTask/TerminatedError.html +0 -124
- data/docs/Puppeteer/WaitTask/TimeoutError.html +0 -206
- data/docs/Puppeteer/WebSocket.html +0 -673
- data/docs/Puppeteer/WebSocket/DriverImpl.html +0 -412
- data/docs/Puppeteer/WebSocket/TransportError.html +0 -124
- data/docs/Puppeteer/WebSocketTransport.html +0 -600
- data/docs/Puppeteer/WebSocktTransportError.html +0 -124
- data/docs/_index.html +0 -816
- data/docs/class_list.html +0 -51
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -496
- data/docs/file.README.html +0 -125
- data/docs/file_list.html +0 -56
- data/docs/frames.html +0 -17
- data/docs/index.html +0 -125
- data/docs/js/app.js +0 -314
- data/docs/js/full_list.js +0 -216
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -4123
- data/docs/top-level-namespace.html +0 -126
- data/lib/puppeteer/async_await_behavior.rb +0 -38
@@ -1,124 +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::Target::InitializeFailure
|
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::Target::InitializeFailure";
|
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 (I)</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="../Target.html" title="Puppeteer::Target (class)">Target</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">InitializeFailure</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::Target::InitializeFailure
|
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::Target::InitializeFailure</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/target.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
</div>
|
115
|
-
|
116
|
-
<div id="footer">
|
117
|
-
Generated on Wed Jun 24 03:07:59 2020 by
|
118
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.9.24 (ruby-2.6.3).
|
120
|
-
</div>
|
121
|
-
|
122
|
-
</div>
|
123
|
-
</body>
|
124
|
-
</html>
|
@@ -1,729 +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::Target::TargetInfo
|
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::Target::TargetInfo";
|
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> »
|
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="../Target.html" title="Puppeteer::Target (class)">Target</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">TargetInfo</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::Target::TargetInfo
|
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::Target::TargetInfo</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/target.rb</dd>
|
98
|
-
</dl>
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
107
|
-
<ul class="summary">
|
108
|
-
|
109
|
-
<li class="public ">
|
110
|
-
<span class="summary_signature">
|
111
|
-
|
112
|
-
<a href="#attached-instance_method" title="#attached (instance method)">#<strong>attached</strong> ⇒ Object </a>
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
</span>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<span class="note title readonly">readonly</span>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
<span class="summary_desc"><div class='inline'>
|
132
|
-
<p>Returns the value of attribute attached.</p>
|
133
|
-
</div></span>
|
134
|
-
|
135
|
-
</li>
|
136
|
-
|
137
|
-
|
138
|
-
<li class="public ">
|
139
|
-
<span class="summary_signature">
|
140
|
-
|
141
|
-
<a href="#browser_context_id-instance_method" title="#browser_context_id (instance method)">#<strong>browser_context_id</strong> ⇒ Object </a>
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
</span>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<span class="note title readonly">readonly</span>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
<span class="summary_desc"><div class='inline'>
|
161
|
-
<p>Returns the value of attribute browser_context_id.</p>
|
162
|
-
</div></span>
|
163
|
-
|
164
|
-
</li>
|
165
|
-
|
166
|
-
|
167
|
-
<li class="public ">
|
168
|
-
<span class="summary_signature">
|
169
|
-
|
170
|
-
<a href="#opener_id-instance_method" title="#opener_id (instance method)">#<strong>opener_id</strong> ⇒ Object </a>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
</span>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<span class="note title readonly">readonly</span>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<span class="summary_desc"><div class='inline'>
|
190
|
-
<p>Returns the value of attribute opener_id.</p>
|
191
|
-
</div></span>
|
192
|
-
|
193
|
-
</li>
|
194
|
-
|
195
|
-
|
196
|
-
<li class="public ">
|
197
|
-
<span class="summary_signature">
|
198
|
-
|
199
|
-
<a href="#target_id-instance_method" title="#target_id (instance method)">#<strong>target_id</strong> ⇒ Object </a>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
</span>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<span class="note title readonly">readonly</span>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
<span class="summary_desc"><div class='inline'>
|
219
|
-
<p>Returns the value of attribute target_id.</p>
|
220
|
-
</div></span>
|
221
|
-
|
222
|
-
</li>
|
223
|
-
|
224
|
-
|
225
|
-
<li class="public ">
|
226
|
-
<span class="summary_signature">
|
227
|
-
|
228
|
-
<a href="#title-instance_method" title="#title (instance method)">#<strong>title</strong> ⇒ Object </a>
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
</span>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
<span class="note title readonly">readonly</span>
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
<span class="summary_desc"><div class='inline'>
|
248
|
-
<p>Returns the value of attribute title.</p>
|
249
|
-
</div></span>
|
250
|
-
|
251
|
-
</li>
|
252
|
-
|
253
|
-
|
254
|
-
<li class="public ">
|
255
|
-
<span class="summary_signature">
|
256
|
-
|
257
|
-
<a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> ⇒ Object </a>
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
</span>
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
<span class="note title readonly">readonly</span>
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
<span class="summary_desc"><div class='inline'>
|
277
|
-
<p>Returns the value of attribute type.</p>
|
278
|
-
</div></span>
|
279
|
-
|
280
|
-
</li>
|
281
|
-
|
282
|
-
|
283
|
-
<li class="public ">
|
284
|
-
<span class="summary_signature">
|
285
|
-
|
286
|
-
<a href="#url-instance_method" title="#url (instance method)">#<strong>url</strong> ⇒ Object </a>
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
</span>
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
<span class="note title readonly">readonly</span>
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
<span class="summary_desc"><div class='inline'>
|
306
|
-
<p>Returns the value of attribute url.</p>
|
307
|
-
</div></span>
|
308
|
-
|
309
|
-
</li>
|
310
|
-
|
311
|
-
|
312
|
-
</ul>
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
<h2>
|
319
|
-
Instance Method Summary
|
320
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
321
|
-
</h2>
|
322
|
-
|
323
|
-
<ul class="summary">
|
324
|
-
|
325
|
-
<li class="public ">
|
326
|
-
<span class="summary_signature">
|
327
|
-
|
328
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(options) ⇒ TargetInfo </a>
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
</span>
|
333
|
-
|
334
|
-
|
335
|
-
<span class="note title constructor">constructor</span>
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
<span class="summary_desc"><div class='inline'>
|
345
|
-
<p>A new instance of TargetInfo.</p>
|
346
|
-
</div></span>
|
347
|
-
|
348
|
-
</li>
|
349
|
-
|
350
|
-
|
351
|
-
</ul>
|
352
|
-
|
353
|
-
|
354
|
-
<div id="constructor_details" class="method_details_list">
|
355
|
-
<h2>Constructor Details</h2>
|
356
|
-
|
357
|
-
<div class="method_details first">
|
358
|
-
<h3 class="signature first" id="initialize-instance_method">
|
359
|
-
|
360
|
-
#<strong>initialize</strong>(options) ⇒ <tt><span class='object_link'><a href="" title="Puppeteer::Target::TargetInfo (class)">TargetInfo</a></span></tt>
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
</h3><div class="docstring">
|
367
|
-
<div class="discussion">
|
368
|
-
|
369
|
-
<p>Returns a new instance of TargetInfo.</p>
|
370
|
-
|
371
|
-
|
372
|
-
</div>
|
373
|
-
</div>
|
374
|
-
<div class="tags">
|
375
|
-
|
376
|
-
|
377
|
-
</div><table class="source_code">
|
378
|
-
<tr>
|
379
|
-
<td>
|
380
|
-
<pre class="lines">
|
381
|
-
|
382
|
-
|
383
|
-
4
|
384
|
-
5
|
385
|
-
6
|
386
|
-
7
|
387
|
-
8
|
388
|
-
9
|
389
|
-
10
|
390
|
-
11
|
391
|
-
12</pre>
|
392
|
-
</td>
|
393
|
-
<td>
|
394
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 4</span>
|
395
|
-
|
396
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
397
|
-
<span class='ivar'>@target_id</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>targetId</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
398
|
-
<span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
399
|
-
<span class='ivar'>@title</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>title</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
400
|
-
<span class='ivar'>@url</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>url</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
401
|
-
<span class='ivar'>@attached</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attached</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
402
|
-
<span class='ivar'>@browser_context_id</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>browserContextId</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
403
|
-
<span class='ivar'>@opener_id</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>openerId</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
404
|
-
<span class='kw'>end</span></pre>
|
405
|
-
</td>
|
406
|
-
</tr>
|
407
|
-
</table>
|
408
|
-
</div>
|
409
|
-
|
410
|
-
</div>
|
411
|
-
|
412
|
-
<div id="instance_attr_details" class="attr_details">
|
413
|
-
<h2>Instance Attribute Details</h2>
|
414
|
-
|
415
|
-
|
416
|
-
<span id=""></span>
|
417
|
-
<div class="method_details first">
|
418
|
-
<h3 class="signature first" id="attached-instance_method">
|
419
|
-
|
420
|
-
#<strong>attached</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
</h3><div class="docstring">
|
427
|
-
<div class="discussion">
|
428
|
-
|
429
|
-
<p>Returns the value of attribute attached.</p>
|
430
|
-
|
431
|
-
|
432
|
-
</div>
|
433
|
-
</div>
|
434
|
-
<div class="tags">
|
435
|
-
|
436
|
-
|
437
|
-
</div><table class="source_code">
|
438
|
-
<tr>
|
439
|
-
<td>
|
440
|
-
<pre class="lines">
|
441
|
-
|
442
|
-
|
443
|
-
13
|
444
|
-
14
|
445
|
-
15</pre>
|
446
|
-
</td>
|
447
|
-
<td>
|
448
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
449
|
-
|
450
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_attached'>attached</span>
|
451
|
-
<span class='ivar'>@attached</span>
|
452
|
-
<span class='kw'>end</span></pre>
|
453
|
-
</td>
|
454
|
-
</tr>
|
455
|
-
</table>
|
456
|
-
</div>
|
457
|
-
|
458
|
-
|
459
|
-
<span id=""></span>
|
460
|
-
<div class="method_details ">
|
461
|
-
<h3 class="signature " id="browser_context_id-instance_method">
|
462
|
-
|
463
|
-
#<strong>browser_context_id</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
</h3><div class="docstring">
|
470
|
-
<div class="discussion">
|
471
|
-
|
472
|
-
<p>Returns the value of attribute browser_context_id.</p>
|
473
|
-
|
474
|
-
|
475
|
-
</div>
|
476
|
-
</div>
|
477
|
-
<div class="tags">
|
478
|
-
|
479
|
-
|
480
|
-
</div><table class="source_code">
|
481
|
-
<tr>
|
482
|
-
<td>
|
483
|
-
<pre class="lines">
|
484
|
-
|
485
|
-
|
486
|
-
13
|
487
|
-
14
|
488
|
-
15</pre>
|
489
|
-
</td>
|
490
|
-
<td>
|
491
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
492
|
-
|
493
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_browser_context_id'>browser_context_id</span>
|
494
|
-
<span class='ivar'>@browser_context_id</span>
|
495
|
-
<span class='kw'>end</span></pre>
|
496
|
-
</td>
|
497
|
-
</tr>
|
498
|
-
</table>
|
499
|
-
</div>
|
500
|
-
|
501
|
-
|
502
|
-
<span id=""></span>
|
503
|
-
<div class="method_details ">
|
504
|
-
<h3 class="signature " id="opener_id-instance_method">
|
505
|
-
|
506
|
-
#<strong>opener_id</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
</h3><div class="docstring">
|
513
|
-
<div class="discussion">
|
514
|
-
|
515
|
-
<p>Returns the value of attribute opener_id.</p>
|
516
|
-
|
517
|
-
|
518
|
-
</div>
|
519
|
-
</div>
|
520
|
-
<div class="tags">
|
521
|
-
|
522
|
-
|
523
|
-
</div><table class="source_code">
|
524
|
-
<tr>
|
525
|
-
<td>
|
526
|
-
<pre class="lines">
|
527
|
-
|
528
|
-
|
529
|
-
13
|
530
|
-
14
|
531
|
-
15</pre>
|
532
|
-
</td>
|
533
|
-
<td>
|
534
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
535
|
-
|
536
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_opener_id'>opener_id</span>
|
537
|
-
<span class='ivar'>@opener_id</span>
|
538
|
-
<span class='kw'>end</span></pre>
|
539
|
-
</td>
|
540
|
-
</tr>
|
541
|
-
</table>
|
542
|
-
</div>
|
543
|
-
|
544
|
-
|
545
|
-
<span id=""></span>
|
546
|
-
<div class="method_details ">
|
547
|
-
<h3 class="signature " id="target_id-instance_method">
|
548
|
-
|
549
|
-
#<strong>target_id</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
</h3><div class="docstring">
|
556
|
-
<div class="discussion">
|
557
|
-
|
558
|
-
<p>Returns the value of attribute target_id.</p>
|
559
|
-
|
560
|
-
|
561
|
-
</div>
|
562
|
-
</div>
|
563
|
-
<div class="tags">
|
564
|
-
|
565
|
-
|
566
|
-
</div><table class="source_code">
|
567
|
-
<tr>
|
568
|
-
<td>
|
569
|
-
<pre class="lines">
|
570
|
-
|
571
|
-
|
572
|
-
13
|
573
|
-
14
|
574
|
-
15</pre>
|
575
|
-
</td>
|
576
|
-
<td>
|
577
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
578
|
-
|
579
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_target_id'>target_id</span>
|
580
|
-
<span class='ivar'>@target_id</span>
|
581
|
-
<span class='kw'>end</span></pre>
|
582
|
-
</td>
|
583
|
-
</tr>
|
584
|
-
</table>
|
585
|
-
</div>
|
586
|
-
|
587
|
-
|
588
|
-
<span id=""></span>
|
589
|
-
<div class="method_details ">
|
590
|
-
<h3 class="signature " id="title-instance_method">
|
591
|
-
|
592
|
-
#<strong>title</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
</h3><div class="docstring">
|
599
|
-
<div class="discussion">
|
600
|
-
|
601
|
-
<p>Returns the value of attribute title.</p>
|
602
|
-
|
603
|
-
|
604
|
-
</div>
|
605
|
-
</div>
|
606
|
-
<div class="tags">
|
607
|
-
|
608
|
-
|
609
|
-
</div><table class="source_code">
|
610
|
-
<tr>
|
611
|
-
<td>
|
612
|
-
<pre class="lines">
|
613
|
-
|
614
|
-
|
615
|
-
13
|
616
|
-
14
|
617
|
-
15</pre>
|
618
|
-
</td>
|
619
|
-
<td>
|
620
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
621
|
-
|
622
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_title'>title</span>
|
623
|
-
<span class='ivar'>@title</span>
|
624
|
-
<span class='kw'>end</span></pre>
|
625
|
-
</td>
|
626
|
-
</tr>
|
627
|
-
</table>
|
628
|
-
</div>
|
629
|
-
|
630
|
-
|
631
|
-
<span id=""></span>
|
632
|
-
<div class="method_details ">
|
633
|
-
<h3 class="signature " id="type-instance_method">
|
634
|
-
|
635
|
-
#<strong>type</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
</h3><div class="docstring">
|
642
|
-
<div class="discussion">
|
643
|
-
|
644
|
-
<p>Returns the value of attribute type.</p>
|
645
|
-
|
646
|
-
|
647
|
-
</div>
|
648
|
-
</div>
|
649
|
-
<div class="tags">
|
650
|
-
|
651
|
-
|
652
|
-
</div><table class="source_code">
|
653
|
-
<tr>
|
654
|
-
<td>
|
655
|
-
<pre class="lines">
|
656
|
-
|
657
|
-
|
658
|
-
13
|
659
|
-
14
|
660
|
-
15</pre>
|
661
|
-
</td>
|
662
|
-
<td>
|
663
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
664
|
-
|
665
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
666
|
-
<span class='ivar'>@type</span>
|
667
|
-
<span class='kw'>end</span></pre>
|
668
|
-
</td>
|
669
|
-
</tr>
|
670
|
-
</table>
|
671
|
-
</div>
|
672
|
-
|
673
|
-
|
674
|
-
<span id=""></span>
|
675
|
-
<div class="method_details ">
|
676
|
-
<h3 class="signature " id="url-instance_method">
|
677
|
-
|
678
|
-
#<strong>url</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
</h3><div class="docstring">
|
685
|
-
<div class="discussion">
|
686
|
-
|
687
|
-
<p>Returns the value of attribute url.</p>
|
688
|
-
|
689
|
-
|
690
|
-
</div>
|
691
|
-
</div>
|
692
|
-
<div class="tags">
|
693
|
-
|
694
|
-
|
695
|
-
</div><table class="source_code">
|
696
|
-
<tr>
|
697
|
-
<td>
|
698
|
-
<pre class="lines">
|
699
|
-
|
700
|
-
|
701
|
-
13
|
702
|
-
14
|
703
|
-
15</pre>
|
704
|
-
</td>
|
705
|
-
<td>
|
706
|
-
<pre class="code"><span class="info file"># File 'lib/puppeteer/target.rb', line 13</span>
|
707
|
-
|
708
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
709
|
-
<span class='ivar'>@url</span>
|
710
|
-
<span class='kw'>end</span></pre>
|
711
|
-
</td>
|
712
|
-
</tr>
|
713
|
-
</table>
|
714
|
-
</div>
|
715
|
-
|
716
|
-
</div>
|
717
|
-
|
718
|
-
|
719
|
-
</div>
|
720
|
-
|
721
|
-
<div id="footer">
|
722
|
-
Generated on Wed Jun 24 03:07:59 2020 by
|
723
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
724
|
-
0.9.24 (ruby-2.6.3).
|
725
|
-
</div>
|
726
|
-
|
727
|
-
</div>
|
728
|
-
</body>
|
729
|
-
</html>
|