Skip to content

Commit 5a48c62

Browse files
Lightning00BladeChromium LUCI CQ
authored andcommitted
Update README to reflect post M132 change
Updates the description and the command so that they are correct post M132. Bug: none Change-Id: I41e8f8c6d98248e562978d9d3b45ca85e6074cbf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6177739 Reviewed-by: Maksim Sadym <[email protected]> Reviewed-by: Peter Kvitek <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1408541}
1 parent de243dc commit 5a48c62

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

headless/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ As of M118, precompiled `headless_shell` binaries are available for download
99
under the name `chrome-headless-shell` via [Chrome for Testing
1010
infrastructure](https://googlechromelabs.github.io/chrome-for-testing/).
1111

12+
As of M132, headless shell functionality is no longer part of
13+
the Chrome binary, so --headless=old has no effect.
14+
If you are using old Headless functionality you should
15+
now migrate to `chrome-headless-shell`.
16+
[Read more](https://developer.chrome.com/blog/removing-headless-old-from-chrome).
17+
1218
There are two ways to use Headless Chromium:
1319

1420
## Usage via the DevTools remote debugging protocol
1521

16-
1. Start a normal Chrome binary with the `--headless=old` command line flag:
22+
1. Start Chrome in headless mode using the `--headless` command line flag:
1723

1824
```sh
19-
$ chrome --headless=old --remote-debugging-port=9222 https://chromium.org/
25+
$ chrome --headless --remote-debugging-port=9222 https://chromium.org/
2026
```
2127

2228
2. Navigate to `chrome://inspect/` in another instance of Chrome.

0 commit comments

Comments
 (0)