[Seek Help] selenium爬虫浏览器打不开,chromedriver安装了
Tofloor
poster avatar
天空之城Top
deepin
2022-10-19 18:51
Author

截图_选择区域_20221019104956.png

Reply Favorite View the author
All Replies
xuqi
deepin testing team
2022-10-19 18:58
#1
  • 在driver=webdriver.Chrome()中加入chromedriver程序的路径试试~
Reply View the author
天空之城Top
deepin
2022-10-19 19:08
#2
xuqi
  • 在driver=webdriver.Chrome()中加入chromedriver程序的路径试试~

可以打开了,但是几秒就退出了

Reply View the author
deepin-chinaren
deepin
2022-10-19 19:08
#3

在20 .7下chromedriver是选那个版本?chromedriver选那个后缀名的?

Reply View the author
天空之城Top
deepin
2022-10-19 19:11
#4
天空之城Top

可以打开了,但是几秒就退出了

应该是运行结束自动关闭了

Reply View the author
油焖虾
deepin
2022-10-20 16:07
#5

在终端中用命令启动chrome或者Edge, 如果启动不了,将其安装路径加入deepin的环境变量中。

Reply View the author