docstr: find_element returns the first found element by the attribute `selector`
  shortcut to `driver.find_element(By.CSS_SELECTOR, ...)`.
  args:
  - attribute: the attribute type to search for, aligns with the Selenium
      API's `By` class. default "CSS_SELECTOR"
      valid values: "CSS_SELECTOR", "ID", "NAME", "TAG_NAME",
      "CLASS_NAME", "LINK_TEXT", "PARTIAL_LINK_TEXT", "XPATH"
code: def find_element(self, selector, attribute="CSS_SELECTOR"):
      """find_element returns the first found element by the attribute `selector`
      shortcut to `driver.find_element(By.CSS_SELECTOR, ...)`.
      args:
      - attribute: the attribute type to search for, aligns with the Selenium
          API's `By` class. default "CSS_SELECTOR"
          valid values: "CSS_SELECTOR", "ID", "NAME", "TAG_NAME",
          "CLASS_NAME", "LINK_TEXT", "PARTIAL_LINK_TEXT", "XPATH"
      """
      return self.driver.find_element(
          getattr(By, attribute.upper()), selector
      )
  
imports: import os
  import sys
  import time
  import logging
  import warnings
  import percy
  import requests
  from selenium import webdriver
  from selenium.webdriver.support import expected_conditions
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.wait import WebDriverWait
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.common.exceptions import WebDriverException, TimeoutException, MoveTargetOutOfBoundsException
  from dash.testing.wait import text_to_equal, style_to_equal, class_to_equal, contains_text, contains_class, until
  from dash.testing.dash_page import DashPageMixin
  from dash.testing.errors import DashAppLoadingError, BrowserError, TestingTimeoutError
  from dash.testing.consts import SELENIUM_GRID_DEFAULT
label_desc: Use image node_id 7 for calling the Browser obj's underlying member method code with example usage: obj.find_element(selector, attribute) and returns: self