puppeteer-ruby 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.circleci/config.yml +71 -0
- data/.github/stale.yml +16 -0
- data/.gitignore +19 -0
- data/.rspec +3 -0
- data/.rubocop.yml +302 -0
- data/.travis.yml +7 -0
- data/Dockerfile +6 -0
- data/Gemfile +6 -0
- data/README.md +54 -0
- data/Rakefile +1 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +15 -0
- data/docs/Puppeteer.html +2020 -0
- data/docs/Puppeteer/AsyncAwaitBehavior.html +105 -0
- data/docs/Puppeteer/Browser.html +2148 -0
- data/docs/Puppeteer/BrowserContext.html +809 -0
- data/docs/Puppeteer/BrowserFetcher.html +214 -0
- data/docs/Puppeteer/BrowserRunner.html +914 -0
- data/docs/Puppeteer/BrowserRunner/BrowserProcess.html +477 -0
- data/docs/Puppeteer/CDPSession.html +813 -0
- data/docs/Puppeteer/CDPSession/Error.html +124 -0
- data/docs/Puppeteer/ConcurrentRubyUtils.html +430 -0
- data/docs/Puppeteer/Connection.html +960 -0
- data/docs/Puppeteer/Connection/MessageCallback.html +434 -0
- data/docs/Puppeteer/Connection/ProtocolError.html +216 -0
- data/docs/Puppeteer/Connection/RequestDebugPrinter.html +217 -0
- data/docs/Puppeteer/Connection/ResponseDebugPrinter.html +244 -0
- data/docs/Puppeteer/ConsoleMessage.html +565 -0
- data/docs/Puppeteer/ConsoleMessage/Location.html +433 -0
- data/docs/Puppeteer/DOMWorld.html +2219 -0
- data/docs/Puppeteer/DOMWorld/DetachedError.html +124 -0
- data/docs/Puppeteer/DOMWorld/DocumentEvaluationError.html +124 -0
- data/docs/Puppeteer/DebugPrint.html +233 -0
- data/docs/Puppeteer/Device.html +470 -0
- data/docs/Puppeteer/Devices.html +139 -0
- data/docs/Puppeteer/ElementHandle.html +2542 -0
- data/docs/Puppeteer/ElementHandle/ElementNotFoundError.html +206 -0
- data/docs/Puppeteer/ElementHandle/ElementNotVisibleError.html +206 -0
- data/docs/Puppeteer/ElementHandle/Point.html +492 -0
- data/docs/Puppeteer/ElementHandle/ScrollIntoViewError.html +124 -0
- data/docs/Puppeteer/EmulationManager.html +454 -0
- data/docs/Puppeteer/EventCallbackable.html +433 -0
- data/docs/Puppeteer/EventCallbackable/EventListeners.html +435 -0
- data/docs/Puppeteer/ExecutionContext.html +998 -0
- data/docs/Puppeteer/ExecutionContext/EvaluationError.html +124 -0
- data/docs/Puppeteer/ExecutionContext/JavaScriptExpression.html +357 -0
- data/docs/Puppeteer/ExecutionContext/JavaScriptFunction.html +389 -0
- data/docs/Puppeteer/FileChooser.html +455 -0
- data/docs/Puppeteer/Frame.html +3677 -0
- data/docs/Puppeteer/FrameManager.html +2410 -0
- data/docs/Puppeteer/FrameManager/NavigationError.html +124 -0
- data/docs/Puppeteer/IfPresent.html +222 -0
- data/docs/Puppeteer/JSHandle.html +1352 -0
- data/docs/Puppeteer/Keyboard.html +1557 -0
- data/docs/Puppeteer/Keyboard/KeyDefinition.html +831 -0
- data/docs/Puppeteer/Keyboard/KeyDescription.html +603 -0
- data/docs/Puppeteer/Launcher.html +237 -0
- data/docs/Puppeteer/Launcher/Base.html +385 -0
- data/docs/Puppeteer/Launcher/Base/ExecutablePathNotFound.html +124 -0
- data/docs/Puppeteer/Launcher/BrowserOptions.html +441 -0
- data/docs/Puppeteer/Launcher/Chrome.html +669 -0
- data/docs/Puppeteer/Launcher/Chrome/DefaultArgs.html +382 -0
- data/docs/Puppeteer/Launcher/ChromeArgOptions.html +531 -0
- data/docs/Puppeteer/Launcher/LaunchOptions.html +893 -0
- data/docs/Puppeteer/LifecycleWatcher.html +834 -0
- data/docs/Puppeteer/LifecycleWatcher/ExpectedLifecycle.html +363 -0
- data/docs/Puppeteer/LifecycleWatcher/FrameDetachedError.html +206 -0
- data/docs/Puppeteer/LifecycleWatcher/TerminatedError.html +124 -0
- data/docs/Puppeteer/Mouse.html +1105 -0
- data/docs/Puppeteer/Mouse/Button.html +136 -0
- data/docs/Puppeteer/NetworkManager.html +901 -0
- data/docs/Puppeteer/NetworkManager/Credentials.html +385 -0
- data/docs/Puppeteer/Page.html +5970 -0
- data/docs/Puppeteer/Page/FileChooserTimeoutError.html +206 -0
- data/docs/Puppeteer/Page/ScreenshotOptions.html +845 -0
- data/docs/Puppeteer/Page/ScriptTag.html +555 -0
- data/docs/Puppeteer/Page/StyleTag.html +448 -0
- data/docs/Puppeteer/Page/TargetCrashedError.html +124 -0
- data/docs/Puppeteer/RemoteObject.html +1087 -0
- data/docs/Puppeteer/Target.html +1336 -0
- data/docs/Puppeteer/Target/InitializeFailure.html +124 -0
- data/docs/Puppeteer/Target/TargetInfo.html +729 -0
- data/docs/Puppeteer/TimeoutError.html +135 -0
- data/docs/Puppeteer/TimeoutSettings.html +496 -0
- data/docs/Puppeteer/TouchScreen.html +464 -0
- data/docs/Puppeteer/Viewport.html +837 -0
- data/docs/Puppeteer/WaitTask.html +637 -0
- data/docs/Puppeteer/WaitTask/TerminatedError.html +124 -0
- data/docs/Puppeteer/WaitTask/TimeoutError.html +206 -0
- data/docs/Puppeteer/WebSocket.html +673 -0
- data/docs/Puppeteer/WebSocket/DriverImpl.html +412 -0
- data/docs/Puppeteer/WebSocketTransport.html +600 -0
- data/docs/Puppeteer/WebSocktTransportError.html +124 -0
- data/docs/_index.html +823 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.README.html +123 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +123 -0
- data/docs/js/app.js +314 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +4075 -0
- data/docs/top-level-namespace.html +126 -0
- data/lib/puppeteer.rb +200 -0
- data/lib/puppeteer/async_await_behavior.rb +38 -0
- data/lib/puppeteer/browser.rb +259 -0
- data/lib/puppeteer/browser_context.rb +90 -0
- data/lib/puppeteer/browser_fetcher.rb +6 -0
- data/lib/puppeteer/browser_runner.rb +161 -0
- data/lib/puppeteer/cdp_session.rb +100 -0
- data/lib/puppeteer/concurrent_ruby_utils.rb +37 -0
- data/lib/puppeteer/connection.rb +254 -0
- data/lib/puppeteer/console_message.rb +24 -0
- data/lib/puppeteer/debug_print.rb +20 -0
- data/lib/puppeteer/device.rb +12 -0
- data/lib/puppeteer/devices.rb +885 -0
- data/lib/puppeteer/dom_world.rb +484 -0
- data/lib/puppeteer/element_handle.rb +433 -0
- data/lib/puppeteer/element_handle/bounding_box.rb +12 -0
- data/lib/puppeteer/element_handle/box_model.rb +19 -0
- data/lib/puppeteer/element_handle/point.rb +26 -0
- data/lib/puppeteer/emulation_manager.rb +46 -0
- data/lib/puppeteer/errors.rb +2 -0
- data/lib/puppeteer/event_callbackable.rb +88 -0
- data/lib/puppeteer/execution_context.rb +254 -0
- data/lib/puppeteer/file_chooser.rb +29 -0
- data/lib/puppeteer/frame.rb +286 -0
- data/lib/puppeteer/frame_manager.rb +378 -0
- data/lib/puppeteer/if_present.rb +18 -0
- data/lib/puppeteer/js_handle.rb +142 -0
- data/lib/puppeteer/keyboard.rb +183 -0
- data/lib/puppeteer/keyboard/key_description.rb +19 -0
- data/lib/puppeteer/keyboard/us_keyboard_layout.rb +283 -0
- data/lib/puppeteer/launcher.rb +25 -0
- data/lib/puppeteer/launcher/base.rb +48 -0
- data/lib/puppeteer/launcher/browser_options.rb +41 -0
- data/lib/puppeteer/launcher/chrome.rb +211 -0
- data/lib/puppeteer/launcher/chrome_arg_options.rb +49 -0
- data/lib/puppeteer/launcher/launch_options.rb +68 -0
- data/lib/puppeteer/lifecycle_watcher.rb +171 -0
- data/lib/puppeteer/mouse.rb +123 -0
- data/lib/puppeteer/network_manager.rb +122 -0
- data/lib/puppeteer/page.rb +1065 -0
- data/lib/puppeteer/page/screenshot_options.rb +78 -0
- data/lib/puppeteer/remote_object.rb +143 -0
- data/lib/puppeteer/target.rb +150 -0
- data/lib/puppeteer/timeout_settings.rb +15 -0
- data/lib/puppeteer/touch_screen.rb +43 -0
- data/lib/puppeteer/version.rb +3 -0
- data/lib/puppeteer/viewport.rb +54 -0
- data/lib/puppeteer/wait_task.rb +188 -0
- data/lib/puppeteer/web_socket.rb +122 -0
- data/lib/puppeteer/web_socket_transport.rb +49 -0
- data/puppeteer-ruby.gemspec +32 -0
- metadata +355 -0
|
@@ -0,0 +1,124 @@
|
|
|
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::LifecycleWatcher::TerminatedError
|
|
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::LifecycleWatcher::TerminatedError";
|
|
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="../LifecycleWatcher.html" title="Puppeteer::LifecycleWatcher (class)">LifecycleWatcher</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">TerminatedError</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::LifecycleWatcher::TerminatedError
|
|
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::LifecycleWatcher::TerminatedError</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/lifecycle_watcher.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 Fri Jun 12 12:38:35 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>
|
|
@@ -0,0 +1,1105 @@
|
|
|
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::Mouse
|
|
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::Mouse";
|
|
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 (M)</a> »
|
|
40
|
+
<span class='title'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">Mouse</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::Mouse
|
|
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::Mouse</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/mouse.rb</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<h2>Defined Under Namespace</h2>
|
|
103
|
+
<p class="children">
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Mouse/Button.html" title="Puppeteer::Mouse::Button (module)">Button</a></span>
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
</p>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
<h2>
|
|
121
|
+
Instance Method Summary
|
|
122
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
123
|
+
</h2>
|
|
124
|
+
|
|
125
|
+
<ul class="summary">
|
|
126
|
+
|
|
127
|
+
<li class="public ">
|
|
128
|
+
<span class="summary_signature">
|
|
129
|
+
|
|
130
|
+
<a href="#async_click-instance_method" title="#async_click (instance method)">#<strong>async_click</strong> ⇒ Future </a>
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
</span>
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
145
|
+
|
|
146
|
+
</li>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<li class="public ">
|
|
150
|
+
<span class="summary_signature">
|
|
151
|
+
|
|
152
|
+
<a href="#async_down-instance_method" title="#async_down (instance method)">#<strong>async_down</strong> ⇒ Future </a>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</span>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
167
|
+
|
|
168
|
+
</li>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<li class="public ">
|
|
172
|
+
<span class="summary_signature">
|
|
173
|
+
|
|
174
|
+
<a href="#async_move-instance_method" title="#async_move (instance method)">#<strong>async_move</strong> ⇒ Future </a>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
</span>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
189
|
+
|
|
190
|
+
</li>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<li class="public ">
|
|
194
|
+
<span class="summary_signature">
|
|
195
|
+
|
|
196
|
+
<a href="#async_up-instance_method" title="#async_up (instance method)">#<strong>async_up</strong> ⇒ Future </a>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</span>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
211
|
+
|
|
212
|
+
</li>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<li class="public ">
|
|
216
|
+
<span class="summary_signature">
|
|
217
|
+
|
|
218
|
+
<a href="#click-instance_method" title="#click (instance method)">#<strong>click</strong>(x, y, delay: nil, button: nil, click_count: nil) ⇒ Object </a>
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
</span>
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
233
|
+
|
|
234
|
+
</li>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<li class="public ">
|
|
238
|
+
<span class="summary_signature">
|
|
239
|
+
|
|
240
|
+
<a href="#down-instance_method" title="#down (instance method)">#<strong>down</strong>(button: nil, click_count: nil) ⇒ Object </a>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
</span>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
255
|
+
|
|
256
|
+
</li>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
<li class="public ">
|
|
260
|
+
<span class="summary_signature">
|
|
261
|
+
|
|
262
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client, keyboard) ⇒ Mouse </a>
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
</span>
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
<span class="note title constructor">constructor</span>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
<span class="summary_desc"><div class='inline'>
|
|
279
|
+
<p>A new instance of Mouse.</p>
|
|
280
|
+
</div></span>
|
|
281
|
+
|
|
282
|
+
</li>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<li class="public ">
|
|
286
|
+
<span class="summary_signature">
|
|
287
|
+
|
|
288
|
+
<a href="#move-instance_method" title="#move (instance method)">#<strong>move</strong>(x, y, steps: nil) ⇒ Object </a>
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
</span>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
303
|
+
|
|
304
|
+
</li>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
<li class="public ">
|
|
308
|
+
<span class="summary_signature">
|
|
309
|
+
|
|
310
|
+
<a href="#up-instance_method" title="#up (instance method)">#<strong>up</strong>(button: nil, click_count: nil) ⇒ Object </a>
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
</span>
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
325
|
+
|
|
326
|
+
</li>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
</ul>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
<div id="constructor_details" class="method_details_list">
|
|
333
|
+
<h2>Constructor Details</h2>
|
|
334
|
+
|
|
335
|
+
<div class="method_details first">
|
|
336
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
337
|
+
|
|
338
|
+
#<strong>initialize</strong>(client, keyboard) ⇒ <tt><span class='object_link'><a href="" title="Puppeteer::Mouse (class)">Mouse</a></span></tt>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
</h3><div class="docstring">
|
|
345
|
+
<div class="discussion">
|
|
346
|
+
|
|
347
|
+
<p>Returns a new instance of Mouse.</p>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
<div class="tags">
|
|
353
|
+
<p class="tag_title">Parameters:</p>
|
|
354
|
+
<ul class="param">
|
|
355
|
+
|
|
356
|
+
<li>
|
|
357
|
+
|
|
358
|
+
<span class='name'>client</span>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span>.<span class='object_link'><a href="CDPSession.html" title="Puppeteer::CDPSession (class)">CDPSession</a></span></tt>)</span>
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
</li>
|
|
366
|
+
|
|
367
|
+
<li>
|
|
368
|
+
|
|
369
|
+
<span class='name'>keyboard</span>
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
<span class='type'>(<tt><span class='object_link'><a href="Keyboard.html" title="Puppeteer::Keyboard (class)">Puppeteer::Keyboard</a></span></tt>)</span>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
</li>
|
|
377
|
+
|
|
378
|
+
</ul>
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
</div><table class="source_code">
|
|
382
|
+
<tr>
|
|
383
|
+
<td>
|
|
384
|
+
<pre class="lines">
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
13
|
|
388
|
+
14
|
|
389
|
+
15
|
|
390
|
+
16
|
|
391
|
+
17
|
|
392
|
+
18
|
|
393
|
+
19
|
|
394
|
+
20</pre>
|
|
395
|
+
</td>
|
|
396
|
+
<td>
|
|
397
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 13</span>
|
|
398
|
+
|
|
399
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_keyboard'>keyboard</span><span class='rparen'>)</span>
|
|
400
|
+
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
|
401
|
+
<span class='ivar'>@keyboard</span> <span class='op'>=</span> <span class='id identifier rubyid_keyboard'>keyboard</span>
|
|
402
|
+
|
|
403
|
+
<span class='ivar'>@x</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
404
|
+
<span class='ivar'>@y</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
405
|
+
<span class='ivar'>@button</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Mouse/Button.html" title="Puppeteer::Mouse::Button (module)">Button</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Mouse/Button.html#NONE-constant" title="Puppeteer::Mouse::Button::NONE (constant)">NONE</a></span></span>
|
|
406
|
+
<span class='kw'>end</span></pre>
|
|
407
|
+
</td>
|
|
408
|
+
</tr>
|
|
409
|
+
</table>
|
|
410
|
+
</div>
|
|
411
|
+
|
|
412
|
+
</div>
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
<div id="instance_method_details" class="method_details_list">
|
|
416
|
+
<h2>Instance Method Details</h2>
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
<div class="method_details first">
|
|
420
|
+
<h3 class="signature first" id="async_click-instance_method">
|
|
421
|
+
|
|
422
|
+
#<strong>async_click</strong> ⇒ <tt>Future</tt>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
</h3><div class="docstring">
|
|
429
|
+
<div class="discussion">
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
</div>
|
|
433
|
+
</div>
|
|
434
|
+
<div class="tags">
|
|
435
|
+
<p class="tag_title">Parameters:</p>
|
|
436
|
+
<ul class="param">
|
|
437
|
+
|
|
438
|
+
<li>
|
|
439
|
+
|
|
440
|
+
<span class='name'>x</span>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
</li>
|
|
448
|
+
|
|
449
|
+
<li>
|
|
450
|
+
|
|
451
|
+
<span class='name'>y</span>
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
</li>
|
|
459
|
+
|
|
460
|
+
<li>
|
|
461
|
+
|
|
462
|
+
<span class='name'>options</span>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<span class='type'>(<tt>!{delay?: number, button?: "left"|"right"|"middle", clickCount?: number}=</tt>)</span>
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
</li>
|
|
470
|
+
|
|
471
|
+
</ul>
|
|
472
|
+
|
|
473
|
+
<p class="tag_title">Returns:</p>
|
|
474
|
+
<ul class="return">
|
|
475
|
+
|
|
476
|
+
<li>
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
<span class='type'>(<tt>Future</tt>)</span>
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
</li>
|
|
484
|
+
|
|
485
|
+
</ul>
|
|
486
|
+
|
|
487
|
+
</div><table class="source_code">
|
|
488
|
+
<tr>
|
|
489
|
+
<td>
|
|
490
|
+
<pre class="lines">
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
82
|
|
494
|
+
83
|
|
495
|
+
84</pre>
|
|
496
|
+
</td>
|
|
497
|
+
<td>
|
|
498
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 82</span>
|
|
499
|
+
|
|
500
|
+
<span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_click'>async_click</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
501
|
+
<span class='id identifier rubyid_click'>click</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='id identifier rubyid_delay'>delay</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
|
|
502
|
+
<span class='kw'>end</span></pre>
|
|
503
|
+
</td>
|
|
504
|
+
</tr>
|
|
505
|
+
</table>
|
|
506
|
+
</div>
|
|
507
|
+
|
|
508
|
+
<div class="method_details ">
|
|
509
|
+
<h3 class="signature " id="async_down-instance_method">
|
|
510
|
+
|
|
511
|
+
#<strong>async_down</strong> ⇒ <tt>Future</tt>
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
</h3><div class="docstring">
|
|
518
|
+
<div class="discussion">
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
</div>
|
|
522
|
+
</div>
|
|
523
|
+
<div class="tags">
|
|
524
|
+
<p class="tag_title">Parameters:</p>
|
|
525
|
+
<ul class="param">
|
|
526
|
+
|
|
527
|
+
<li>
|
|
528
|
+
|
|
529
|
+
<span class='name'>options</span>
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
<span class='type'>(<tt>!{button?: "left"|"right"|"middle", clickCount?: number}=</tt>)</span>
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
</li>
|
|
537
|
+
|
|
538
|
+
</ul>
|
|
539
|
+
|
|
540
|
+
<p class="tag_title">Returns:</p>
|
|
541
|
+
<ul class="return">
|
|
542
|
+
|
|
543
|
+
<li>
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
<span class='type'>(<tt>Future</tt>)</span>
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
</li>
|
|
551
|
+
|
|
552
|
+
</ul>
|
|
553
|
+
|
|
554
|
+
</div><table class="source_code">
|
|
555
|
+
<tr>
|
|
556
|
+
<td>
|
|
557
|
+
<pre class="lines">
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
101
|
|
561
|
+
102
|
|
562
|
+
103</pre>
|
|
563
|
+
</td>
|
|
564
|
+
<td>
|
|
565
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 101</span>
|
|
566
|
+
|
|
567
|
+
<span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_down'>async_down</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
568
|
+
<span class='id identifier rubyid_down'>down</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
|
|
569
|
+
<span class='kw'>end</span></pre>
|
|
570
|
+
</td>
|
|
571
|
+
</tr>
|
|
572
|
+
</table>
|
|
573
|
+
</div>
|
|
574
|
+
|
|
575
|
+
<div class="method_details ">
|
|
576
|
+
<h3 class="signature " id="async_move-instance_method">
|
|
577
|
+
|
|
578
|
+
#<strong>async_move</strong> ⇒ <tt>Future</tt>
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
</h3><div class="docstring">
|
|
585
|
+
<div class="discussion">
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
</div>
|
|
589
|
+
</div>
|
|
590
|
+
<div class="tags">
|
|
591
|
+
<p class="tag_title">Parameters:</p>
|
|
592
|
+
<ul class="param">
|
|
593
|
+
|
|
594
|
+
<li>
|
|
595
|
+
|
|
596
|
+
<span class='name'>x</span>
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</li>
|
|
604
|
+
|
|
605
|
+
<li>
|
|
606
|
+
|
|
607
|
+
<span class='name'>y</span>
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
</li>
|
|
615
|
+
|
|
616
|
+
<li>
|
|
617
|
+
|
|
618
|
+
<span class='name'>steps</span>
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
</li>
|
|
626
|
+
|
|
627
|
+
</ul>
|
|
628
|
+
|
|
629
|
+
<p class="tag_title">Returns:</p>
|
|
630
|
+
<ul class="return">
|
|
631
|
+
|
|
632
|
+
<li>
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
<span class='type'>(<tt>Future</tt>)</span>
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
</li>
|
|
640
|
+
|
|
641
|
+
</ul>
|
|
642
|
+
|
|
643
|
+
</div><table class="source_code">
|
|
644
|
+
<tr>
|
|
645
|
+
<td>
|
|
646
|
+
<pre class="lines">
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
51
|
|
650
|
+
52
|
|
651
|
+
53</pre>
|
|
652
|
+
</td>
|
|
653
|
+
<td>
|
|
654
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 51</span>
|
|
655
|
+
|
|
656
|
+
<span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_move'>async_move</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='label'>steps:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
657
|
+
<span class='id identifier rubyid_move'>move</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='label'>steps:</span> <span class='id identifier rubyid_steps'>steps</span><span class='rparen'>)</span>
|
|
658
|
+
<span class='kw'>end</span></pre>
|
|
659
|
+
</td>
|
|
660
|
+
</tr>
|
|
661
|
+
</table>
|
|
662
|
+
</div>
|
|
663
|
+
|
|
664
|
+
<div class="method_details ">
|
|
665
|
+
<h3 class="signature " id="async_up-instance_method">
|
|
666
|
+
|
|
667
|
+
#<strong>async_up</strong> ⇒ <tt>Future</tt>
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
</h3><div class="docstring">
|
|
674
|
+
<div class="discussion">
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
</div>
|
|
678
|
+
</div>
|
|
679
|
+
<div class="tags">
|
|
680
|
+
<p class="tag_title">Parameters:</p>
|
|
681
|
+
<ul class="param">
|
|
682
|
+
|
|
683
|
+
<li>
|
|
684
|
+
|
|
685
|
+
<span class='name'>options</span>
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
<span class='type'>(<tt>!{button?: "left"|"right"|"middle", clickCount?: number}=</tt>)</span>
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
</li>
|
|
693
|
+
|
|
694
|
+
</ul>
|
|
695
|
+
|
|
696
|
+
<p class="tag_title">Returns:</p>
|
|
697
|
+
<ul class="return">
|
|
698
|
+
|
|
699
|
+
<li>
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
<span class='type'>(<tt>Future</tt>)</span>
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
</li>
|
|
707
|
+
|
|
708
|
+
</ul>
|
|
709
|
+
|
|
710
|
+
</div><table class="source_code">
|
|
711
|
+
<tr>
|
|
712
|
+
<td>
|
|
713
|
+
<pre class="lines">
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
120
|
|
717
|
+
121
|
|
718
|
+
122</pre>
|
|
719
|
+
</td>
|
|
720
|
+
<td>
|
|
721
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 120</span>
|
|
722
|
+
|
|
723
|
+
<span class='id identifier rubyid_async'>async</span> <span class='kw'>def</span> <span class='id identifier rubyid_async_up'>async_up</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
724
|
+
<span class='id identifier rubyid_up'>up</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
|
|
725
|
+
<span class='kw'>end</span></pre>
|
|
726
|
+
</td>
|
|
727
|
+
</tr>
|
|
728
|
+
</table>
|
|
729
|
+
</div>
|
|
730
|
+
|
|
731
|
+
<div class="method_details ">
|
|
732
|
+
<h3 class="signature " id="click-instance_method">
|
|
733
|
+
|
|
734
|
+
#<strong>click</strong>(x, y, delay: nil, button: nil, click_count: nil) ⇒ <tt>Object</tt>
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
</h3><div class="docstring">
|
|
741
|
+
<div class="discussion">
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
</div>
|
|
745
|
+
</div>
|
|
746
|
+
<div class="tags">
|
|
747
|
+
<p class="tag_title">Parameters:</p>
|
|
748
|
+
<ul class="param">
|
|
749
|
+
|
|
750
|
+
<li>
|
|
751
|
+
|
|
752
|
+
<span class='name'>x</span>
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
</li>
|
|
760
|
+
|
|
761
|
+
<li>
|
|
762
|
+
|
|
763
|
+
<span class='name'>y</span>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
</li>
|
|
771
|
+
|
|
772
|
+
<li>
|
|
773
|
+
|
|
774
|
+
<span class='name'>options</span>
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
<span class='type'>(<tt>!{delay?: number, button?: "left"|"right"|"middle", clickCount?: number}=</tt>)</span>
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
</li>
|
|
782
|
+
|
|
783
|
+
</ul>
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
</div><table class="source_code">
|
|
787
|
+
<tr>
|
|
788
|
+
<td>
|
|
789
|
+
<pre class="lines">
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
58
|
|
793
|
+
59
|
|
794
|
+
60
|
|
795
|
+
61
|
|
796
|
+
62
|
|
797
|
+
63
|
|
798
|
+
64
|
|
799
|
+
65
|
|
800
|
+
66
|
|
801
|
+
67
|
|
802
|
+
68
|
|
803
|
+
69
|
|
804
|
+
70
|
|
805
|
+
71
|
|
806
|
+
72
|
|
807
|
+
73
|
|
808
|
+
74
|
|
809
|
+
75
|
|
810
|
+
76</pre>
|
|
811
|
+
</td>
|
|
812
|
+
<td>
|
|
813
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 58</span>
|
|
814
|
+
|
|
815
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_click'>click</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='label'>delay:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
816
|
+
<span class='comment'># await_all(async_move, async_down, async_up) often breaks the order of CDP commands.
|
|
817
|
+
</span> <span class='comment'># D, [2020-04-15T17:09:47.895895 #88683] DEBUG -- : RECV << {"id"=>23, "result"=>{"layoutViewport"=>{"pageX"=>0, "pageY"=>1, "clientWidth"=>375, "clientHeight"=>667}, "visualViewport"=>{"offsetX"=>0, "offsetY"=>0, "pageX"=>0, "pageY"=>1, "clientWidth"=>375, "clientHeight"=>667, "scale"=>1, "zoom"=>1}, "contentSize"=>{"x"=>0, "y"=>0, "width"=>375, "height"=>2007}}, "sessionId"=>"0B09EA5E18DEE403E525B3E7FCD7E225"}
|
|
818
|
+
</span> <span class='comment'># D, [2020-04-15T17:09:47.898422 #88683] DEBUG -- : SEND >> {"sessionId":"0B09EA5E18DEE403E525B3E7FCD7E225","method":"Input.dispatchMouseEvent","params":{"type":"mouseReleased","button":"left","x":0,"y":0,"modifiers":0,"clickCount":1},"id":24}
|
|
819
|
+
</span> <span class='comment'># D, [2020-04-15T17:09:47.899711 #88683] DEBUG -- : SEND >> {"sessionId":"0B09EA5E18DEE403E525B3E7FCD7E225","method":"Input.dispatchMouseEvent","params":{"type":"mousePressed","button":"left","x":0,"y":0,"modifiers":0,"clickCount":1},"id":25}
|
|
820
|
+
</span> <span class='comment'># D, [2020-04-15T17:09:47.900237 #88683] DEBUG -- : SEND >> {"sessionId":"0B09EA5E18DEE403E525B3E7FCD7E225","method":"Input.dispatchMouseEvent","params":{"type":"mouseMoved","button":"left","x":187,"y":283,"modifiers":0},"id":26}
|
|
821
|
+
</span> <span class='comment'># So we execute move in advance.
|
|
822
|
+
</span> <span class='id identifier rubyid_move'>move</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='rparen'>)</span>
|
|
823
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_delay'>delay</span>
|
|
824
|
+
<span class='id identifier rubyid_down'>down</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
|
|
825
|
+
<span class='id identifier rubyid_sleep'>sleep</span><span class='lparen'>(</span><span class='id identifier rubyid_delay'>delay</span> <span class='op'>/</span> <span class='float'>1000.0</span><span class='rparen'>)</span>
|
|
826
|
+
<span class='id identifier rubyid_up'>up</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span>
|
|
827
|
+
<span class='kw'>else</span>
|
|
828
|
+
<span class='id identifier rubyid_await_all'><span class='object_link'><a href="ConcurrentRubyUtils.html#await_all-instance_method" title="Puppeteer::ConcurrentRubyUtils#await_all (method)">await_all</a></span></span><span class='lparen'>(</span>
|
|
829
|
+
<span class='id identifier rubyid_async_down'>async_down</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span><span class='comma'>,</span>
|
|
830
|
+
<span class='id identifier rubyid_async_up'>async_up</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='id identifier rubyid_click_count'>click_count</span><span class='rparen'>)</span><span class='comma'>,</span>
|
|
831
|
+
<span class='rparen'>)</span>
|
|
832
|
+
<span class='kw'>end</span>
|
|
833
|
+
<span class='kw'>end</span></pre>
|
|
834
|
+
</td>
|
|
835
|
+
</tr>
|
|
836
|
+
</table>
|
|
837
|
+
</div>
|
|
838
|
+
|
|
839
|
+
<div class="method_details ">
|
|
840
|
+
<h3 class="signature " id="down-instance_method">
|
|
841
|
+
|
|
842
|
+
#<strong>down</strong>(button: nil, click_count: nil) ⇒ <tt>Object</tt>
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
</h3><div class="docstring">
|
|
849
|
+
<div class="discussion">
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
</div>
|
|
853
|
+
</div>
|
|
854
|
+
<div class="tags">
|
|
855
|
+
<p class="tag_title">Parameters:</p>
|
|
856
|
+
<ul class="param">
|
|
857
|
+
|
|
858
|
+
<li>
|
|
859
|
+
|
|
860
|
+
<span class='name'>options</span>
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
<span class='type'>(<tt>!{button?: "left"|"right"|"middle", clickCount?: number}=</tt>)</span>
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
</li>
|
|
868
|
+
|
|
869
|
+
</ul>
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
</div><table class="source_code">
|
|
873
|
+
<tr>
|
|
874
|
+
<td>
|
|
875
|
+
<pre class="lines">
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
87
|
|
879
|
+
88
|
|
880
|
+
89
|
|
881
|
+
90
|
|
882
|
+
91
|
|
883
|
+
92
|
|
884
|
+
93
|
|
885
|
+
94
|
|
886
|
+
95
|
|
887
|
+
96
|
|
888
|
+
97</pre>
|
|
889
|
+
</td>
|
|
890
|
+
<td>
|
|
891
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 87</span>
|
|
892
|
+
|
|
893
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_down'>down</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
894
|
+
<span class='ivar'>@button</span> <span class='op'>=</span> <span class='id identifier rubyid_button'>button</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="Mouse/Button.html" title="Puppeteer::Mouse::Button (module)">Button</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Mouse/Button.html#LEFT-constant" title="Puppeteer::Mouse::Button::LEFT (constant)">LEFT</a></span></span>
|
|
895
|
+
<span class='ivar'>@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'>Input.dispatchMouseEvent</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
896
|
+
<span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mousePressed</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
897
|
+
<span class='label'>button:</span> <span class='ivar'>@button</span><span class='comma'>,</span>
|
|
898
|
+
<span class='label'>x:</span> <span class='ivar'>@x</span><span class='comma'>,</span>
|
|
899
|
+
<span class='label'>y:</span> <span class='ivar'>@y</span><span class='comma'>,</span>
|
|
900
|
+
<span class='label'>modifiers:</span> <span class='ivar'>@keyboard</span><span class='period'>.</span><span class='id identifier rubyid_modifiers'>modifiers</span><span class='comma'>,</span>
|
|
901
|
+
<span class='label'>clickCount:</span> <span class='id identifier rubyid_click_count'>click_count</span> <span class='op'>||</span> <span class='int'>1</span><span class='comma'>,</span>
|
|
902
|
+
<span class='rparen'>)</span>
|
|
903
|
+
<span class='kw'>end</span></pre>
|
|
904
|
+
</td>
|
|
905
|
+
</tr>
|
|
906
|
+
</table>
|
|
907
|
+
</div>
|
|
908
|
+
|
|
909
|
+
<div class="method_details ">
|
|
910
|
+
<h3 class="signature " id="move-instance_method">
|
|
911
|
+
|
|
912
|
+
#<strong>move</strong>(x, y, steps: nil) ⇒ <tt>Object</tt>
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
</h3><div class="docstring">
|
|
919
|
+
<div class="discussion">
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
</div>
|
|
923
|
+
</div>
|
|
924
|
+
<div class="tags">
|
|
925
|
+
<p class="tag_title">Parameters:</p>
|
|
926
|
+
<ul class="param">
|
|
927
|
+
|
|
928
|
+
<li>
|
|
929
|
+
|
|
930
|
+
<span class='name'>x</span>
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
</li>
|
|
938
|
+
|
|
939
|
+
<li>
|
|
940
|
+
|
|
941
|
+
<span class='name'>y</span>
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
</li>
|
|
949
|
+
|
|
950
|
+
<li>
|
|
951
|
+
|
|
952
|
+
<span class='name'>steps</span>
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
<span class='type'>(<tt>number</tt>)</span>
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
</li>
|
|
962
|
+
|
|
963
|
+
</ul>
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
</div><table class="source_code">
|
|
967
|
+
<tr>
|
|
968
|
+
<td>
|
|
969
|
+
<pre class="lines">
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
25
|
|
973
|
+
26
|
|
974
|
+
27
|
|
975
|
+
28
|
|
976
|
+
29
|
|
977
|
+
30
|
|
978
|
+
31
|
|
979
|
+
32
|
|
980
|
+
33
|
|
981
|
+
34
|
|
982
|
+
35
|
|
983
|
+
36
|
|
984
|
+
37
|
|
985
|
+
38
|
|
986
|
+
39
|
|
987
|
+
40
|
|
988
|
+
41
|
|
989
|
+
42
|
|
990
|
+
43
|
|
991
|
+
44
|
|
992
|
+
45</pre>
|
|
993
|
+
</td>
|
|
994
|
+
<td>
|
|
995
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 25</span>
|
|
996
|
+
|
|
997
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_move'>move</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='label'>steps:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
998
|
+
<span class='id identifier rubyid_move_steps'>move_steps</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_steps'>steps</span> <span class='op'>||</span> <span class='int'>1</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
|
999
|
+
|
|
1000
|
+
<span class='id identifier rubyid_from_x'>from_x</span> <span class='op'>=</span> <span class='ivar'>@x</span>
|
|
1001
|
+
<span class='id identifier rubyid_from_y'>from_y</span> <span class='op'>=</span> <span class='ivar'>@y</span>
|
|
1002
|
+
<span class='ivar'>@x</span> <span class='op'>=</span> <span class='id identifier rubyid_x'>x</span>
|
|
1003
|
+
<span class='ivar'>@y</span> <span class='op'>=</span> <span class='id identifier rubyid_y'>y</span>
|
|
1004
|
+
|
|
1005
|
+
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_move_steps'>move_steps</span> <span class='op'><=</span> <span class='int'>0</span>
|
|
1006
|
+
|
|
1007
|
+
<span class='id identifier rubyid_move_steps'>move_steps</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
|
1008
|
+
<span class='id identifier rubyid_n'>n</span> <span class='op'>=</span> <span class='id identifier rubyid_i'>i</span> <span class='op'>+</span> <span class='int'>1</span>
|
|
1009
|
+
<span class='ivar'>@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'>Input.dispatchMouseEvent</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
1010
|
+
<span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mouseMoved</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
1011
|
+
<span class='label'>button:</span> <span class='ivar'>@button</span><span class='comma'>,</span>
|
|
1012
|
+
<span class='label'>x:</span> <span class='id identifier rubyid_from_x'>from_x</span> <span class='op'>+</span> <span class='lparen'>(</span><span class='ivar'>@x</span> <span class='op'>-</span> <span class='id identifier rubyid_from_x'>from_x</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='id identifier rubyid_n'>n</span> <span class='op'>/</span> <span class='id identifier rubyid_move_steps'>move_steps</span><span class='comma'>,</span>
|
|
1013
|
+
<span class='label'>y:</span> <span class='id identifier rubyid_from_y'>from_y</span> <span class='op'>+</span> <span class='lparen'>(</span><span class='ivar'>@y</span> <span class='op'>-</span> <span class='id identifier rubyid_from_y'>from_y</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='id identifier rubyid_n'>n</span> <span class='op'>/</span> <span class='id identifier rubyid_move_steps'>move_steps</span><span class='comma'>,</span>
|
|
1014
|
+
<span class='label'>modifiers:</span> <span class='ivar'>@keyboard</span><span class='period'>.</span><span class='id identifier rubyid_modifiers'>modifiers</span><span class='comma'>,</span>
|
|
1015
|
+
<span class='rparen'>)</span>
|
|
1016
|
+
<span class='kw'>end</span>
|
|
1017
|
+
<span class='kw'>end</span></pre>
|
|
1018
|
+
</td>
|
|
1019
|
+
</tr>
|
|
1020
|
+
</table>
|
|
1021
|
+
</div>
|
|
1022
|
+
|
|
1023
|
+
<div class="method_details ">
|
|
1024
|
+
<h3 class="signature " id="up-instance_method">
|
|
1025
|
+
|
|
1026
|
+
#<strong>up</strong>(button: nil, click_count: nil) ⇒ <tt>Object</tt>
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
</h3><div class="docstring">
|
|
1033
|
+
<div class="discussion">
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
</div>
|
|
1037
|
+
</div>
|
|
1038
|
+
<div class="tags">
|
|
1039
|
+
<p class="tag_title">Parameters:</p>
|
|
1040
|
+
<ul class="param">
|
|
1041
|
+
|
|
1042
|
+
<li>
|
|
1043
|
+
|
|
1044
|
+
<span class='name'>options</span>
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
<span class='type'>(<tt>!{button?: "left"|"right"|"middle", clickCount?: number}=</tt>)</span>
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
</li>
|
|
1052
|
+
|
|
1053
|
+
</ul>
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
</div><table class="source_code">
|
|
1057
|
+
<tr>
|
|
1058
|
+
<td>
|
|
1059
|
+
<pre class="lines">
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
106
|
|
1063
|
+
107
|
|
1064
|
+
108
|
|
1065
|
+
109
|
|
1066
|
+
110
|
|
1067
|
+
111
|
|
1068
|
+
112
|
|
1069
|
+
113
|
|
1070
|
+
114
|
|
1071
|
+
115
|
|
1072
|
+
116</pre>
|
|
1073
|
+
</td>
|
|
1074
|
+
<td>
|
|
1075
|
+
<pre class="code"><span class="info file"># File 'lib/puppeteer/mouse.rb', line 106</span>
|
|
1076
|
+
|
|
1077
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_up'>up</span><span class='lparen'>(</span><span class='label'>button:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>click_count:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
1078
|
+
<span class='ivar'>@button</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Mouse/Button.html" title="Puppeteer::Mouse::Button (module)">Button</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Mouse/Button.html#NONE-constant" title="Puppeteer::Mouse::Button::NONE (constant)">NONE</a></span></span>
|
|
1079
|
+
<span class='ivar'>@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'>Input.dispatchMouseEvent</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
1080
|
+
<span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mouseReleased</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
|
1081
|
+
<span class='label'>button:</span> <span class='id identifier rubyid_button'>button</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="Mouse/Button.html" title="Puppeteer::Mouse::Button (module)">Button</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Mouse/Button.html#LEFT-constant" title="Puppeteer::Mouse::Button::LEFT (constant)">LEFT</a></span></span><span class='comma'>,</span>
|
|
1082
|
+
<span class='label'>x:</span> <span class='ivar'>@x</span><span class='comma'>,</span>
|
|
1083
|
+
<span class='label'>y:</span> <span class='ivar'>@y</span><span class='comma'>,</span>
|
|
1084
|
+
<span class='label'>modifiers:</span> <span class='ivar'>@keyboard</span><span class='period'>.</span><span class='id identifier rubyid_modifiers'>modifiers</span><span class='comma'>,</span>
|
|
1085
|
+
<span class='label'>clickCount:</span> <span class='id identifier rubyid_click_count'>click_count</span> <span class='op'>||</span> <span class='int'>1</span><span class='comma'>,</span>
|
|
1086
|
+
<span class='rparen'>)</span>
|
|
1087
|
+
<span class='kw'>end</span></pre>
|
|
1088
|
+
</td>
|
|
1089
|
+
</tr>
|
|
1090
|
+
</table>
|
|
1091
|
+
</div>
|
|
1092
|
+
|
|
1093
|
+
</div>
|
|
1094
|
+
|
|
1095
|
+
</div>
|
|
1096
|
+
|
|
1097
|
+
<div id="footer">
|
|
1098
|
+
Generated on Fri Jun 12 12:38:33 2020 by
|
|
1099
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1100
|
+
0.9.24 (ruby-2.6.3).
|
|
1101
|
+
</div>
|
|
1102
|
+
|
|
1103
|
+
</div>
|
|
1104
|
+
</body>
|
|
1105
|
+
</html>
|