Repository navigation
feat(cli): expose launch options as open flags - #43088
Closed
Pavel Feldman (pavelfeldman) wants to merge 1 commit into
Closed
Pavel Feldman (pavelfeldman) wants to merge 1 commit into
Pavel Feldman (pavelfeldman) wants to merge 1 commit into
Conversation
Every browser launch option that was only reachable through .playwright/cli.config.json or PLAYWRIGHT_MCP_* env vars is now an `open` flag: --proxy, --proxy-bypass, --ignore-https-errors, --user-agent, --executable-path, --init-script, --extension, --state, --allowed-origins and --blocked-origins. The skill documents the flags and their environment variable counterparts. Credentials embedded in the proxy URL are moved into username/password, and HTTPS_PROXY / HTTP_PROXY / NO_PROXY are honored when no proxy is configured otherwise. Unpacked extensions get the Chromium switches, the default --disable-extensions dropped, the bundled Chromium build (Google Chrome no longer loads unpacked extensions) and a persistent profile. The MCP server gets the matching --load-extension flag.
Yury Semikhatsky (yury-s)
approved these changes
Oct 3, 2026
Yury Semikhatsky (yury-s)
left a comment
Member
There was a problem hiding this comment.
I don't mind, but there are 0 requests for it.
Contributor
Test results for "MCP"9248 passed, 1750 skipped Merge workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
opengains--proxy,--proxy-bypass,--ignore-https-errors,--user-agent,--executable-path,--init-script,--extension,--state,--allowed-originsand--blocked-origins, so these no longer require a config file; the skill documents the flags and their env var counterparts.HTTPS_PROXY/HTTP_PROXY/NO_PROXYare honored when no proxy is configured otherwise.--extensionloads an unpacked extension: adds the Chromium switches, drops the default--disable-extensions, uses the bundled Chromium (Google Chrome no longer loads unpacked extensions) and a persistent profile. MCP gets the matching--load-extension.