Could somebody help to understand what is wrong with element searching via Selenide.
I have such HTML code:
<div>
Current method:
<strong>
SMS
</strong>
</div>
The Selenium finds the element throw this xpath
findElement(By.xpath("//div[contains(. , \"Current method\")]/strong"))
but Selenide returns ElementNotFound exception with the same locator
$(By.xpath("//div[contains(. , \"Current method\")]/strong"))