Gets the element selenium using text UnicodeEncodeError reported error

Use of elemental selenium using a text report UnicodeEncodeError get an error:

UnicodeEncodeError: 'gbk' codec can't encode character '\xb2' in position 7: illegal multibyte sequence

 

Solution: Modify pycharm encoding format

Guess you like

Origin blog.csdn.net/legend818/article/details/93191390