<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How do you run Playwright in serverless functions?]]></title><description><![CDATA[<p>I'm building a web app that generates PDF invoices for small businesses, and I use Playwright to open the invoice preview before exporting it. Everything works fine locally, but moving the process to AWS Lambda has been a pain. Chromium needs extra libraries, cold starts are slow, and packaging the whole browser into a function feels excessive for something that only runs when a customer creates an invoice. Is there a better way to handle this without keeping a dedicated browser server running all day?</p>
]]></description><link>https://users.fbx.gg/forum/topic/1120/how-do-you-run-playwright-in-serverless-functions</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 22:20:13 GMT</lastBuildDate><atom:link href="https://users.fbx.gg/forum/topic/1120.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Nov 2026 06:28:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do you run Playwright in serverless functions? on Invalid Date]]></title><description><![CDATA[<p>I'm building a web app that generates PDF invoices for small businesses, and I use Playwright to open the invoice preview before exporting it. Everything works fine locally, but moving the process to AWS Lambda has been a pain. Chromium needs extra libraries, cold starts are slow, and packaging the whole browser into a function feels excessive for something that only runs when a customer creates an invoice. Is there a better way to handle this without keeping a dedicated browser server running all day?</p>
]]></description><link>https://users.fbx.gg/forum/post/3547</link><guid isPermaLink="true">https://users.fbx.gg/forum/post/3547</guid><dc:creator><![CDATA[Petru Movila]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How do you run Playwright in serverless functions? on Invalid Date]]></title><description><![CDATA[<p>That's a lot of machinery just to produce an invoice. Before spending more time on Chromium, see whether your PDF templates actually need a browser to render. For simple HTML invoices, server-side PDF generation might be enough. If Playwright is necessary, try a Lambda-compatible Chromium build with its dependencies in a layer or container image. Put the jobs in a queue and save completed PDFs to S3. Customers can get their files when they're ready without waiting through a cold start.</p>
]]></description><link>https://users.fbx.gg/forum/post/3548</link><guid isPermaLink="true">https://users.fbx.gg/forum/post/3548</guid><dc:creator><![CDATA[Matthew Blunter]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How do you run Playwright in serverless functions? on Invalid Date]]></title><description><![CDATA[<p>The browser itself is only half the trouble. You still have to deal with updates, missing libraries, and memory limits whenever something changes. Another option is to keep Playwright in your Lambda function but run Chromium remotely. Take a look at how a Playwright automation tool in the cloud works: <a href="https://gologin.com/blog/playwright-automation-tool-in-the-cloud/" rel="nofollow">https://gologin.com/blog/playwright-automation-tool-in-the-cloud/</a> . Test it with invoices containing long tables and custom fonts. Measure connection time, PDF generation speed, and session costs. Make sure remote browsers close after each job so unused sessions don't keep costing you money.</p>
]]></description><link>https://users.fbx.gg/forum/post/3549</link><guid isPermaLink="true">https://users.fbx.gg/forum/post/3549</guid><dc:creator><![CDATA[Paco Alcazer]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>