playwright-core 1.57.0-alpha-2025-10-30 → 1.57.0-alpha-1761929702000

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.
@@ -23,7 +23,7 @@ if [ ! -f "/home/$Username/node/bin/node" ]; then
23
23
  mkdir -p /home/$Username/node
24
24
  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
25
25
  tar -xJf /home/$Username/node/node-v22.17.0-linux-x64.tar.xz -C /home/$Username/node --strip-components=1
26
- echo 'export PATH=/home/$Username/node/bin:$PATH' >> /home/$Username/.bashrc
26
+ sudo -u $Username echo 'export PATH=/home/$Username/node/bin:\`$PATH' >> /home/$Username/.profile
27
27
  fi
28
28
  /home/$Username/node/bin/node cli.js install-deps webkit
29
29
  sudo -u $Username PLAYWRIGHT_SKIP_BROWSER_GC=1 /home/$Username/node/bin/node cli.js install webkit
package/browsers.json CHANGED
@@ -3,15 +3,15 @@
3
3
  "browsers": [
4
4
  {
5
5
  "name": "chromium",
6
- "revision": "1194",
6
+ "revision": "1198",
7
7
  "installByDefault": true,
8
- "browserVersion": "141.0.7390.37"
8
+ "browserVersion": "142.0.7444.53"
9
9
  },
10
10
  {
11
11
  "name": "chromium-headless-shell",
12
- "revision": "1194",
12
+ "revision": "1198",
13
13
  "installByDefault": true,
14
- "browserVersion": "141.0.7390.37"
14
+ "browserVersion": "142.0.7444.53"
15
15
  },
16
16
  {
17
17
  "name": "chromium-tip-of-tree",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  {
41
41
  "name": "webkit",
42
- "revision": "2222",
42
+ "revision": "2225",
43
43
  "installByDefault": true,
44
44
  "revisionOverrides": {
45
45
  "debian11-x64": "2105",
@@ -676,8 +676,7 @@ class Page extends import_channelOwner.ChannelOwner {
676
676
  return result.pdf;
677
677
  }
678
678
  async _snapshotForAI(options = {}) {
679
- const result = await this._channel.snapshotForAI({ timeout: this._timeoutSettings.timeout(options), track: options.track, mode: options.mode });
680
- return result.snapshot;
679
+ return await this._channel.snapshotForAI({ timeout: this._timeoutSettings.timeout(options), track: options.track });
681
680
  }
682
681
  }
683
682
  class BindingCall extends import_channelOwner.ChannelOwner {