Python Selenium Webdriver `Failed to start browser: Permission Denied`
<p>I want to run a firefox webdriver with selenium so that I can spare a login with requests in a web crawler. I got the idea from this stackoverflow solution <a href="https://stackoverflow.com/questions/20039643/how-to-scrape-a-website-that-requires-login-first-with-python">link</a>, since the login with requests does not work for several reasons. I always get an error that the browser can't be started because the permission was denied. Here is my code:</p>

<pre><code>from selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary

binary=FirefoxBinary("/path/to/firefox")
fp=webdriver.FirefoxProfile("path/to/extra/profile")


url="www.python.org"
driver = webdriver.Firefox(fp,  firefox_binary=binary, executable_path="path/to/geckodriver.exe")
driver.get(url)
</code></pre>

<p>The error is the following: </p>

<pre><code>selenium.common.exceptions.WebDriverException: Message: Failed to start browser:
permission denied
</code></pre>

<p>Can anyone please help? I have been searching for years on the internet but can't find anything... Thanks!!!</p>