Return First Element Of Array Javascript Methods In Selenium