gpt4 book ai didi

python - 有没有办法在我使用 python-selenium 的同时在 heroku 上使用 chrome 驱动程序?

转载 作者:行者123 更新时间:2023-12-01 02:47:50 26 4
gpt4 key购买 nike

我正在尝试使用 Chrome 驱动程序在 Heroku 上使用 Selenium 进行 Web 测试。

但是我发现heroku不支持chrome驱动。我多次咨询过google如何在heroku上使用chrome驱动。

我添加了构建包,例如 https://github.com/jimmynguyc/heroku-buildpack-chromedriver.git , https://github.com/tstachl/heroku-buildpack-selenium等等,但我完全无法使用chrome驱动。

我想知道如何处理。

最佳答案

您已经安装 Chrome 了吗? Heroku CI 站点有 page这表明您需要构建包“https://github.com/heroku/heroku-buildpack-google-chrome

关于python - 有没有办法在我使用 python-selenium 的同时在 heroku 上使用 chrome 驱动程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45102243/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com