title: Selenium not connecting to Safari Web Driver
body: <p>First let me say, I have seen this question posted many times before and I have read the majority of the solutions but I am still having issues.</p>
  <p>I am using a MacBook (10.15.6) and Safari (13.1.2). I am using PyCharm 2020.1.4 and have a program written for python 3.8 using selenium 3.14.1, which connects to Youtube (any website really- I have tried Google as well) and sends a search term. The issue that I keep having is that Selenium cannot connect to the web driver.</p>
  <p>I have followed the steps from previous posts to allow Remote Automation from the developer tab, as well as manually executing safari driver (safaridriver --enable) from the terminal screen.</p>
  <p>I have tried similar sample connection code for Chrome as well, and get similar errors.</p>
  <p>Here is the code that I am running:</p>
  <pre><code>from selenium import webdriver
  
  driver = webdriver.Safari()
  driver.get('https://youtube.com')
  searchbox = driver.find_element_by_xpath('//*[@id=&quot;search&quot;]')
  searchbox.send_keys('Paint Drying')   
  </code></pre>
  <p>Here is the Tracebacklog::</p>
  <pre><code>/Users/Fudgey/PycharmProjects/Web_Scrape/venv/bin/python /Users/Fudgey/PycharmProjects/Web_Scrape/web_auto_seln_v0.py
  Traceback (most recent call last):
    File &quot;/Users/Fudgey/PycharmProjects/Web_Scrape/web_auto_seln_v0.py&quot;, line 3, in &lt;module&gt;
      driver = webdriver.Safari()
    File &quot;/Users/Fudgey/PycharmProjects/Web_Scrape/venv/lib/python3.8/site-packages/selenium/webdriver/safari/webdriver.py&quot;, line 56, in __init__
      self.service.start()
    File &quot;/Users/Fudgey/PycharmProjects/Web_Scrape/venv/lib/python3.8/site-packages/selenium/webdriver/common/service.py&quot;, line 104, in start
      raise WebDriverException(&quot;Can not connect to the Service %s&quot; % self.path)
  selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service /usr/bin/safaridriver
  </code></pre>