Tell me how can we find the value of different attributes like name, class, value of an element?

Submitted by: Muhammad
getAttribute("{attributeName}") //method is used find the value of different attributes of an element
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers