Forums

selenium Chromedriver

Hi! Could you please enable Selenium Chromedriver for my account? Thank you!

It is already enabled for all accounts.

but i have still got an error. why?

WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Is it possible that you are starting multiple Chrome drivers at once?

no i think it's not possible. I want to run a simple code. I add to below my source code.

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu")
browser = webdriver.Chrome(options=chrome_options)

try:
    browser.get("https://www.amazon.com")
    print("Hello")

except NoSuchElementException:
    print("ERROR")

finally:
    browser.quit()

What if you try other (not amazon) site?