How to locate this element?
<div _ngcontent-ysj-c5>
<div _ngcontent-ysj-c5 class="list-items unselected"> == $0
<!---->
" Installation "
</div>
</div>
i have tried
driver.find_elements_by_xpath("//[contains(text(),' Installation ')]").
&
driver.find_element_by_xpath("//*[text()=' Installation ']").click();
but it doesn't work.
Aucun commentaire:
Enregistrer un commentaire