venetian 0.1.0-aarch64-linux

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.
Files changed (128) hide show
  1. checksums.yaml +7 -0
  2. data/CODE_OF_CONDUCT.md +10 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +52 -0
  5. data/Rakefile +14 -0
  6. data/exe/aarch64-linux/LICENSE +2946 -0
  7. data/exe/aarch64-linux/node +0 -0
  8. data/exe/aarch64-linux/package/LICENSE +202 -0
  9. data/exe/aarch64-linux/package/NOTICE +5 -0
  10. data/exe/aarch64-linux/package/README.md +3 -0
  11. data/exe/aarch64-linux/package/ThirdPartyNotices.txt +13 -0
  12. data/exe/aarch64-linux/package/api.json +1 -0
  13. data/exe/aarch64-linux/package/bin/install_media_pack.ps1 +5 -0
  14. data/exe/aarch64-linux/package/bin/install_webkit_wsl.ps1 +33 -0
  15. data/exe/aarch64-linux/package/bin/reinstall_chrome_beta_linux.sh +42 -0
  16. data/exe/aarch64-linux/package/bin/reinstall_chrome_beta_mac.sh +13 -0
  17. data/exe/aarch64-linux/package/bin/reinstall_chrome_beta_win.ps1 +24 -0
  18. data/exe/aarch64-linux/package/bin/reinstall_chrome_stable_linux.sh +42 -0
  19. data/exe/aarch64-linux/package/bin/reinstall_chrome_stable_mac.sh +12 -0
  20. data/exe/aarch64-linux/package/bin/reinstall_chrome_stable_win.ps1 +24 -0
  21. data/exe/aarch64-linux/package/bin/reinstall_msedge_beta_linux.sh +48 -0
  22. data/exe/aarch64-linux/package/bin/reinstall_msedge_beta_mac.sh +11 -0
  23. data/exe/aarch64-linux/package/bin/reinstall_msedge_beta_win.ps1 +23 -0
  24. data/exe/aarch64-linux/package/bin/reinstall_msedge_dev_linux.sh +48 -0
  25. data/exe/aarch64-linux/package/bin/reinstall_msedge_dev_mac.sh +11 -0
  26. data/exe/aarch64-linux/package/bin/reinstall_msedge_dev_win.ps1 +23 -0
  27. data/exe/aarch64-linux/package/bin/reinstall_msedge_stable_linux.sh +48 -0
  28. data/exe/aarch64-linux/package/bin/reinstall_msedge_stable_mac.sh +11 -0
  29. data/exe/aarch64-linux/package/bin/reinstall_msedge_stable_win.ps1 +24 -0
  30. data/exe/aarch64-linux/package/browsers.json +81 -0
  31. data/exe/aarch64-linux/package/cli.js +21 -0
  32. data/exe/aarch64-linux/package/index.d.ts +17 -0
  33. data/exe/aarch64-linux/package/index.js +32 -0
  34. data/exe/aarch64-linux/package/index.mjs +28 -0
  35. data/exe/aarch64-linux/package/lib/bootstrap.js +77 -0
  36. data/exe/aarch64-linux/package/lib/coreBundle.js +69799 -0
  37. data/exe/aarch64-linux/package/lib/entry/cliDaemon.js +5 -0
  38. data/exe/aarch64-linux/package/lib/entry/dashboardApp.js +3 -0
  39. data/exe/aarch64-linux/package/lib/entry/mcp.js +10 -0
  40. data/exe/aarch64-linux/package/lib/entry/oopBrowserDownload.js +3 -0
  41. data/exe/aarch64-linux/package/lib/package.js +50 -0
  42. data/exe/aarch64-linux/package/lib/server/chromium/appIcon.png +0 -0
  43. data/exe/aarch64-linux/package/lib/server/deviceDescriptorsSource.json +1779 -0
  44. data/exe/aarch64-linux/package/lib/server/electron/loader.js +115 -0
  45. data/exe/aarch64-linux/package/lib/serverRegistry.js +7343 -0
  46. data/exe/aarch64-linux/package/lib/serverRegistry.js.LICENSE +354 -0
  47. data/exe/aarch64-linux/package/lib/tools/cli-client/channelSessions.js +141 -0
  48. data/exe/aarch64-linux/package/lib/tools/cli-client/cli.js +6 -0
  49. data/exe/aarch64-linux/package/lib/tools/cli-client/help.json +679 -0
  50. data/exe/aarch64-linux/package/lib/tools/cli-client/minimist.js +128 -0
  51. data/exe/aarch64-linux/package/lib/tools/cli-client/output.js +343 -0
  52. data/exe/aarch64-linux/package/lib/tools/cli-client/program.js +380 -0
  53. data/exe/aarch64-linux/package/lib/tools/cli-client/registry.js +176 -0
  54. data/exe/aarch64-linux/package/lib/tools/cli-client/session.js +265 -0
  55. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/SKILL.md +388 -0
  56. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/element-attributes.md +23 -0
  57. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/playwright-tests.md +39 -0
  58. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/request-mocking.md +87 -0
  59. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/running-code.md +241 -0
  60. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/session-management.md +225 -0
  61. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/spec-driven-testing.md +305 -0
  62. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/storage-state.md +275 -0
  63. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/test-generation.md +134 -0
  64. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/tracing.md +139 -0
  65. data/exe/aarch64-linux/package/lib/tools/cli-client/skill/references/video-recording.md +143 -0
  66. data/exe/aarch64-linux/package/lib/tools/dashboard/appIcon.png +0 -0
  67. data/exe/aarch64-linux/package/lib/tools/trace/SKILL.md +171 -0
  68. data/exe/aarch64-linux/package/lib/tools/utils/extension.js +78 -0
  69. data/exe/aarch64-linux/package/lib/tools/utils/socketConnection.js +108 -0
  70. data/exe/aarch64-linux/package/lib/utilsBundle.js +85418 -0
  71. data/exe/aarch64-linux/package/lib/utilsBundle.js.LICENSE +2002 -0
  72. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  73. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  74. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  75. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  76. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-BY2S1tHT.css +1 -0
  77. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-DpEq2p62.js +52 -0
  78. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  79. data/exe/aarch64-linux/package/lib/vite/dashboard/index.html +29 -0
  80. data/exe/aarch64-linux/package/lib/vite/dashboard/playwright-logo.svg +24 -0
  81. data/exe/aarch64-linux/package/lib/vite/htmlReport/index.html +16 -0
  82. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.css +1 -0
  83. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.js +72 -0
  84. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-BHYmBp6h.js +32 -0
  85. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +1 -0
  86. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  87. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-4ZiSSCmn.css +1 -0
  88. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-DA10QRaq.js +193 -0
  89. data/exe/aarch64-linux/package/lib/vite/recorder/index.html +29 -0
  90. data/exe/aarch64-linux/package/lib/vite/recorder/playwright-logo.svg +9 -0
  91. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/codeMirrorModule-Ds_H_9Yq.js +32 -0
  92. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-D31xz8zv.js +262 -0
  93. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +1 -0
  94. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +9 -0
  95. data/exe/aarch64-linux/package/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +1 -0
  96. data/exe/aarch64-linux/package/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  97. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.BDKsFU3c.css +1 -0
  98. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.BCnMPevh.js +2 -0
  99. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.CzXZzn5A.css +1 -0
  100. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.html +44 -0
  101. data/exe/aarch64-linux/package/lib/vite/traceViewer/manifest.webmanifest +16 -0
  102. data/exe/aarch64-linux/package/lib/vite/traceViewer/playwright-logo.svg +9 -0
  103. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.html +10 -0
  104. data/exe/aarch64-linux/package/lib/vite/traceViewer/snapshot.v8KI4P3m.js +2 -0
  105. data/exe/aarch64-linux/package/lib/vite/traceViewer/sw.bundle.js +5 -0
  106. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.Btcz36p_.css +1 -0
  107. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.C2Efnu2P.js +6 -0
  108. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.html +18 -0
  109. data/exe/aarch64-linux/package/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +32 -0
  110. data/exe/aarch64-linux/package/lib/xdg-open +1066 -0
  111. data/exe/aarch64-linux/package/package.json +34 -0
  112. data/exe/aarch64-linux/package/protocol.yml +4884 -0
  113. data/exe/aarch64-linux/package/types/protocol.d.ts +24565 -0
  114. data/exe/aarch64-linux/package/types/structs.d.ts +45 -0
  115. data/exe/aarch64-linux/package/types/types.d.ts +24518 -0
  116. data/exe/playwright +11 -0
  117. data/lib/tasks/venetian.rake +11 -0
  118. data/lib/venetian/browser_installer.rb +26 -0
  119. data/lib/venetian/browser_runner_extensions.rb +17 -0
  120. data/lib/venetian/executable.rb +154 -0
  121. data/lib/venetian/gemspec.rb +7 -0
  122. data/lib/venetian/playwright_create_extensions.rb +11 -0
  123. data/lib/venetian/railtie.rb +9 -0
  124. data/lib/venetian/tasks.rb +3 -0
  125. data/lib/venetian/upstream.rb +45 -0
  126. data/lib/venetian/version.rb +5 -0
  127. data/lib/venetian.rb +29 -0
  128. metadata +185 -0
@@ -0,0 +1,354 @@
1
+ packages/playwright-core/lib/serverRegistry.js
2
+
3
+ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
4
+
5
+ The following npm packages are inlined into this bundle.
6
+
7
+ - anymatch@3.1.3 (https://github.com/micromatch/anymatch)
8
+ - binary-extensions@2.3.0 (https://github.com/sindresorhus/binary-extensions)
9
+ - braces@3.0.3 (https://github.com/micromatch/braces)
10
+ - chokidar@3.6.0 (https://github.com/paulmillr/chokidar)
11
+ - fill-range@7.1.1 (https://github.com/jonschlinkert/fill-range)
12
+ - glob-parent@5.1.2 (https://github.com/gulpjs/glob-parent)
13
+ - is-binary-path@2.1.0 (https://github.com/sindresorhus/is-binary-path)
14
+ - is-extglob@2.1.1 (https://github.com/jonschlinkert/is-extglob)
15
+ - is-glob@4.0.3 (https://github.com/micromatch/is-glob)
16
+ - is-number@7.0.0 (https://github.com/jonschlinkert/is-number)
17
+ - normalize-path@3.0.0 (https://github.com/jonschlinkert/normalize-path)
18
+ - picomatch@2.3.2 (https://github.com/micromatch/picomatch)
19
+ - readdirp@3.6.0 (https://github.com/paulmillr/readdirp)
20
+ - to-regex-range@5.0.1 (https://github.com/micromatch/to-regex-range)
21
+
22
+ %% anymatch@3.1.3 NOTICES AND INFORMATION BEGIN HERE
23
+ =========================================
24
+ The ISC License
25
+
26
+ Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
27
+
28
+ Permission to use, copy, modify, and/or distribute this software for any
29
+ purpose with or without fee is hereby granted, provided that the above
30
+ copyright notice and this permission notice appear in all copies.
31
+
32
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
33
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
34
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
35
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
36
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
37
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
38
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
39
+ =========================================
40
+ END OF anymatch@3.1.3 NOTICES AND INFORMATION
41
+
42
+ %% binary-extensions@2.3.0 NOTICES AND INFORMATION BEGIN HERE
43
+ =========================================
44
+ MIT License
45
+
46
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
47
+ Copyright (c) Paul Miller (https://paulmillr.com)
48
+
49
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
52
+
53
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
54
+ =========================================
55
+ END OF binary-extensions@2.3.0 NOTICES AND INFORMATION
56
+
57
+ %% braces@3.0.3 NOTICES AND INFORMATION BEGIN HERE
58
+ =========================================
59
+ The MIT License (MIT)
60
+
61
+ Copyright (c) 2014-present, Jon Schlinkert.
62
+
63
+ Permission is hereby granted, free of charge, to any person obtaining a copy
64
+ of this software and associated documentation files (the "Software"), to deal
65
+ in the Software without restriction, including without limitation the rights
66
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
67
+ copies of the Software, and to permit persons to whom the Software is
68
+ furnished to do so, subject to the following conditions:
69
+
70
+ The above copyright notice and this permission notice shall be included in
71
+ all copies or substantial portions of the Software.
72
+
73
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
75
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
76
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
77
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
78
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
79
+ THE SOFTWARE.
80
+ =========================================
81
+ END OF braces@3.0.3 NOTICES AND INFORMATION
82
+
83
+ %% chokidar@3.6.0 NOTICES AND INFORMATION BEGIN HERE
84
+ =========================================
85
+ The MIT License (MIT)
86
+
87
+ Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker
88
+
89
+ Permission is hereby granted, free of charge, to any person obtaining a copy
90
+ of this software and associated documentation files (the “Software”), to deal
91
+ in the Software without restriction, including without limitation the rights
92
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
+ copies of the Software, and to permit persons to whom the Software is
94
+ furnished to do so, subject to the following conditions:
95
+
96
+ The above copyright notice and this permission notice shall be included in
97
+ all copies or substantial portions of the Software.
98
+
99
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
+ THE SOFTWARE.
106
+ =========================================
107
+ END OF chokidar@3.6.0 NOTICES AND INFORMATION
108
+
109
+ %% fill-range@7.1.1 NOTICES AND INFORMATION BEGIN HERE
110
+ =========================================
111
+ The MIT License (MIT)
112
+
113
+ Copyright (c) 2014-present, Jon Schlinkert.
114
+
115
+ Permission is hereby granted, free of charge, to any person obtaining a copy
116
+ of this software and associated documentation files (the "Software"), to deal
117
+ in the Software without restriction, including without limitation the rights
118
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
119
+ copies of the Software, and to permit persons to whom the Software is
120
+ furnished to do so, subject to the following conditions:
121
+
122
+ The above copyright notice and this permission notice shall be included in
123
+ all copies or substantial portions of the Software.
124
+
125
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
126
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
127
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
128
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
129
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
130
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
131
+ THE SOFTWARE.
132
+ =========================================
133
+ END OF fill-range@7.1.1 NOTICES AND INFORMATION
134
+
135
+ %% glob-parent@5.1.2 NOTICES AND INFORMATION BEGIN HERE
136
+ =========================================
137
+ The ISC License
138
+
139
+ Copyright (c) 2015, 2019 Elan Shanker
140
+
141
+ Permission to use, copy, modify, and/or distribute this software for any
142
+ purpose with or without fee is hereby granted, provided that the above
143
+ copyright notice and this permission notice appear in all copies.
144
+
145
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
146
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
147
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
148
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
149
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
150
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
151
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
152
+ =========================================
153
+ END OF glob-parent@5.1.2 NOTICES AND INFORMATION
154
+
155
+ %% is-binary-path@2.1.0 NOTICES AND INFORMATION BEGIN HERE
156
+ =========================================
157
+ MIT License
158
+
159
+ Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)
160
+
161
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
162
+
163
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
164
+
165
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
166
+ =========================================
167
+ END OF is-binary-path@2.1.0 NOTICES AND INFORMATION
168
+
169
+ %% is-extglob@2.1.1 NOTICES AND INFORMATION BEGIN HERE
170
+ =========================================
171
+ The MIT License (MIT)
172
+
173
+ Copyright (c) 2014-2016, Jon Schlinkert
174
+
175
+ Permission is hereby granted, free of charge, to any person obtaining a copy
176
+ of this software and associated documentation files (the "Software"), to deal
177
+ in the Software without restriction, including without limitation the rights
178
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
179
+ copies of the Software, and to permit persons to whom the Software is
180
+ furnished to do so, subject to the following conditions:
181
+
182
+ The above copyright notice and this permission notice shall be included in
183
+ all copies or substantial portions of the Software.
184
+
185
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
186
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
187
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
188
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
189
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
190
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
191
+ THE SOFTWARE.
192
+ =========================================
193
+ END OF is-extglob@2.1.1 NOTICES AND INFORMATION
194
+
195
+ %% is-glob@4.0.3 NOTICES AND INFORMATION BEGIN HERE
196
+ =========================================
197
+ The MIT License (MIT)
198
+
199
+ Copyright (c) 2014-2017, Jon Schlinkert.
200
+
201
+ Permission is hereby granted, free of charge, to any person obtaining a copy
202
+ of this software and associated documentation files (the "Software"), to deal
203
+ in the Software without restriction, including without limitation the rights
204
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
205
+ copies of the Software, and to permit persons to whom the Software is
206
+ furnished to do so, subject to the following conditions:
207
+
208
+ The above copyright notice and this permission notice shall be included in
209
+ all copies or substantial portions of the Software.
210
+
211
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
212
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
213
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
214
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
215
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
216
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
217
+ THE SOFTWARE.
218
+ =========================================
219
+ END OF is-glob@4.0.3 NOTICES AND INFORMATION
220
+
221
+ %% is-number@7.0.0 NOTICES AND INFORMATION BEGIN HERE
222
+ =========================================
223
+ The MIT License (MIT)
224
+
225
+ Copyright (c) 2014-present, Jon Schlinkert.
226
+
227
+ Permission is hereby granted, free of charge, to any person obtaining a copy
228
+ of this software and associated documentation files (the "Software"), to deal
229
+ in the Software without restriction, including without limitation the rights
230
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
231
+ copies of the Software, and to permit persons to whom the Software is
232
+ furnished to do so, subject to the following conditions:
233
+
234
+ The above copyright notice and this permission notice shall be included in
235
+ all copies or substantial portions of the Software.
236
+
237
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
238
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
239
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
240
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
241
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
242
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
243
+ THE SOFTWARE.
244
+ =========================================
245
+ END OF is-number@7.0.0 NOTICES AND INFORMATION
246
+
247
+ %% normalize-path@3.0.0 NOTICES AND INFORMATION BEGIN HERE
248
+ =========================================
249
+ The MIT License (MIT)
250
+
251
+ Copyright (c) 2014-2018, Jon Schlinkert.
252
+
253
+ Permission is hereby granted, free of charge, to any person obtaining a copy
254
+ of this software and associated documentation files (the "Software"), to deal
255
+ in the Software without restriction, including without limitation the rights
256
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
257
+ copies of the Software, and to permit persons to whom the Software is
258
+ furnished to do so, subject to the following conditions:
259
+
260
+ The above copyright notice and this permission notice shall be included in
261
+ all copies or substantial portions of the Software.
262
+
263
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
264
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
265
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
266
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
267
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
268
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
269
+ THE SOFTWARE.
270
+ =========================================
271
+ END OF normalize-path@3.0.0 NOTICES AND INFORMATION
272
+
273
+ %% picomatch@2.3.2 NOTICES AND INFORMATION BEGIN HERE
274
+ =========================================
275
+ The MIT License (MIT)
276
+
277
+ Copyright (c) 2017-present, Jon Schlinkert.
278
+
279
+ Permission is hereby granted, free of charge, to any person obtaining a copy
280
+ of this software and associated documentation files (the "Software"), to deal
281
+ in the Software without restriction, including without limitation the rights
282
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
283
+ copies of the Software, and to permit persons to whom the Software is
284
+ furnished to do so, subject to the following conditions:
285
+
286
+ The above copyright notice and this permission notice shall be included in
287
+ all copies or substantial portions of the Software.
288
+
289
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
290
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
291
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
292
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
293
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
294
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
295
+ THE SOFTWARE.
296
+ =========================================
297
+ END OF picomatch@2.3.2 NOTICES AND INFORMATION
298
+
299
+ %% readdirp@3.6.0 NOTICES AND INFORMATION BEGIN HERE
300
+ =========================================
301
+ MIT License
302
+
303
+ Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com)
304
+
305
+ Permission is hereby granted, free of charge, to any person obtaining a copy
306
+ of this software and associated documentation files (the "Software"), to deal
307
+ in the Software without restriction, including without limitation the rights
308
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
309
+ copies of the Software, and to permit persons to whom the Software is
310
+ furnished to do so, subject to the following conditions:
311
+
312
+ The above copyright notice and this permission notice shall be included in all
313
+ copies or substantial portions of the Software.
314
+
315
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
316
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
317
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
318
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
319
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
320
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
321
+ SOFTWARE.
322
+ =========================================
323
+ END OF readdirp@3.6.0 NOTICES AND INFORMATION
324
+
325
+ %% to-regex-range@5.0.1 NOTICES AND INFORMATION BEGIN HERE
326
+ =========================================
327
+ The MIT License (MIT)
328
+
329
+ Copyright (c) 2015-present, Jon Schlinkert.
330
+
331
+ Permission is hereby granted, free of charge, to any person obtaining a copy
332
+ of this software and associated documentation files (the "Software"), to deal
333
+ in the Software without restriction, including without limitation the rights
334
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
335
+ copies of the Software, and to permit persons to whom the Software is
336
+ furnished to do so, subject to the following conditions:
337
+
338
+ The above copyright notice and this permission notice shall be included in
339
+ all copies or substantial portions of the Software.
340
+
341
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
342
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
343
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
344
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
345
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
346
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
347
+ THE SOFTWARE.
348
+ =========================================
349
+ END OF to-regex-range@5.0.1 NOTICES AND INFORMATION
350
+
351
+ SUMMARY
352
+ =========================================
353
+ Total Packages: 14
354
+ =========================================
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var channelSessions_exports = {};
30
+ __export(channelSessions_exports, {
31
+ isKnownChannel: () => isKnownChannel,
32
+ listChannelSessions: () => listChannelSessions
33
+ });
34
+ module.exports = __toCommonJS(channelSessions_exports);
35
+ var import_fs = __toESM(require("fs"));
36
+ var import_net = __toESM(require("net"));
37
+ var import_os = __toESM(require("os"));
38
+ var import_path = __toESM(require("path"));
39
+ var import_extension = require("../utils/extension");
40
+ function isKnownChannel(name) {
41
+ return channelToUserDataDir.has(name);
42
+ }
43
+ async function listChannelSessions() {
44
+ if (process.env.PWTEST_CLI_CHANNEL_SCAN_DISABLED_FOR_TEST)
45
+ return [];
46
+ const result = [];
47
+ for (const [channel, dirs] of channelToUserDataDir) {
48
+ const userDataDir = dirs[process.platform];
49
+ if (!userDataDir)
50
+ continue;
51
+ if (!await pathExists(userDataDir))
52
+ continue;
53
+ const [endpoint, extensionInstalled] = await Promise.all([
54
+ readEndpoint(userDataDir),
55
+ (0, import_extension.isPlaywrightExtensionInstalled)(userDataDir)
56
+ ]);
57
+ result.push({ channel, userDataDir, endpoint, extensionInstalled });
58
+ }
59
+ return result;
60
+ }
61
+ async function pathExists(p) {
62
+ try {
63
+ await import_fs.default.promises.access(p);
64
+ return true;
65
+ } catch {
66
+ return false;
67
+ }
68
+ }
69
+ async function readEndpoint(userDataDir) {
70
+ let contents;
71
+ try {
72
+ contents = await import_fs.default.promises.readFile(import_path.default.join(userDataDir, "DevToolsActivePort"), "utf-8");
73
+ } catch {
74
+ return void 0;
75
+ }
76
+ const port = parseInt(contents.trim().split("\n")[0], 10);
77
+ if (!Number.isFinite(port))
78
+ return void 0;
79
+ if (!await isPortOpen(port))
80
+ return void 0;
81
+ return `http://localhost:${port}`;
82
+ }
83
+ async function isPortOpen(port) {
84
+ return new Promise((resolve) => {
85
+ const socket = import_net.default.createConnection(port, "127.0.0.1");
86
+ const done = (value) => {
87
+ socket.destroy();
88
+ resolve(value);
89
+ };
90
+ socket.once("connect", () => done(true));
91
+ socket.once("error", () => done(false));
92
+ socket.setTimeout(250, () => done(false));
93
+ });
94
+ }
95
+ const channelToUserDataDir = /* @__PURE__ */ new Map([
96
+ ["chrome", {
97
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome"),
98
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome"),
99
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome", "User Data")
100
+ }],
101
+ ["chrome-beta", {
102
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome-beta"),
103
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome Beta"),
104
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome Beta", "User Data")
105
+ }],
106
+ ["chrome-dev", {
107
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome-unstable"),
108
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome Dev"),
109
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome Dev", "User Data")
110
+ }],
111
+ ["chrome-canary", {
112
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome-canary"),
113
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome Canary"),
114
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome SxS", "User Data")
115
+ }],
116
+ ["msedge", {
117
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge"),
118
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge"),
119
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge", "User Data")
120
+ }],
121
+ ["msedge-beta", {
122
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge-beta"),
123
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge Beta"),
124
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge Beta", "User Data")
125
+ }],
126
+ ["msedge-dev", {
127
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge-dev"),
128
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge Dev"),
129
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge Dev", "User Data")
130
+ }],
131
+ ["msedge-canary", {
132
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge-canary"),
133
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge Canary"),
134
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge SxS", "User Data")
135
+ }]
136
+ ]);
137
+ // Annotate the CommonJS export names for ESM import in node:
138
+ 0 && (module.exports = {
139
+ isKnownChannel,
140
+ listChannelSessions
141
+ });
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ var import_program = require("./program");
3
+ (0, import_program.program)().catch((e) => {
4
+ console.error(e.message);
5
+ process.exit(1);
6
+ });