Typescript Push Element In Array Javascript Methods In Selenium