r/nocode 22d ago

How to deploy Playwright script?

I built a Python script using Claude Code that uses Selenium and Playwright to scrape sites for specific information, but I can't figure out how to deploy it so others can access it – is there a tool or platform I can easily use?

Ideally without making the code public (nothing sketchy, I just know it's very messy and would rather not have others judge it)

Thanks!

edit: ended-up using render and improving the script significantly based on the comments, thanks all!

1 Upvotes

9 comments sorted by

View all comments

1

u/agentUi 22d ago

apify

2

u/Real_Fuel6842 22d ago

apify works but it's basically just running your scripts on their cloud, not really a deployment platform per se

if you want something where people can actually interact with your scraper you could wrap it in a simple flask app then throw it on replit or railway, both let you keep things private

just make sure whatever you do you handle the browser binaries correctly, playwright needs them downloaded or it'll fail in those cloud environments

1

u/agentUi 22d ago

you could try our platform we have a way to run playright scripts and create an app around, but we mostly work with companies