Skip to content

Conversation

@mrkstwrt
Copy link
Contributor

@mrkstwrt mrkstwrt commented Nov 7, 2025

Resolves #33684

@dgozman
Copy link
Contributor

dgozman commented Nov 7, 2025

@mrkstwrt Thank you for the PR!

Somehow it feels that this API does not belong to Playwright. It looks like NODE_OPTIONS or --conditions should be passed to the Node.js process that runs Playwright, instead of Playwright handling all of that.

If we consider the proposed API, it should apply to the runner process that loads the config and initially loads all tests. I don't think the implementation in this PR supports it, and it's unlikely it can achieve so with execArgv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Allow specifying custom export conditions in playwright test config

2 participants