In an ideal world, if you were trying to perform a click action on a login button, you would use something like a class of “.loginbutton” or an ID of #login. This class/ID would be unique and be the class of a login button on your site.
Unfortunately this isn’t always the case and you may find the class looking like this, changing with each refresh:
class=“login98344090”
In this case you need to look outside the class and include other information such the element itself and other attributes. Using the example above, the login button