Replies: 2 comments 1 reply
|
我也有这个需求,自动化测试时需要启用参数--remote-debugging-port I also have this requirement, which is to enable the parameter ‘--remote-debugging-port’ during automated testing |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I’m currently researching options for E2E testing of a Wails v2 desktop app using Playwright or Selenium, which rely on CDP (Chrome DevTools Protocol) for WebView2 automation.
I understand that Wails uses WebView2 internally, and CDP can be enabled via the
--remote-debugging-port=9222flag. (playwright doc)However:
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTSenv variable has no effect when launching the app.Questions:
• Is there a documented or recommended way to enable CDP (--remote-debugging-port) for Wails production builds?
• Are there plans to support this as a first-class feature for E2E testing?
All reactions