【发布时间】:2020-08-29 23:50:09
【问题描述】:
所以我设置了一些网络测试,它在本地运行良好,但是在我将它部署到 devops Buddy 的管道上后,我在运行测试时遇到以下错误:
Java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
我想我需要为服务器添加一些变量来查找/拥有 chromedriver 还是我需要做的其他事情/地址?
【问题讨论】:
-
不,它不能回答我的问题。这都是本地问题。我的目的是让它在部署时在远程服务器上运行。 @DebanjanB
-
这应该是主要问题的一部分。
标签: selenium webdriver automated-tests selenium-chromedriver continuous-deployment