I am trying to run selenium chrome headless mode in Windows7 enterprise edition. I have:
from selenium.webdriver.chrome.options import Options options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
options.add_argument('window-size = 1920,1080')
driver = webdriver.Chrome(executable_path="chromedriver.exe", options=options) I get:
chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed The same set of commands works perfectly on my mac book pro anyone knows why?
executable_path="chromedriver.exe"