How to choose id NOT by unique ID in kantu?


#1

I need to register 100 students profiles. Eacht time i login i need to give them same school email.

The email’s ID always changes so if i try to automate it, Kantu needs new ID. But the element stays the same
Screenshot below:

So I dont know how to tell kantu to get this element - byText or byTag?

when recording, kantu uses ID when clicking on the field to insert email.
but the ID is unique and changes.


#2

Is the ID totally unique each time you load the page? Or are only parts of the ID changing?

If only parts are changing, then the solution is here: How get Kantu to work with dynamic ID's

If everything changes, then use visual automation plus “elementFromPoint” to get the right locator.