Eliminate unnecessary locators generated by Recorder/Spy

Project > settings > Test Design > Web Locator shows the following dialog

Please find all of locators are checked ON as default. This is the reason why so many unnecessary locators are generated by Recorder/Spy. Often I have to delete unnecessary locators. This exercise is boring, tiring, silly … gives bad impression.

I would rather have id, name, text left ON, while others (alt, checked, form, href, placeholder, selected, title, linked_text) turned OFF. This would help reducing amount of work involved in deleting stuff generated by Recorder/Spy.

Please review the default choice of “Detect object by?”

so_many_unnecessary_locators.png

3 Likes

That’s what I need :slight_smile: