I want to create a script that would select the correct option automatically
Here is what I have so far
var labels = document.getElementsByTagName('li'); //get the li
for (var i = 0; i < labels.length; ++i) { //loop through the li
    if (labels[i].textContent == "misafir getirebilir") { //check li text
        labels[i].click(); //if correct text, click the li
    }
}
console.log ("answerTxt: ", labels);
 
     
     
     
    