I couldn't choose (click) the element that in the title and the pic:
The element is one row in a table.
Here is the element :
<span _ngcontent-c37="" class="telno"> +529999111118 </span>
I tried that:
number_element = driver.find_element_by_xpath("//button[contains(.,'+529999111118')]")
driver.execute_script("arguments[0].click();", number_element)
That is the error I got:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[contains(.,'+549999111112')]"}
(Session info: chrome=74.0.3729.131)
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Linux 4.15.0-47-generic x86_64)