Answer the question
In order to leave comments, you need to log in
How to find this element through selenium?
<input id="j_idt17:email" name="j_idt17:email" class="fcb-op-form-input" maxlength="255" tabindex="1" placeholder="E-Mail" type="email">
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".fcb-op-form-input"}
(Session info: chrome=95.0.4638.69)
loginInput = driver.find_element_by_css_selector(".fcb-op-form-input")
Answer the question
In order to leave comments, you need to log in
element = driver.find_element(By.CLASS_NAME, "fcb-op-form-input")
element = driver.find_element_by_class_name("fcb-op-form-input")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question