here is the website link :
https://www.milanuncios.com/anuncios/?fromSearch=1&fromSuggester=0&suggestionUsed=0
click on button called Llamar to see the the div
I've been trying to get the text of div.
To do this, I have to find this div element.
this is how the div element looks like in the browser :
#Html Code
<div class="telefonos">699771517</div>
I tried this two lines of python code:
#Python Code
TeleFonos = driver.find_element_by_class_name("telefonos")
print(TeleFonos.text)
but im always getting this error
#Error
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".telefonos"}
Do you know what I am doing wrong?