venetian 0.2.2-aarch64-linux → 0.3.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -2
  3. data/exe/aarch64-linux/LICENSE +2 -2
  4. data/exe/aarch64-linux/node +2 -2
  5. data/exe/aarch64-linux/package/browsers.json +9 -32
  6. data/exe/aarch64-linux/package/lib/coreBundle.js +5402 -4419
  7. data/exe/aarch64-linux/package/lib/server/electron/loader.js +0 -2
  8. data/exe/aarch64-linux/package/lib/serverRegistry.js +1674 -7082
  9. data/exe/aarch64-linux/package/lib/serverRegistry.js.LICENSE +8 -297
  10. data/exe/aarch64-linux/package/lib/tools/cli-client/help.json +19 -6
  11. data/exe/aarch64-linux/package/lib/tools/cli-client/minimist.js +1 -1
  12. data/exe/aarch64-linux/package/lib/tools/cli-client/output.js +9 -1
  13. data/exe/aarch64-linux/package/lib/tools/cli-client/program.js +17 -3
  14. data/exe/aarch64-linux/package/lib/tools/cli-client/registry.js +9 -5
  15. data/exe/aarch64-linux/package/lib/tools/cli-client/session.js +2 -1
  16. data/exe/aarch64-linux/package/lib/tools/skills/playwright-cli/SKILL.md +5 -0
  17. data/exe/aarch64-linux/package/lib/tools/skills/playwright-cli/references/tracing.md +1 -1
  18. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/SKILL.md +4 -11
  19. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/migration.md +6 -2
  20. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/react.md +2 -0
  21. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
  22. data/exe/aarch64-linux/package/lib/tools/skills/playwright-component-testing/references/vue.md +2 -0
  23. data/exe/aarch64-linux/package/lib/tools/skills/playwright-trace/SKILL.md +6 -3
  24. data/exe/aarch64-linux/package/lib/tools/utils/extension.js +13 -2
  25. data/exe/aarch64-linux/package/lib/utilsBundle.js +1934 -7341
  26. data/exe/aarch64-linux/package/lib/utilsBundle.js.LICENSE +8 -297
  27. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
  28. data/exe/aarch64-linux/package/lib/vite/{recorder/assets/codeMirrorModule-CwYYHbcZ.js → dashboard/assets/codeMirrorModule-CQ8RZGBm.js} +1 -1
  29. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
  30. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
  31. data/exe/aarch64-linux/package/lib/vite/dashboard/index.html +2 -2
  32. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.css +1 -1
  33. data/exe/aarch64-linux/package/lib/vite/htmlReport/report.js +4 -4
  34. data/exe/aarch64-linux/package/lib/vite/recorder/assets/codeMirrorModule-CVQWJZAA.js +32 -0
  35. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
  36. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-hrlLqLtq.js +129 -0
  37. data/exe/aarch64-linux/package/lib/vite/recorder/index.html +2 -2
  38. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/{codeMirrorModule-rXmQmLUY.js → codeMirrorModule-BbkfBe3n.js} +1 -1
  39. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js +182 -0
  40. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/{xtermModule-BuZfJS5v.js → xtermModule-DywYcAf8.js} +1 -1
  41. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.Bqk9acqE.css +1 -0
  42. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.B4cLoZK3.js +1 -0
  43. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.html +3 -3
  44. data/exe/aarch64-linux/package/lib/vite/traceViewer/sw.bundle.js +3 -3
  45. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.CU5KtEkS.js +5 -0
  46. data/exe/aarch64-linux/package/lib/vite/traceViewer/{uiMode.C7UW1sC9.css → uiMode.CyMfwkXJ.css} +1 -1
  47. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.html +4 -4
  48. data/exe/aarch64-linux/package/package.json +1 -1
  49. data/exe/aarch64-linux/package/types/protocol.d.ts +201 -398
  50. data/exe/aarch64-linux/package/types/types.d.ts +771 -327
  51. data/exe/playwright +1 -1
  52. data/lib/tasks/venetian.rake +1 -1
  53. data/lib/venetian/browser_installer.rb +42 -11
  54. data/lib/venetian/browser_runner_extensions.rb +9 -2
  55. data/lib/venetian/core.rb +25 -0
  56. data/lib/venetian/executable.rb +27 -0
  57. data/lib/venetian/gemspec.rb +2 -0
  58. data/lib/venetian/playwright.rb +14 -0
  59. data/lib/venetian/playwright_create_extensions.rb +4 -1
  60. data/lib/venetian/system_test_case_extension.rb +3 -1
  61. data/lib/venetian/upstream.rb +1 -1
  62. data/lib/venetian/version.rb +2 -2
  63. data/lib/venetian.rb +4 -19
  64. metadata +23 -18
  65. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-CyWAfh-p.js +0 -11
  66. data/exe/aarch64-linux/package/lib/vite/dashboard/assets/index-DhC616m4.css +0 -1
  67. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-DYjdXIbE.js +0 -129
  68. data/exe/aarch64-linux/package/lib/vite/recorder/assets/index-l_lX622x.css +0 -1
  69. data/exe/aarch64-linux/package/lib/vite/traceViewer/assets/defaultSettingsView-B-dXF5JN.js +0 -181
  70. data/exe/aarch64-linux/package/lib/vite/traceViewer/defaultSettingsView.BLFoOugd.css +0 -1
  71. data/exe/aarch64-linux/package/lib/vite/traceViewer/index.KZ4wOW1K.js +0 -1
  72. data/exe/aarch64-linux/package/lib/vite/traceViewer/uiMode.Dzuouizj.js +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47a7547356ca9e6383aac1a8375d6954299e49170a63655d48e3ea71c630a224
4
- data.tar.gz: 8758516093260660eb9bba47b16b3ab219c1b7d0bb6629282233f3293172f189
3
+ metadata.gz: 0ad6579fb432f5212b65bcfbf8238dca41146e301f3b7b681e156de11f6210c1
4
+ data.tar.gz: 75fd821fb658a6d7f5e65e008f81f5b49411bd752cf85974c8e06c608ab5bd34
5
5
  SHA512:
6
- metadata.gz: 1a26512a205560329612a97597a618346523026af0e589ec87bae7b42df8ee282bd8686e5acc137027f0f9f266f97a9e3696190bb5bb9fb97e165ab824459036
7
- data.tar.gz: a0e2a45bfc9208f5a8496def52427b9f713ac7f7b5e0b8a3c114bf5fce3abe198e78cecdf55ef312d02723d7d2358d6581e2c06e6e528eb7b612b88062e73f95
6
+ metadata.gz: 305fafc06f82a8e7cea8c8e699358317e2781d3beb0b8efdb46ef3ac8a08628abb79de1b52c0c1aef0be5864cd4365c4c2e7ab3c25413f7ab044753b4634b4e3
7
+ data.tar.gz: e1c1b3a383105653bf5601d5aaa11f913a3ed4dd95e3686fd2732c0c7d36aebf0d8be574b13dcc5f167240b736ffdc0084b1acd846c4a5a38db5df6526230ad8
data/README.md CHANGED
@@ -38,9 +38,37 @@ Capybara.register_driver :playwright do |app|
38
38
  end
39
39
  ```
40
40
 
41
+ ### Using `playwright-ruby-client` without Capybara
42
+
43
+ Require the Capybara-free entry point instead, either in your Gemfile if you use `Bundler.require`:
44
+
45
+ ```ruby
46
+ gem "venetian", require: "venetian/playwright"
47
+ ```
48
+
49
+ Or directly:
50
+
51
+ ```ruby
52
+ require "venetian/playwright"
53
+ ```
54
+
55
+ Then use `Venetian.start` in place of `Playwright.create`. It takes the same arguments, with the bundled executable as the default
56
+ `:playwright_cli_executable_path`. Browsers aren't installed automatically here, so install them first, either with
57
+ the [Rake task](#installing-browsers-manually) or `Venetian::BrowserInstaller.install`:
58
+
59
+ ```ruby
60
+ Venetian::BrowserInstaller.install(:chromium)
61
+
62
+ Venetian.start do |playwright|
63
+ playwright.chromium.launch do |browser|
64
+ # ...
65
+ end
66
+ end
67
+ ```
68
+
41
69
  ### Automatic browser and dependency installation
42
70
 
43
- The gem will automatically install a browser and dependencies for you before attempting to use it.
71
+ With Capybara or Rails system tests, the gem will automatically install a browser and dependencies for you before attempting to use it.
44
72
  Browsers are installed to `$XDG_CACHE_HOME/ms-playwright` on Linux, `~/Library/Caches/ms-playwright` on macOS,
45
73
  and `%LOCALAPPDATA%\ms-playwright` on Windows. In CI, you will want to
46
74
  [cache this directory](https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching)
@@ -57,10 +85,15 @@ When parallelizing tests, there's also the issue of multiple processes all tryin
57
85
  if you use Rails system tests with `ActionDispatch::SystemTestCase`,
58
86
  this is handled automatically by installing all required browsers before disabling auto-installation and then forking.
59
87
 
88
+ Browsers aren't installed automatically if you pass your own `:playwright_cli_executable_path`, or connect to a server with
89
+ `:playwright_server_endpoint_url` or `:browser_server_endpoint_url`, since the bundled executable won't be the one running them.
90
+ You can also turn installation off with `Venetian.auto_install_browsers = false`, or just dependency installation with
91
+ `Venetian.auto_install_dependencies = false`.
92
+
60
93
  ### Installing browsers manually
61
94
 
62
95
  If you can't rely on automatic installation, you can use the included Rake task to install browsers.
63
- With Rails this is included automatically when the gem is required.
96
+ With Rails this is included automatically when `venetian` is required (but not `venetian/playwright`).
64
97
 
65
98
  ```bash
66
99
  $ RAILS_ENV=test rails venetian:install
@@ -1785,9 +1785,9 @@ The externally maintained libraries used by Node.js are:
1785
1785
  - zlib, located at deps/zlib, is licensed as follows:
1786
1786
  """
1787
1787
  zlib.h -- interface of the 'zlib' general purpose compression library
1788
- version 1.3.1, January 22nd, 2024
1788
+ version 1.3.2.1, February xxth, 2026
1789
1789
 
1790
- Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
1790
+ Copyright (C) 1995-2026 Jean-loup Gailly and Mark Adler
1791
1791
 
1792
1792
  This software is provided 'as-is', without any express or implied
1793
1793
  warranty. In no event will the authors be held liable for any damages
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/exe/aarch64-linux/node
3
- size: 122077656 bytes
4
- sha256: 3e53e5ff5eaa922f1b4308312d50da9091db62d40b87716ad36c60b347e7f984
3
+ size: 122893672 bytes
4
+ sha256: 0f8949d1028f6d61506b2d5bc57e7e6fe893d7b1997509b7847294fc9c616584
@@ -3,57 +3,34 @@
3
3
  "browsers": [
4
4
  {
5
5
  "name": "chromium",
6
- "revision": "1234",
6
+ "revision": "1243",
7
7
  "installByDefault": true,
8
- "browserVersion": "151.0.7922.34",
8
+ "browserVersion": "153.0.8010.12",
9
9
  "title": "Chrome for Testing"
10
10
  },
11
11
  {
12
12
  "name": "chromium-headless-shell",
13
- "revision": "1234",
13
+ "revision": "1243",
14
14
  "installByDefault": true,
15
- "browserVersion": "151.0.7922.34",
15
+ "browserVersion": "153.0.8010.12",
16
16
  "title": "Chrome Headless Shell"
17
17
  },
18
- {
19
- "name": "chromium-tip-of-tree",
20
- "revision": "1433",
21
- "installByDefault": false,
22
- "browserVersion": "151.0.7893.0",
23
- "title": "Chrome Canary for Testing"
24
- },
25
- {
26
- "name": "chromium-tip-of-tree-headless-shell",
27
- "revision": "1433",
28
- "installByDefault": false,
29
- "browserVersion": "151.0.7893.0",
30
- "title": "Chrome Canary Headless Shell"
31
- },
32
18
  {
33
19
  "name": "firefox",
34
- "revision": "1538",
20
+ "revision": "1543",
35
21
  "installByDefault": true,
36
- "browserVersion": "153.0",
22
+ "browserVersion": "155.0",
37
23
  "title": "Firefox"
38
24
  },
39
- {
40
- "name": "firefox-beta",
41
- "revision": "1526",
42
- "installByDefault": false,
43
- "browserVersion": "152.0b1",
44
- "title": "Firefox Beta"
45
- },
46
25
  {
47
26
  "name": "webkit",
48
- "revision": "2336",
27
+ "revision": "2359",
49
28
  "installByDefault": true,
50
29
  "revisionOverrides": {
51
30
  "mac14": "2251",
52
- "mac14-arm64": "2251",
53
- "ubuntu20.04-x64": "2092",
54
- "ubuntu20.04-arm64": "2092"
31
+ "mac14-arm64": "2251"
55
32
  },
56
- "browserVersion": "26.5",
33
+ "browserVersion": "26.6",
57
34
  "title": "WebKit"
58
35
  },
59
36
  {