Pulling out part of string(id or class) in Python Selenium