Get Object From Array Javascript Methods In Selenium