title: Docu Sign - how to click on multiple Sign here buttons inside a iframe
body: <p>I have a docu sign page inside an iframe, and on the page there are multiple 'Sign Here' buttons which are dynamic - one test case can have 2 another can have 3 signatures.</p>
  
  <p>and the actual x-path has a dynamic id trailing the element id - here is how it looks
  Actual X-PATH</p>
  
  <pre><code>//*[@id="tab-form-element-c9ea21e9-9ef1-4867-bd1c-b1fdc9bed6c6"]
  </code></pre>
  
  <p>I tried to use contains in the xpath to trim off that trailing id, and now I don't know how to make the webdriver click on the first or second elements using this path. Is there a better way to handle this kind of scenario??</p>
  
  <pre><code>driver.findElement(By.xpath("//button[contains (@id, 'tab-form-element')]")).click();
  </code></pre>
  
  <p>The error returned is as below - I'm thinking the webdriver is not able to identify which element to click 1 or 2.. right?</p>
  
  <blockquote>
    <p>unknown error: Element is not clickable at point (352, 525). Other element would receive the click:</p>
  </blockquote>
  
  <p>============================</p>
  
  <p>Sorry for the delay, here is a snippet of the html for one of the button I need to click inside an iframe. Like this one- there can be at times 2 buttons or 4 buttons - I need to identify and click on each button. </p>
  
  <p>Hope I'm making this clear, I'm new to automation and trying hard to standup with you guys. :)</p>
  
  <p>
      
      
        
          Sign
          
            
            
          
        </p>
  
  <pre><code>&lt;/div&gt;
  &lt;span class="screen-reader-text"&gt;Required - &lt;span class="label-text"&gt;Sign Here&lt;/span&gt;&lt;/span&gt;
  </code></pre>
  
  <p></p>