Skip to content Skip to sidebar Skip to footer

Click A Partial Div Link Using Python Selenium

I want to scrape some information on this website: https://www.caixabank.es/particular/prestamos-personales/prestamos.html I coded to get to the simulation page, but a link crashes

Solution 1:

I think you probably just need parentheses around your xpath instead of brackets:

webdriver.find_element_by_xpath("//a[contains(., 'Aceptar y continuar')]")

Does that one work?

Post a Comment for "Click A Partial Div Link Using Python Selenium"