Can we use a single selector for same website which exists in 30+ languages

Is there a way to automate same website present in multiple languages. Can we make use of class attributes in doing so.


can’t do that, the first requirement to an automation be reliable is to be standarize, a selector that will change so many times will be not realiable so we cant do that


yes, as long as the id/class attribute is the same you can automate it. just make sure the selector doesnt include language specific attributes e.g. title
you can see the example below as long as i only use attributes such as tag/class name it works regardless of the language