I want to store the index value of the clicked label in a variable.
Because I have to decide manually which label to clicked and index range up to 1000.
so by storing the last clicked index it took me to the last position.
I find that in situations like this, it’s best to just get that via Javascript. Use the excecuteScript and store the result in a Kantu variable, if that’s what you’re trying to do. Something like the below:
executeScript|var a = document.getElementById(“dropdown”), return a.selectedIndex|index
Then you can just access this variable in Kantu with ${index}
1 Like
I want to store the index value of the clicked label in a variable.
Who clicks the label? You or Uivison?