vendredi 23 juillet 2021

Selenium cannot find div inputfield element

<div class="writtingArea _editor" contenteditable="true" placeholder="보낼 메시지를 입력하세요."></div>

it is element that i needed to find and send chat but if i try to find this with this line of code,

driver.find_element_by_class_name("writtingArea _editor").click()

it gives me error that says it couldn't locate element. So i tried to locate it by Xpath. but it didn't work either.

How can i fix this??




Aucun commentaire:

Enregistrer un commentaire