Antigravity browser agent not working on Apple Silicon (Mac OS X)

The browser agent chrome-devtools-mcp in Antigravity IDE has completely stopped working on my Antigravity IDE (v2.1.1) running on M4 Mac Mini (Mac OS v26.5.2).
1.) If I click the browser icon on the top right, next to the settings icon, nothing happens.
2.) Asking a prompt to the agent in the chat window to open the browser tool and perform some UI front end related task like

Run the npm run dev for this frontend project , open the localhost url on browser agent tool and change the color of the footer to pink

also fails because of some playwright driver issue on my mac
Failed to complete task because the browser environment failed to initialize. The open_browser_url tool failed with the following error: failed to create browser context: failed to run playwright manager: failed to install playwright: could not install driver: could not install driver: error: got non 200 status code: 404 (404 Not Found) from ``https://playwright.azureedge.net/builds/driver/playwright-1.57.0-mac-arm64.zip

Tried reinstalling playwright drivers manually with npx command with the support from Google One Tech support team (see conversation here: AntiGravity Support - Google Drive )
and that was also was not fruitful. How do i get my browser agent working again in my AntiGravity IDE?

I’m facing the same issue is there a solution for this issue ?

Hi @diliprk,

I wasn’t able to reproduce this issue on my end-the Browser Agent launched successfully and was able to open a local development server.

Could you please help us with a few more details?

  • The model you were used when this issue occurs?
  • Does the issue still occur after updating to the latest version of Antigravity IDE?
  • Could you please open your Developer Tools (Help → Toggle Developer Tools) immediately after reproducing the issue and share any errors from the console?
  • Please also share the Agent logs from the failed browser task, if available?

Any luck on figuring it out?

It’s the same for me. Is there anyone can figure out this?

hey, I try to offline install, it work! Here is the step, I download the offline install file bypass registry .npmmirror.com/binary.html?path=playwright/builds/driver/. And then tell antigravity ide agent to install. Below is its summarize tutorial.

How to Fix playwright-go Driver 404 Error (Manual Recovery Guide)

:red_circle: The Problem

When Antigravity (or any app using playwright-go) tries to initialize browser automation, it may fail with a CDN download error:

failed to create browser context: failed to run playwright manager: failed to install playwright: could not install driver: error: got non 200 status code: 404 (404 Not Found) from https://playwright.azureedge.net/builds/driver/playwright-1.57.0-mac-arm64.zip

This happens because playwright-go checks its local driver cache, finds it empty, and attempts to fetch the driver bundle from an Azure CDN URL that is returning 404 Not Found (or is blocked by network policies).


:green_circle: The Solution: Offline Driver Installation

You can manually restore the driver by extracting the driver archive into playwright-go’s local cache directory.

Step 1: Obtain the Driver Archive

Download the matching driver zip for your version and architecture (e.g., playwright-1.57.0-mac-arm64.zip for macOS Apple Silicon) from a mirror, another working machine, or GitHub releases.

Step 2: Locate or Create the Cache Directory

By default, playwright-go looks for the driver in:

  • macOS: ~/Library/Caches/ms-playwright-go/<version>/
  • Linux: ~/.cache/ms-playwright-go/<version>/
  • Windows: %USERPROFILE%\AppData\Local\ms-playwright-go\<version>\

For version 1.57.0 on macOS, create the folder if it doesn’t exist:

mkdir -p ~/Library/Caches/ms-playwright-go/1.57.0

Step 3: Extract the Driver into the Cache

Extract the contents of the zip file directly into the version directory:

unzip -q -o /path/to/playwright-1.57.0-mac-arm64.zip -d ~/Library/Caches/ms-playwright-go/1.57.0

After unzipping, your cache directory structure should look like this:

~/Library/Caches/ms-playwright-go/1.57.0/
├── LICENSE

├── node          <-- Executable Node.js binary

└── package/      <-- Playwright CLI & libraries (contains package/cli.js)

Step 4: Grant Execution Permissions

Ensure the bundled Node binary has execute permissions:

chmod +x ~/Library/Caches/ms-playwright-go/1.57.0/node

Step 5: Install Browser Kernel (Optional / If Needed)

If the Chromium browser kernel is also missing from ~/Library/Caches/ms-playwright/, install it using the restored local Playwright CLI:

~/Library/Caches/ms-playwright-go/1.57.0/node ~/Library/Caches/ms-playwright-go/1.57.0/package/cli.js install chromium

Step 6: Verify

Relaunch your browser task in Antigravity. The engine will detect the valid driver files inside ~/Library/Caches/ms-playwright-go/1.57.0/, bypass the CDN download entirely, and launch the browser successfully.

I did these steps, and restarted AntiGravity but for a simple task like open this link localhost:3000 on the browser tool and take a screenshot it is struggling! . It keeps opening multiple incognito windows using the antigravity browser control extension but the link is not getting opened ?

When I explicity specify to do this task using chtome-devtools-mcp tools it works and is able to complete this operation

Hey everyone! I ran into the exact same issue — the browser agent completely broken with the 404 Not Found error when downloading playwright-1.57.0-mac-arm64.zip from the Azure CDN.

I found a working fix by doing an offline installation of the Playwright driver. Credit to @quanbisen for the original hint!

The Problem

The Antigravity browser agent uses playwright-go internally, which tries to download the driver from playwright.azureedge.net. That URL returns 404 for version 1.57.0 on mac-arm64, so the browser never initializes.

The Fix (Step by Step)

You can simply paste this prompt into your Antigravity IDE agent and let it do everything automatically:

Fix the Playwright browser agent 404 error by doing an offline driver installation. Run these commands in order:

1. Download the driver from npmmirror (a working mirror):
   curl -L -o /tmp/playwright-driver.zip "https://registry.npmmirror.com/-/binary/playwright/builds/driver/playwright-1.57.0-mac-arm64.zip"

2. Create the cache directory if it doesn't exist:
   mkdir -p ~/Library/Caches/ms-playwright-go/1.57.0

3. Extract the driver into the cache:
   unzip -q -o /tmp/playwright-driver.zip -d ~/Library/Caches/ms-playwright-go/1.57.0

4. Set execute permission:
   chmod +x ~/Library/Caches/ms-playwright-go/1.57.0/node

5. Install Chromium browser kernel:
   ~/Library/Caches/ms-playwright-go/1.57.0/node ~/Library/Caches/ms-playwright-go/1.57.0/package/cli.js install chromium

6. Clean up:
   rm /tmp/playwright-driver.zip

After completing all steps, verify the fix by using the browser agent to open any URL.

Platform-Specific Notes

Platform Cache Directory
macOS ARM (M1/M2/M3/M4) ~/Library/Caches/ms-playwright-go/1.57.0/
macOS Intel ~/Library/Caches/ms-playwright-go/1.57.0/ (use playwright-1.57.0-mac-x64.zip instead)
Linux x64 ~/.cache/ms-playwright-go/1.57.0/ (use playwright-1.57.0-linux.zip instead)
Windows %USERPROFILE%\AppData\Local\ms-playwright-go\1.57.0\

Mirror Download URLs

  • macOS ARM: https://registry.npmmirror.com/-/binary/playwright/builds/driver/playwright-1.57.0-mac-arm64.zip
  • macOS Intel: https://registry.npmmirror.com/-/binary/playwright/builds/driver/playwright-1.57.0-mac-x64.zip
  • Linux: https://registry.npmmirror.com/-/binary/playwright/builds/driver/playwright-1.57.0-linux.zip

Verified Working On

  • Device: Mac Mini M4
  • OS: macOS
  • Antigravity IDE: Latest version
  • Result: Browser agent fully functional after fix :white_check_mark:

Hope this helps! The key insight is that the driver files just need to exist in the right cache directory — once they’re there, playwright-go skips the CDN download entirely.

In the existing ~/Library/Caches folder in my Mac there is the following data:

john.doe@johns-Mac-mini Caches % ls -la
total 176
drwx------+ 100 john.doe  staff   3200 31 Jul 10:38 .
drwx------@ 100 john.doe  staff   3200 10 Jun 15:41 ..
drwxr-xr-x    7 john.doe  staff    224 15 Jan  2026 Adobe
drwxr-xr-x@   8 john.doe  staff    256 27 Jul 10:05 ms-playwright
drwxr-xr-x    3 john.doe  staff     96 28 Jul 10:33 ms-playwright-go
.....
drwxr-xr-x    5 john.doe  staff    160 29 Jul 16:54 ssu
drwxr-xr-x@   3 john.doe  staff     96 28 Jul 15:41 typescript
john.doe@johns-Mac-mini Caches % cd ms-playwright
john.doe@johns-Mac-mini ms-playwright % ls -la
total 0
drwxr-xr-x@   8 john.doe  staff   256 27 Jul 10:05 .
drwx------+ 100 john.doe  staff  3200 31 Jul 10:38 ..
drwxr-xr-x@   4 john.doe  staff   128 27 Jul 10:05 .links
drwxr-xr-x@   5 john.doe  staff   160 14 Jul 14:52 chromium_headless_shell-1200
drwxr-xr-x@   5 john.doe  staff   160 14 Jul 14:52 chromium-1200
drwxr-xr-x@   6 john.doe  staff   192 14 Jul 14:52 ffmpeg-1011
drwxr-xr-x@   5 john.doe  staff   160 14 Jul 14:52 firefox-1497
drwxr-xr-x@  17 john.doe  staff   544 14 Jul 14:52 webkit-2227
john.doe@johns-Mac-mini ms-playwright % cd ../ms-playwright-go 
john.doe@johns-Mac-mini ms-playwright-go % ls -la
total 0
drwxr-xr-x    3 john.doe  staff    96 28 Jul 10:33 .
drwx------+ 100 john.doe  staff  3200 31 Jul 10:38 ..
drwxr-xr-x    2 john.doe  staff    64 28 Jul 10:33 1.57.0
john.doe@johns-Mac-mini ms-playwright-go % pwd
/Users/john.doe/Library/Caches/ms-playwright-go

Should the existing ms-playwright-go and ms-playwright folder both be completely removed using rm -rf ~/Library/Cache/ms-playwright-go and rm -rf ~/Library/Cache/ms-playwright before executing your prompt ?

WORKS!!! Confirmed it works