Hi
This should be an easy to answer, but I’m stuck. It’s about passing variables back and forth between an executeScript.
I have an array that I keep adding columns to from different webpages …e.g ${BT}
I wasn’t able to add to the array directly in the executeScript e.g. ${BT}[x][2] = xxx;
I had to create a new array let BT2 = ${BT};
then this works BT2[x][2] = xxx; return BT2
but I’m doing a ton more calculations and have more variables than BT to return from the single executeScript.
Is there some way to create a new column in ${BT} without creating another array in the executeScript and needing to use the return?
How do I pass multiple variables back from the executeScript?
Or do I need to do multiple executeScripts each with only one variable or array returned?
Thank you