Question about partiallinktext

there is random data with link

  • 814K views
  • 123K views
  • 486K views

i cant use partiallinktext: ***K views

how to choose link based on 3 digit random data from 100-999K views?

The partiallinkText command automatically matches partial text, thus no asterix * required.
So in your example partiallinkText=K views will click the first link.

If you want to click the second link in the list add @pos=2. Example:

partiallinkText=K views@pos=2

Demo:

{
  "Name": "partiallinkText Test",
  "CreationDate": "2022-5-13",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://ui.vision/rpa/docs/selenium-ide/locators",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "click // linkText=CSS selectors",
      "Value": "",
      "Description": "This is the recorded command"
    },
    {
      "Command": "click",
      "Target": "partiallinkText=ctors",
      "Value": "",
      "Description": "Automatic matching of partial text, NO * required"
    }
  ]
}

thank you… i just know this function @pos=2

another question… how to convert this to ui vision
URL GOTO=javascript:window.scrollBy(0,500)

i’m using imacros before…