Assert that the element's text is equal to the provided value

        Args:
            selector (str): the selector used to find the element
            value (str): the value that will be compare
                with the element.text value
            test_id (str): the test_id or a str

        Kwargs:
            wait_until_visible (bool)
            highlight (bool)

        Returns:
            bool: True is the assertion succeed; False otherwise.

def assert_text_equal(self, selector, value, testid=None, **kwargs):
        """Assert that the element's text is equal to the provided value

        Args:
            selector (str): the selector used to find the element
            value (str): the value that will be compare
                with the element.text value
            test_id (str): the test_id or a str

        Kwargs:
            wait_until_visible (bool)
            highlight (bool)

        Returns:
            bool: True is the assertion succeed; False otherwise.
        """
        self.info_log(
            "Assert text equal selector(%s) testid(%s)" % (selector, testid)
        )

        highlight = kwargs.get(
            'highlight',
            BROME_CONFIG['highlight']['highlight_on_assertion_success']
        )
        self.debug_log("effective highlight: %s" % highlight)

        wait_until_visible = kwargs.get(
            'wait_until_visible',
            BROME_CONFIG['proxy_driver']['wait_until_visible_before_assert_visible']  # noqa
        )
        self.debug_log("effective wait_until_visible: %s" % wait_until_visible)

        element = self.find(
            selector,
            raise_exception=False,
            wait_until_visible=wait_until_visible
        )
        if element:
            if element.text == value:
                if highlight:
                    element.highlight(
                        highlight=BROME_CONFIG['highlight']['style_on_assertion_success']  # noqa
                    )
                if testid is not None:
                    self.create_test_result(testid, True)

                return True
            else:
                if highlight:
                    element.highlight(
                        style=BROME_CONFIG['highlight']['style_on_assertion_failure']  # noqa
                    )
                if testid is not None:
                    self.create_test_result(testid, False)

                return False
        else:
            if testid is not None:
                self.create_test_result(testid, False)

            return False