Remove First Object From Array Javascript Methods In Selenium