---
title: "💭 Simon Willison on X: \"TIL Google Chrome has a --headless optio..."
description: "!https://twitter.com/simonw/status/1772043579231445366"
date: 2024-03-25
published: true
tags:
  - webdev
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://twitter.com/simonw/status/1772043579231445366" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-content">
      <div class="embed-card-title">External Link</div>
      <div class="embed-card-meta">X (formerly Twitter) &middot; twitter.com</div>
    </div>
  </a>
</div>


Huh, so this is just built right into the chrome cli.

``` python
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --headless \
  --screenshot=/tmp/shot1.png \
  https://simonwillison.net
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
