'python selenium : impossible to find element (input in a table)

I ve tried many ways to find the element, but the retrieved element gives me an empty list. This is the page : https://www.avocatparis.org/annuaire I try to locate the "nom" input form. When i copy the xpath i get

//*[@id="_ctl0_Corps_txtRSNom"]

and when i copy the full xpath i get

/html/body/form/table/tbody/tr/td[2]/table/tbody/tr[2]/td/table/tbody/tr/td/div/div/div[2]/table/tbody/tr[1]/td[2]/input

When i put that into my code :

input = self.driver.find_elements(by=By.XPATH,value='//*[@id="_ctl0_Corps_txtRSNom"]')

I get an empty list.

Am i missing something?

Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source