Filter Object Array Javascript Methods In Selenium