Is there a way to extract the confirmation number 135224 from the example below for use on another website?
store text | xpath=//b[contains(., 'Authorization Request - Confirmation Number : 135224')] | string
Unfortunately, I'm encountering an error message:
Error: missing ) after argument list
Below is the Selenium command I have attempted to solve this issue :
run script | javascript(myString(); function myString() {var auth = 'Authorization Request - Confirmation Number: ()' var confNum = auth.slice(47,52))} | auth Num