Javascript Array Push Object Javascript Methods In Selenium