Код: Выделить всё
driver = webdriver.Chrome()
driver.get("https://commercialisti.it/iscritti")
driver.implicitly_wait(10)
casella_testo = driver.find_element("id", "Cap")
Код: Выделить всё
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="Cap"]"}
(Session info: chrome=122.0.6261.131); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
Код: Выделить всё
Подробнее здесь: https://stackoverflow.com/questions/783 ... -text-cell