Using one TestCafe selector to specify multiple elements
Do you ever have a test where you need to do something with an element on a page, but that element changes slightly in different situations? For example:– the element has … Read more
Do you ever have a test where you need to do something with an element on a page, but that element changes slightly in different situations? For example:– the element has … Read more
When writing tests, it’s useful to write them flexibly so that you can run tests against one or many websites. Here’s a TestCafe example that works well with multiple sites.