Validate visibility of elements inside a row table - Chained locators #187
Labels
awaiting feedback
documentation
This topic needs more documentation
question
@serenity-js/protractor
Adapter and interactions for Angular Protractor
Hi everyone,
I have the following due regarding how to find an element starting from another element and then make assertions in those elements. For example something like this in protractor:
element(by.css('some-css')).all(by.tagName('tag-within-css'));
or
element(by.css('some-css')).element(by.tagName('tag-within-css'));
So I have a table. Let say the table container is div.table-container, the rows are identified by the class: div.row-identifier.
Inside each row I have several elements that I want to know if they are displayed. So I have to get all the row elements, and then search inside that element the others elements.
My seudo looks like:
Thanks in advanced.
The text was updated successfully, but these errors were encountered: