Add Data To Empty Array Javascript Methods In Selenium