Get Max Value From Array Of Objects Javascript Methods In Selenium