You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scenario to locate an element by its containing text.
For example,
page.find("#product",:text => "shampoo")
How can I define this element in Capypage?
The text was updated successfully, but these errors were encountered:
also if I have a part of my selector dynamic, how could I define element.
For example
page.find('#product[name="shampoo"]')
where the name attribute would change for every product, and I have to locate the product by its name.
I have a scenario to locate an element by its containing text.
For example,
page.find("#product",:text => "shampoo")
How can I define this element in Capypage?
The text was updated successfully, but these errors were encountered: