sameone能帮助我使用VBA/Selenium:点击嘟嘟按钮吗
HTML:
<img name="toggleFiltro" src="https://curyempreendimentos.sienge.com.br/sienge/imagens/base/toggleDown.png" onmouseover="IH_toggleOver(this)" onmouseout="IH_toggleOut(this)" style="cursor: pointer;">
以下是我迄今为止尝试过的,但它没有显示信息:
ChromoLink.FindElementByXPath("//img[@src='https://curyempreendimentos.sienge.com.br/sienge/imagens/base/toggleDown.png']").Click
这个:
ChromoLink.FindElementByXPath("//*[@name=""divFiltro""]").Click
我得到了:
ChromoLink.FindElementByXPath("//*@id=""holderConteudo2""]/form/div[9]/span/img").Click