Closed IZaiarnyi closed 8 years ago
xpath selector like "//label"
(starts with //
) searches elements from the root of your HTML. But if you will use .//
prefix it will search inside your current context element. All in all it's better to use css selectors.
Thanks a lot
htmlelements-java 1.17
Selectors return items which have been found by the absolute path, instead of a relative path from the class
The page contains a lot of same elements that were described in this class
I include them in page
and initialize them in parent class
printSceneDescription() prints the same name(first element's name) 'sceneDescriptions.size()' times, so the count of element is correct but internal elements are initialized by data from the first found element.
*The selectItemRadio is found by absolute path and it isn't situated in our block //[@class='row dialog-item']"**
The part of Html page was attached partOfDom.txt