ChrisPro
10 years agoContributor
css class
In HTML page, I have the following code : tr class="ClassName" align="center" With Xpath, I succed to access to this element, but I would like to have proprieties of class "ClassName". An idea?
Hello,
You can use attr() function to retrive the value of the attribute. You can use it by just passing attribute name in the function and you will get a value as a result. Following is the example of attr() function.
E.x.
attr(class)