[Python] Selenium - Can't find an element

Discussão em 'Python' iniciado por Stack, Março 16, 2025.

  1. Stack

    Stack Membro Participativo

    I am stuck in trying to find an element that opens a calendar (to pick up a date). The element that I must find to open a calendar also changes its class after clicking on it.

    Basically I want to find and click the field where it's written "Depart on", on that website: https://www.frs.es/en/

    Can someone help me?

    I already tried:

    driver.find_element(By.CLASS_NAME, "form__input form__input--date form-control input")


    OR

    driver.find_elements(By.CLASS_NAME, "form__input form__input--date form-control input")


    But neither worked

    I tried also by using WebDriverWait but it did not help

    Continue reading...

Compartilhe esta Página