Category "automated-tests"

How to create xpath locator when element does not have any attributes

How can I access the element using xpath selector if that particular element does not have any attributes? <?xml version="1.0" encoding="UTF-8"?> <chal

cy.url() and/or cy.location('href') does not return a string

I have an editor page. When I add any content and click the "Save" button my URL will change, adding a random id in the URL. I want to check if my ID's are chan

CucumberException: Failed to instantiate class stepDefinitions When run tests

Please help. I think that there is a mistake when initializing the page public class AuthStepDefinitions { private final AuthPage authPage = new AuthPage();