gpt4 book ai didi

azure - 运行 Azure Pipeline 时 Chrome 版本不匹配

转载 作者:行者123 更新时间:2023-12-05 03:52:19 26 4
gpt4 key购买 nike

我已将 Selenium 项目作为 Maven 任务添加到 Azure 管道中。但是,在运行相同的管道时,我收到一条错误消息“Chrome 版本和 chromedriver 版本不匹配”。

我应该怎么做才能克服这个问题?如何知道windows实例中安装的chrome版本(每次使用不同的windows实例)

最佳答案

How does Microsoft choose the software and versions to put on the image?

More information about the versions of software included on the images can be found at Guidelines for what's installed.

在您的场景中,因为您需要特定的 chrome 版本。最好且推荐的方法是使用自托管代理

您可以使用包含您所需的确切软件版本的自托管代理。欲了解更多信息,请参阅Self-hosted agents 。这样,您甚至可以在虚拟机上克隆一个环境,就像您的本地开发一样,这将有助于缩小由环境引起的构建问题。

关于azure - 运行 Azure Pipeline 时 Chrome 版本不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62278016/

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