Direct answer
Yes. Both headless and headed modes work, and in headed mode the browser window appears right in the remote desktop. How the target website treats automated traffic is not something we can guarantee.
Basis
- Playwright downloads its own managed Chromium, Firefox and WebKit with
npx playwright install, into the user directory. Details are in the official docs. - On macOS you can run tests against the WebKit engine. It is not the same program as release Safari, but it is a useful reference for catching rendering issues in Apple's browsers.
- These tools drive the browser through a debugging protocol and do not simulate system-level mouse and keyboard input, so there is no need to grant Accessibility or Screen Recording under Privacy & Security.
- After you disconnect from the remote desktop, a headed browser keeps running as long as the user stays logged in.
Boundaries: when the answer is different
Testing your own site and running end-to-end regression are a good fit for this machine. Using it to scrape other people's websites in bulk means reading their terms first: unauthorized scanning, harassing bulk messaging and circumventing third-party platforms' security mechanisms are all prohibited uses with us, and violations can get the machine suspended. Consider the exit as well: the machine uses US residential broadband and the public exit may be shared with other machines, so which address the target site sees, and whether it shows a verification challenge, is beyond our control. Browser instances use a lot of memory; set the parallel count according to the machine's configuration.
How to do it
- Run
npm init playwright@latestin the project and follow the prompts to generate the config. - Run
npx playwright installto download the browsers. - Start with
npx playwright test --headedand watch the actual run once in the remote desktop. - Once it is stable, switch back to headless, run it inside tmux and write the report to a file.
- Have Claude Code read the reports and screenshots of failed cases to fix them, rather than staring at the screen yourself.
Related questions
- Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance
- Can an AI agent control the screen and browser on a rented Mac?
- Can Claude Code on a remote Mac mini use MCP servers?
- Is the network exit on my rented Mac mini used only by me?
- How can I test my site or app from a US network? Rent a real Mac in the United States
Use case
This question belongs to the use case: Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance
Other questions in the same use case:
- Can I clone private company repos on a rented Mac mini, and where do keys go?
- Can several people on a team share one remote Mac mini?
- Do I have to sign in with an Apple ID to run Claude Code on a remote Mac mini?
- Can I schedule Claude Code to run unattended (headless) on a remote Mac mini?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support