Hi this would be very useful still, it’s time consuming trying to manage massive amounts of pageobjects, especially with the spy object / recorder as it assigns it’s default names to the elements, and you don’t know if that element already exists or not.
- first searches your object repository and tries to match by xpath / attributes / css
- if match is found
- display name should be name of object in repository
for example if element 1 exists it should show element1 instead of svg some crazy long xpath path as name
Please begging you to implement this, managing page objects with the crazy long names that the recorder puts as a default is kinda crazy.
So in closing basically match by selector, and if exists load it’s name as the default