RPA 7.0.11 on Chrome array object return and if statements fail to parse stored variables

I have two issues:

  1. When returning a javascript array in executeScript_Sandbox, a javascript object is returned which is unusable. executeScript works properly.

  2. When running an if statement:
    storeText abc str
    if ${str}.startsWith(“a”)
    returns false.

executeScript return ${str}.startsWith(“a”);
returns true.

Both of these used to work perfectly before the update, and atleast issue 1 works fine on firefox.

Issue 1: Array support in V7

Issue 2: See How to replace includes with indexOf and How to replace startswith with indexOf

Some background info here: Error in condition of if_v2: undefined is not a function - #2 by admin