I'm trying to find this element inside a log-in page when a user inputs the wrong password
<div class="form-input-validation is-error" role="alert"></div>
I have tried
driver.find_element_by_css_selector(".form-input-validation.is-error")
but i get a 'no such element: Unable to locate element' error