splitting the outerHTML attribute in python splitting the outerHTML attribute in python selenium selenium