click here for imageCurrently using the latest version of selenium web driver. Is there a method to utilize a single webelement (as a list webelement) in order to access row data on a responsive web page?
For instance, consider the following CSS in the browser:
iPad resolution(1st div in html):
li > .csd-aabc-item > .terraVM-ResponsiveModel-container .terraVM-TableCard--truncated
iPhone resolution(2nd div in html) :
li > .csd-aabc-item > .terraVM-ResponsiveModel-container .terraVM-CompactCard
When utilizing @FindAll, it retrieves the list size for both locators. However, I only require it for one.