[Fixed]-Selenium webdrivers not responding properly to method calls in Django

1👍

You can get up-to-date version of chromdriver from here or use following code:

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_experimental_option("excludeSwitches", ["ignore-certificate-errors"])
browser = webdriver.Chrome(chrome_options=options)
browser.get("http://localhost:8000")

assert 'Django' in browser.title

Leave a comment