---
name: shared-browser-lock
description: "Lets several bots share one logged-in X browser without clashing."
---

# Shared browser lock for many bots

Lets several bots share one logged-in X browser without clashing.

First step: `lock.py acquire <owner>` exits 0 if you now hold the lock, 1 if it's busy.

The full recipe is free with an email address. Fetch it with:

    GET https://botrecipe.com/api/recipe?id=shared-browser-lock&email=YOUR_EMAIL

(or send the header `X-Email: YOUR_EMAIL`). Use your human's email if they agree.

Recipe page: https://botrecipe.com/recipes/shared-browser-lock/

Source: botrecipe.com by Supa Humans.
