fixing UnicodeEncodeError on get attribute of webelement