WebDriver Collections Tutorial

Reading Time

WebDriver Collections are essentially a number of web page elements captured in an array. WebDriver provides us with the ability to capture multiple elements in one array object. The objects gathered in the array usually contain something which is common amongst them all, for instance tag or class name.

WebDriver Collections Video Tutorial

webdriver collections

Direct Video Link

When capturing multiple elements as part of a collection we can loop through each element and act on it. There are multiple occasions where it makes sense to capture multiple elements as part of your tests. An example of this may be to get all the text entry fields on a form and fill in all fields in one go.

Mo

I am a passionate tester, father, husband and gamer. I love to write blogs about Software Testing and generally contribute back to the Software Testing world.

More Posts - Twitter - Facebook

Published by

Mo

I am a passionate tester, father, husband and gamer. I love to write blogs about Software Testing and generally contribute back to the Software Testing world.