Selenium Chromedriver not working in Python, Centos Cpanel Server
<p>I installed selenium and chrome driver. </p>

<p>I then created the below code to run it:</p>

<pre><code> from pyvirtualdisplay import Display
 from selenium import webdriver
 chromedriver = "/usr/bin/chromedriver"
 driver = webdriver.Chrome(chromedriver)
 driver.get(url)
 html = driver.page_source
 driver.quit()
 display.stop()
</code></pre>

<p>The code yields the following error: "'chromedriver.exe' executable needs to be in PATH. Please see <a href="https://sites.google.com/a/chromium.org/chromedriver/home" rel="nofollow">https://sites.google.com/a/chromium.org/chromedriver/home</a>" </p>

<p>The path is correct. I have tried some variations of the code but they all yield the same message. My webhost claims you cant install selenium on a centos server that has cpanel. Is this true or is there something wrong with my code?</p>