Dropdown menu, name istead of line?

Hi support,

I am using the personal edition of Kantu.

I’m trying to build in a rule in Kantu so that he understands which subscription he should select in the dropdown menu below.
Is it possible for Kantu to search for a name instead of a line?

What I have now set is the following line:

Command: Click
Target: xpath=//*[@id=“UpgradeProductId_listbox”]/li[3]


{
“Command”: “click”,
“Target”: “xpath=//[@id=“UpgradeProductId_listbox”]/li[4]",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“UpgradeProductId_listbox”]/li[4]”,
“xpath=//div[2]/ul/li[4]”,
“css=#UpgradeProductId_listbox > li.k-item.k-state-hover”
],
“Description”: “”
}


The 3 stands for line 4. I want him to take the name here instead of the line, so “Mobile 5 GB, Unlimited min/SMM (Id: 082H00037B)”?
Is this possible?

The dropdown menu is as below + a few extra lines:
Mobile 1 GB, Unlimited min/SMM (Id: 082H00018B)
Mobile 2 GB, Unlimited min/SMM (Id: 082H00020B)
Mobile 5 GB, Unlimited min/SMM (Id: 082H00037B)
Mobile 10 GB, Unlimited min/SMM (Id: 082H00039B)

Hope to hear from you.

Regards,
Rob

Usually the select | id= | label= command can be used. You can even use *...* to search only for a subtext. Example:

{
  "Name": "select_by_text",
  "CreationDate": "2022-1-3",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://ui.vision/contact",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "select // id=WhatSoftware",
      "Value": "label=OCR.space Free Plan",
      "Description": ""
    },
    {
      "Command": "select",
      "Target": "id=WhatSoftware",
      "Value": "label=*Free*",
      "Description": ""
    }
  ]
}