00:03:26.544 04 06 2024 22:10:21.433:ERROR [launcher]: Cannot start ChromeHeadless 00:03:26.544 [0604/221021.426451:ERROR:headless_shell.cc(266)] Multiple targets are not supported. 00:03:26.544 00:03:26.544 04 06 2024 22:10:21.433:ERROR [launcher]: ChromeHeadless stdout: 00:03:26.545 04 06 2024 22:10:21.433:ERROR [launcher]: ChromeHeadless stderr: [0604/221021.426451:ERROR:headless_shell.cc(266)] Multiple targets are not supported.
Chromium C code has:
if (headless::IsHeadlessMode()) { if (command_line->GetArgs().size() > 1) { LOG(ERROR) << "Multiple targets are not supported in headless mode."; return chrome::RESULT_CODE_UNSUPPORTED_PARAM; }
Comes from https://chromium-review.googlesource.com/c/chromium/src/+/4160268 which was released with 111.0.5546.0.