(MAC)selenium python运行时报错ImportError: Start directory is not importable: '/Users/may/Documents/automatortest/frame_mp\\src\\test_case'

路径问题:(windows)

test_case_path = project_path+"\\src\\test_case

修改为以下路径 (mac)

test_case_path = project_path+"/src/test_case"

再次运行则正常!

posted @ 2021-09-07 11:47  yimu-yimu  阅读(178)  评论(0编辑  收藏  举报