I havn't got any experience with java at all so im a bit lost. With selenium i've downloaded the html of a page and it is stored in a string. Now i'd like to grab all the data between and put this in array. so in jquery style i'd say it would be something this:
$('div[align="center"]').each(function(){
array[] = $(this).text();
});
The difference is now i have to get it out of a string and do it in java. since i havn't got experience with java im looking for the easiest method.
Thanks for your help!