How to get number out of xpath

Your code is almost correct, but in the executeScript_Sandbox expression the return s; part is missing. That is why the number variable is undefined

See also: Getting the last element of a split string - #2 by admin

1 Like