Forum Discussion

olosunsira12's avatar
Occasional Contributor
4 years ago

Checking if items are within selected range

Hello there!

Any ideas on how to check if the first three items on the webpage (after applying price filter) are within the selected range (ex: $200 - $300) ?

What property to use?


Image attached






1 Reply

  • tphillips's avatar
    Frequent Contributor

    You will likely need to do a bit of scripting to extract both parts of the range (the numbers either side of the dash character) and parse them as integers. You would then need to parse the prices as numbers and compare them.

    Unfortunately there's not a simple checkpoint you can use.