code: def element_contains(self, element_id, value):
      
  
      elements = ElementSelector(
          world.browser,
          str('id("{id}")[contains(., "{value}")]'.format(
              id=element_id, value=value)),
          filter_displayed=True,
      )
      if not elements:
          raise AssertionError("Expected element not found.")
docs: Assert provided content is contained within an element found by ``id``.