在 azure devops 中运行 selenium 测试用例时出现错误

问题描述

问题 1:

The driver executable does not exist: java.lang.IllegalStateException:The driver executable does not exists : c:\Tools\Cucumber Application\cucumberForAppian-21.1\lib\drivers\chromedriver.exe
D:\a\1\s\src\test\resources\Drivers\chromedriver.exe

解决方法

根据显示的错误,chromedriver.exe 文件夹中没有 c:\Tools\Cucumber Application\cucumberForAppian-21.1\lib\drivers\