这可能是一个简单的问题,但我找不到任何相关的信息.
我曾经以这种方式运行selenium 2.x. 我启动服务器:
java -jar selenium-server-standalone-2.53.1.jar -Dwebdriver.chrome.driver=chromedriver -browserSideLog -debug -timeout 60
Run Code Online (Sandbox Code Playgroud)
然后我运行我的测试.我使用Dart所以我这样做
pub run test test/selenium/custom_component_test.dart
Run Code Online (Sandbox Code Playgroud)
但现在我正在尝试使用selenium 3.我已经下载了它并用新jar代替旧的终端电话,但似乎我能做到.Selenium告诉我它不知道这样的参数"-Dwebdriver.chrome.driver".在帮助中我无法看到参数来指定参数.
那么,如何用镀铬驱动器运行硒3?