this is an example how to have a default locator from the root, for example if you always locate on a unique test-id
this is an example how to have a default locator from the root, for example if you always locate on a unique test-id
On your project you would probably put this in a trait or object and import it into your page objects.
this is an example how to have a default locator, for example if you always locate on a test-id
this is an example how to have a default locator, for example if you always locate on a test-id
On your project you would probably put this in a trait or object and import it into your page objects.
This example is for projects where you have a standard way of locating items, e.g. test-id and want the syntax to be really simple so that people are encouraged to do it the standard way.