Forum Discussion

mfremont-smith's avatar
mfremont-smith
Occasional Contributor
3 years ago

WaitElement and search from current element

The WaitElement Documentation states: "To search through the entire page starting from the page’s root element, put a double slash (//) at the beginning of the XPath expression. To start the search f...
  • AlexKaras's avatar
    3 years ago

    Hi,

     

    I guess that XPath should be like this:

    ".//a//i[contains(@class,'fa-search')]"

    note double slash after dot.

     

    Does it help ?