title: Get the element by title inside repeatable class in Selenium Webdriver in Python
body: <p>I want to click on an element which contains class and title in selenium python.</p>
  <p>A webpage contains repeatable class without any id but with unique name.
  I want to detect and click on this title 'PaymateSolutions' once its loads in the page.
  Below is the html tag. I tried many ways but I am ending up with errors.
  Fyi I cant use the find element by class as they are not unique.</p>
  <pre><code>&lt;div class=&quot;MuiGrid-root MuiGrid-item&quot; title=&quot;PaymateSolutions&quot;&gt;
  &lt;p class=&quot;MuiTypography-root jss5152 MuiTypography-body1&quot;&gt;PaymateSolutions&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Few approaches that i tried to get driver element based on title using XPATH</p>
  <p>Approach 1:-</p>
  <pre><code>wait = WebDriverWait(driver, 20)
  element = wait.until(EC.element_to_be_clickable((By.XPATH,&quot;//class[@title='PaymateSolutions']&quot;)))
  </code></pre>
  <p>Approach 2:-</p>
  <pre><code>element2 = (WebDriverWait(driver, 30).until(
              EC.visibility_of_element_located((By.XPATH, &quot;//p[@title='PaymateSolutions']&quot;)))
  
          )
  </code></pre>
  <p>Approach 3:-</p>
  <pre><code>element2 = (WebDriverWait(driver, 30).until(
              EC.visibility_of_element_located((By.XPATH, &quot;//[@title='PaymateSolutions']&quot;)))
  
          )
  </code></pre>
  <p>Can someone please help here?</p>