We can search for specific field on website in a few ways: based on css, name, id, structure, even any text found. Which way have you decided to use?
What would be best practice for it?
Edit: I'm asking from developer perspective: How to write code that it will be easier to test with Selenium by one method (that is: being able to search all of them by it's name)