Extract Relative

Does Kantu have something like iMacros Extract by relative position? I’m trying to extract something the next row over. For example look for “Email:” then extract what is after it.

<label>Email:</label>
<p>something@gmail.com</p>

or

<label>ID:</label>
<p> ########## </p>

Thank you for any help!


Solved.

  {
  "Command": "storeText",
  "Target": "//label[text()='Email:']/following::p",
  "Value": "email"
  }
 {
  "Command": "storeText",
  "Target": "//label[text()='Email:']/following::p",
  "Value": "email"
  }

I reply so I can mark it as solved, thanks for this interesting question and the solution! :smiley: