how to use class name to identify an element