Typescript Create New Array Javascript Methods In Selenium