Tech
Shipping Playwright's Chromium inside a packaged Electron app
Electron already contains a Chromium. Our app bundles a second one.
That sounds absurd until you try to scrape with the first. Electron's Chromium is the one rendering your UI — it shares a process tree with your app, its automation surface is not what Playwright expects, and using it for background page loads means your scraping and your interface are competing for the same renderer. We drive a separate Playwright-managed Chromium instead, and the awkward part is getting that browser into a ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to