Implement static Classes and IDs on your HTML elements

Many dynamic websites use auto-generated or no/only a few classes and IDs on their HTML elements. This makes it hard to target elements to do your changes. 

 

Auto-generated Classes are usually changed on new deploys which might break your code (variation changes).

The easiest way to prevent this is to add static Classes/IDs (that aren't changed because of a new deploy) to the elements you wish to do changes on.

Was this article helpful?
0 out of 0 found this helpful