When trying to find a locator for an element, go through the following steps:
1. if the element has id attribute with static value, locate the element by id
2. if the element has name attribute with static value, locate the element by name
3. if the element has other attributes with static values, try creating an xpath locator that identifies the element uniquely
4. if the element cannot be identified uniquely, find a parent of the element and then locate the element from the parent