Typescript Array Contains String Javascript Methods In Selenium