i am having a lot of trouble with this rule.
my js content located in Custom/JS
function LopenBrowser(LbasedURL) {
alert(LbasedURL);
}
here is what i tried:
EXEC_SCRIPT 'LopenBrowser(LbasedURL)'
error Exception running script ReferenceError: LbasedURL is not defined
EXEC_SCRIPT 'LopenBrowser(/LbasedURL/)'
function run OK with the parameter value= /LbasedURL/
EXEC_SCRIPT 'LopenBrowser(/val/val/file.pdf)'
error Exception running script SyntaxError: invalid regular expression flag v
how can i pass this parameter "/val/val/file.pdf"