Add New Attribute To Array Of Objects Javascript Methods In Selenium