title: Python - pywinauto - warnings
body: <p><strong>Situation</strong></p>
  
  <p>With the below code I'm getting some sort of weird <strong>Warning</strong> during run time, however, the script runs perfectly fine.</p>
  
  <p>The warning prints after this line:</p>
  
  <pre><code>app.ChoosePage.Ok.Click()
  </code></pre>
  
  <p>This is the warning:</p>
  
  <pre><code>WARNING! Cannot retrieve text length for handle = &lt;pywinauto.controls.win32_controls.DialogWrapper object at 0x0568C6D0&gt;
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <p>Is there a way to prevent this <strong>Warning</strong> from printing?</p>
  
  <p><strong>Attempts</strong></p>
  
  <p>I've tried using the below to no avail:</p>
  
  <pre><code>pywinauto.actionlogger.disable()
  ## OR
  pywinauto.actionlogger.set_level(30)
  </code></pre>