Combine All Strings In Array Javascript Methods In Selenium