Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: pass channel to playwright #685

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

achingbrain
Copy link
Collaborator

The 1.49.0 release of playwright has a breaking change due to a new version of headless mode in chromium.

The upshot is that playwright now seems to require a channel to be passed in it's config.

Without this chrome test runs fail with:

 browserType.launchPersistentContext: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Refactor (non-breaking change that updates existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Comments have been added/updated

The 1.49.0 release of playwright has a breaking change due to a new version of headless mode in chromium.

The upshot is that playwright now seems to require a channel to be passed in it's config.

Without this chrome test runs fail with:

```
 browserType.launchPersistentContext: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell
```
achingbrain added a commit to ipfs/aegir that referenced this pull request Nov 19, 2024
Playwright-core is breaking all chrome testing after the `1.49.0`
release so override the resolved version to `1.48.0`.

This can be reverted after hugomrdias/playwright-test#685
is merged.
achingbrain added a commit to ipfs/aegir that referenced this pull request Nov 19, 2024
Playwright-core is breaking all chrome testing after the `1.49.0`
release so override the resolved version to `1.48.0`.

This can be reverted after hugomrdias/playwright-test#685
is merged.
@hugomrdias hugomrdias merged commit 810adfb into master Nov 19, 2024
6 checks passed
@hugomrdias hugomrdias deleted the fix/pass-channel-to-playwright branch November 19, 2024 11:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants