Python Access Index Of String Javascript Methods In Selenium