Get Distinct Values Of Array Javascript Methods In Selenium