Selenideを使用した要素検索で何が間違っているかを理解するのに役立つことがありますか。SelenideがWeb要素を見つけられません
私は、このようなHTMLコードを持っている:
<div>
Current method:
<strong>
SMS
</strong>
</div>
セレン要素が
findElement(By.xpath("//div[contains(. , \"Current method\")]/strong"))
このXPathを投げる見つけたが、セレンは、あなたができる
$(By.xpath("//div[contains(. , \"Current method\")]/strong"))