title: Python script in selenium
body: <p>I am new to both selenium and python.</p>
  
  <p>I have exported the script from selenium IDE and when i am trying to execute the script in python i am receiving error as below,</p>
  
  <pre><code>EException AttributeError: "'Service' object has no attribute 'log_file'" in &lt;bo
  und method Service.__del__ of &lt;selenium.webdriver.firefox.service.Service object
   at 0x0000000002AA4550&gt;&gt; ignored
  ======================================================================
  ERROR: test_sharepoint_python (__main__.SharepointPython)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "D:\scripts\sharepoint python1.py", line 12, in setUp
      self.driver = webdriver.Firefox()
    File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py",
  line 139, in __init__
      self.service = Service(executable_path, log_path=log_path)
    File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\service.py", li
  ne 45, in __init__
      log_file = open(log_path, "a+")
  IOError: [Errno 13] Permission denied: 'geckodriver.log'
  ----------------------------------------------------------------------
  Ran 1 test in 0.030s
  FAILED (errors=1)
  </code></pre>
  
  <p>Please guide me how can i fix this. Have seen other post mentioning update the path of geckodriver. If that fixes the issue let me know where cani find the geckodriver. But i cant view anywhere geckodriver.log Tried downloading and installing geckodriver but exe is not executing</p>