Update Array Of Objects Javascript Using Selenium