def try_add_cookie(self, cookie: dict[str, Any]) -> bool:
        """
        Attempt to add the cookie.

        Suppress any errors, and simply detect success or failure.
        """
        try:
            self.add_cookie(cookie)
        except WebDriverException as e:
            if e.msg and not e.msg.__contains__("Couldn't add the following cookie to the webdriver"):
                raise WebDriverException from e
        return self.is_cookie_in_driver(cookie)

        Attempt to add the cookie.

        Suppress any errors, and simply detect success or failure.
        
requestium/requestium_mixin.py