Python Regex Get Number From String Javascript Methods In Selenium