Skip to content
CodeKruPro

Online Playwright Python Compiler

About this tool

About this Playwright Python compiler

This free online Playwright Python compiler runs your script against a real Chromium browser on our servers. Write Python, click Run, and the console shows the output as it runs. You do not need to install Python, Playwright or its browsers.

  • Python 3.12in a virtual env
  • Playwrightfor Python
  • Chromiumheadless, on our servers
  • Freeno sign-up to run

How to run Playwright Python online

  1. Write a normal Python script with the sync or async API. The starter code is a working example.
  2. Start the browser with p.chromium.launch(). It launches headless Chromium for you.
  3. Click Run. The script runs as main.py in its own container.
  4. Read the output and errors in the console. Sign in to save a script or share a link.

What's installed

  • Python 3.12
  • Playwright for Python and pytest-playwright
  • Chromium, ready to launch
  • Internet access, so your script can open any public website

Limits

  • The browser runs headless. You see console output, not a browser window.
  • The code runs as a plain script with python main.py, not through pytest.
  • Each run gets 1 CPU and 2 GB of memory. Code can be up to 100,000 characters.
  • You can run up to 20 scripts a minute.

Frequently asked questions

Is the Playwright Python compiler free?

Yes. Running code is free and needs no account. Saving and sharing scripts needs a free sign-in.

Do I need to run playwright install?

No. Chromium is already installed in the container, so launch() works straight away.

Can I use the async API?

Yes. Use async_playwright() with asyncio.run() as you would locally.