Problem
Our Electron application uses BrowserView (https://electronjs.org/docs/latest/api/browser-view).
We noticed Playwright can fully automate BrowserWindow via electronApp.firstWindow(),
but BrowserView is not exposed as a Page.
We need official clarification on:
- Whether BrowserView automation is supported
- If not, whether CDP is the recommended workaround
What we tested
- electron.launch() works
- electronApp.firstWindow() returns only BrowserWindow
- BrowserView WebContents does not map to a Playwright Page
- We attempted CDP (chromium.connectOverCDP), it is workaround right?
Request
Please confirm:
- BrowserView is not directly automatable by Playwright