且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 python 中使用带有 selenium webdriver 的默认 firefox 配置文件

更新时间:2022-03-12 22:41:59

好的,我只是通过将文件路径中的所有斜杠从\"更改为/"来解决这个问题.从来不知道这会有所作为.

Ok, I just solved this by simply changing all the slashes in my file path from "\" to "/". Never knew this would make a difference.

C:/Users/admin/AppData/Roaming/Mozilla/Firefox/Profiles/c1r3g2wi.default