报错 AttributeError: 'NoneType' object has no attribute 'get'

来源:3-9 打开地址的二次开发

慕前端3486152

2019-11-05

运行打开慕课网的代码后报错:
File line 16,driver1.get(‘http://www.imooc.com’) AttributeError: ‘NoneType’ object has no attribute ‘get’

写回答

1回答

Mushishi

2019-11-05

说明你的driver没有实例化

1
1
慕前端3486152
非常感谢!
2019-11-12
共1条回复

助力Python功能测试人员进阶Web自动化测试

轻松转型,快速胜任自动化测试工程师岗位

916 学习 · 607 问题

查看课程