Get Highest Value From Array Of Objects Javascript Methods In Selenium