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.
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.