How can I get these values one by one

I want it this way

use select list item list with index 1,2,3

i tried but it didn’t work
I’m trying to show the incoming data one by one on the label.

i believe that your evaluate script will not work… you should use index method to run the test one by one


i tried this way

i believe that your evaluate script will not work… you should use index method to run the test one by one

it will not work

do you have an example

i will try
I wrote this code
how can i get the data one by one like this

(function() {
var txt = document.getElementsByClassName("_ac2a")[0].innerText;
console.log(txt);
var txtt = document.getElementsByClassName("_ac2a")[1].innerText;
console.log(txtt);
var txttt = document.getElementsByClassName("_ac2a")[2].innerText;
console.log(txttt);
var url = document.getElementsByClassName("_aadp")[0].src;
console.log(url);
})();