selenium使用获取元素text报UnicodeEncodeError错误

使用selenium使用获取元素text报UnicodeEncodeError错误:

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

解决方式:修改pycharm的编码格式

猜你喜欢

转载自blog.csdn.net/legend818/article/details/93191390