title: Element not visible sometimes with Robot Framework
body: <p>I am working with Robot FW for the first time and am facing an issue - one of the test cases requires a modal confirmation dialog to open, after which a button "Delete" is pressed. The keyword for the test case is given below:</p>
  
  <pre><code>Delete Test Data
      [Arguments]    ${name}  
      Wait Until Element Is Visible    xpath=//tr[@item_name='${name}']  
      Click Button    xpath=//tr[@item_name='${name}']//button[@class='btn btn-sm btn-danger']
      Wait Until Element Is Visible    id=deleteItem    timeout=10
      Click Button    Delete    
      Wait Until Element Is Not Visible    xpath=//tr[@item_name='${name}']
  </code></pre>
  
  <p>The line <code>Wait Until Element Is Visible    id=deleteItem    timeout=10</code> is causing all the problems. Sometimes the element is visible within the time limit, at other times it is not. I increased the timeout to 10 seconds, but it does not fix the problem. How can I make the dialog appear each time without failing? Any help is appreciated, thanks!</p>