On https://github.com/Igalia/cog/pull/561 Cog was patched to allow specifying a platform plugin name via the env variable COG_PLATFORM_NAME So the run-minibrowser script should check for this env var case when deciding which Cog platform plugin to select to avoid an override.
Pull request: https://github.com/WebKit/WebKit/pull/13237
Committed 263463@main (f081085077e6): <https://commits.webkit.org/263463@main> Reviewed commits have been landed. Closing PR #13237 and removing active labels.