Bash Convert Variable To Array Javascript Methods In Selenium