在django项目中使用selenium报错:TypeError: environment can only cantain string

追踪源码:第一步

 第二步:

 第三步:

第四步:

 解决方法有很多种:核心思想就是去掉环境中的非string类型

原文地址:https://www.cnblogs.com/changdasheng/p/11496517.html