def METHOD_NAME(sarge):
    """Verify we raise an exception if we can't initialize the browser library"""
    cmd = str([sys.executable, "-m", "Browser.entry", "init"])
    sarge.Command.side_effect = mock_Command(returncodes={cmd: 1})
    with mock.patch("cumulusci.cli.robot._is_package_installed", return_value=False):
        with pytest.raises(
            click.exceptions.ClickException,
            match="unable to initialize browser library",
        ):
            run_cli_command("robot", "install_playwright")