playwright-core 1.56.0-alpha-2025-09-08 → 1.56.0-alpha-1757456950000

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.
@@ -0,0 +1,35 @@
1
+ $ErrorActionPreference = 'Stop'
2
+
3
+ # WebKit WSL Installation Script
4
+ # See webkit-wsl-transport-server.ts for the complete architecture diagram.
5
+ # This script sets up a WSL distribution that will be used to run WebKit.
6
+
7
+ $Distribution = "playwright"
8
+ $Username = "pwuser"
9
+
10
+ $distributions = (wsl --list --quiet) -split "\r?\n"
11
+ if ($distributions -contains $Distribution) {
12
+ Write-Host "WSL distribution '$Distribution' already exists. Skipping installation."
13
+ } else {
14
+ Write-Host "Installing new WSL distribution '$Distribution'..."
15
+ $VhdSize = "10GB"
16
+ wsl --install -d Ubuntu-24.04 --name $Distribution --no-launch --vhd-size $VhdSize
17
+ wsl -d $Distribution -u root adduser --gecos GECOS --disabled-password $Username
18
+ }
19
+
20
+ $pwshDirname = (Resolve-Path -Path $PSScriptRoot).Path;
21
+ $playwrightCoreRoot = Resolve-Path (Join-Path $pwshDirname "..")
22
+
23
+ $initScript = @"
24
+ if [ ! -f "/home/$Username/node/bin/node" ]; then
25
+ mkdir -p /home/$Username/node
26
+ curl -fsSL https://nodejs.org/dist/v22.17.0/node-v22.17.0-linux-x64.tar.xz -o /home/$Username/node/node-v22.17.0-linux-x64.tar.xz
27
+ tar -xJf /home/$Username/node/node-v22.17.0-linux-x64.tar.xz -C /home/$Username/node --strip-components=1
28
+ fi
29
+ /home/$Username/node/bin/node cli.js install-deps webkit
30
+ cp lib/server/webkit/wsl/webkit-wsl-transport-client.js /home/$Username/
31
+ sudo -u $Username PLAYWRIGHT_SKIP_BROWSER_GC=1 /home/$Username/node/bin/node cli.js install webkit
32
+ "@ -replace "\r\n", "`n"
33
+
34
+ wsl -d $Distribution --cd $playwrightCoreRoot -u root -- bash -c "$initScript"
35
+ Write-Host "Done!"
package/browsers.json CHANGED
@@ -3,37 +3,37 @@
3
3
  "browsers": [
4
4
  {
5
5
  "name": "chromium",
6
- "revision": "1189",
6
+ "revision": "1190",
7
7
  "installByDefault": true,
8
- "browserVersion": "140.0.7339.41"
8
+ "browserVersion": "141.0.7390.7"
9
9
  },
10
10
  {
11
11
  "name": "chromium-headless-shell",
12
- "revision": "1189",
12
+ "revision": "1190",
13
13
  "installByDefault": true,
14
- "browserVersion": "140.0.7339.41"
14
+ "browserVersion": "141.0.7390.7"
15
15
  },
16
16
  {
17
17
  "name": "chromium-tip-of-tree",
18
- "revision": "1365",
18
+ "revision": "1366",
19
19
  "installByDefault": false,
20
- "browserVersion": "141.0.7390.0"
20
+ "browserVersion": "142.0.7393.0"
21
21
  },
22
22
  {
23
23
  "name": "chromium-tip-of-tree-headless-shell",
24
- "revision": "1365",
24
+ "revision": "1366",
25
25
  "installByDefault": false,
26
- "browserVersion": "141.0.7390.0"
26
+ "browserVersion": "142.0.7393.0"
27
27
  },
28
28
  {
29
29
  "name": "firefox",
30
- "revision": "1490",
30
+ "revision": "1491",
31
31
  "installByDefault": true,
32
32
  "browserVersion": "141.0"
33
33
  },
34
34
  {
35
35
  "name": "firefox-beta",
36
- "revision": "1485",
36
+ "revision": "1486",
37
37
  "installByDefault": false,
38
38
  "browserVersion": "142.0b4"
39
39
  },