code: def message(self, driver):
      try:
          element = self._get_element(driver)
          text = "found: " + str(element.text) or str(
              element.get_attribute("value")
          )
      except WebDriverException:
          text = f"{self.selector} not found"
      return f"text -> {self.text} not found inside element within {self.timeout}s, {text}"
  
imports: import time
  import logging
  from selenium.common.exceptions import WebDriverException
  from selenium.webdriver.common.by import By
  from dash.testing.errors import TestingTimeoutError
label_desc: Use image node_id 3 for calling the contains_text obj's underlying member method code with example usage: obj.message(driver) and returns: str, self, str, self, str, text