kybu / headless-selenium-for-win

Running Selenium driven browsers headlessly on Windows.
GNU General Public License v3.0
115 stars 20 forks source link

Issues on 64 bit windows geckodriver #17

Open Jdogawoomanta opened 7 years ago

Jdogawoomanta commented 7 years ago

Chromedriver works fine. I am using Anaconda Python 3, but when I use geckodriver it doesn't recognise the path. A workaround was..

import os os.environ["HEADLESS_DRIVER"] = "geckodriver.exe" from selenium import webdriver driver = webdriver.Firefox(executable_path=r'C:\Users\Dan\Anaconda3\headless_ie_selenium.exe') driver.close()

However, it doesn't act as it should. My only assumption is that as I am using 64 bit windows it is not working correctly. As you can see https://ibb.co/iy44Rv it is not closing. It seems to launch and then that's it. It also uses about 20% of cpu and i have an i7 4790k and default firefox uses less. Thanks.

kybu commented 7 years ago

What is the full path to your geckodriver.exe?

I don't think it is going to be a problem with 64bit Windows. Is your firefox 64bit or 32bit?