title: Using IE selenium driver with python
body: <p>im trying to define IE web driver to work with python and i have some errors that i cant undetrstand.
  maby i have to change some security setting at internet explorer ?
  i have interent explorer version 11
  thank you .</p>
  <pre><code>from selenium import webdriver
  
  driver = webdriver.Ie(executable_path=r&quot;C:\Users\cohe\PycharmProjects\Testing\IEDriverServer.exe&quot;)
  
  i got some errors:
  
  Traceback (most recent call last):
    File &quot;C:/Users/cohe/PycharmProjects/Testing/Shrepoint.py&quot;, line 3, in &lt;module&gt;
      driver = webdriver.Ie(executable_path=r&quot;C:\Users\cohe\PycharmProjects\Testing\IEDriverServer.exe&quot;)
    File &quot;C:\Users\cohe\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\ie\webdriver.py&quot;, line 54, in __init__
      warnings.warn('executable_path has been deprecated, please pass in a Service object',
  NameError: name 'warnings' is not defined
  
  </code></pre>
  <p><strong>Note</strong>: I'm using selenium 4.0.0a1</p>